API: Document Category

Document Category list

JWT Authorisation

GET /api/v3/document-category

Request parameter:

No Request parameter

Filtering parameters:

ParameterTypeINExampleDescription
moduleintegerQUERYfilters[module]=1Filtering by module id = value (1=Contact)


Response data:

Metadata: object.

ParameterTypeDescription
countintNumber of all results marching criteria 
statusintResponse status (same as in http code)

Data:  object.data[array]

ParameterTypeDescription
idintegerContact id
sortintegerOrdering column
namestringName in DE language
name_estringName in EN language
name_fstringName in FR language
name_istringName in IT language
modulearrayRelated module
module[id]integerContact id
module[name]stringModule name in DE language
module[name_e]stringModule name in EN language
module[name_f]stringModule name in FR language
module[name_i]stringModule name in IT language



Response (Error):

ParameterTypeDescription
codeintegerAn error code
errorstringA message containing some information about the error 
errorsarrayList of errors devided by field in associative array {field_name:error message}

API: _ Default behavior #Authentication defaults 

Request
curl -X GET https://public.brokerstar.biz/api/v3/document-category --header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE2NTg[...]cm5hbWUiOiJkZW1vLWRlIn0.VTVp[...]cqIg'


Response (Success)
200 OK  
{
    "count": "10",
    "data": [
        {
			"sort": 10,
            "name_e": "Mandate",
            "name_f": "Mandat",
            "name_i": "Mandato",
            "module": {
                "name_e": "Address book",
                "name_f": "Carnet d'adresses",
                "name_i": "Indirizzario",
                "id": 1,
                "name": "Contacts (Adressbuch)"
            },
            "id": 1,
            "name": "Mandat"
        }, 
		[...]
    ],
    "status": 200
}

Or one of