GET /company/companies
This endpoint requires authentication.
Header | Value |
---|---|
Authorization | Set the value to Bearer + + access_token |
GET /company/companies HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.0.0
Accept-Language: en-US,en;q=0.5
Array of Company: [Company]
Field | Type | Description |
---|---|---|
id | Int | Id of the company |
name | [Language: String] | Name of the company |
active | Bool | Whether this company is activated |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 474
[
{
"id": 13,
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": false
},
{
"id": 18,
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true
},
{
"id": 10,
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true
}
]