Get all the companies of the authenticated user

GET /company/companies

Request

Authentication

This endpoint requires authentication.

Header Value
Authorization Set the value to Bearer + + access_token

Example request 1 Retrieve companies

GET /company/companies HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer 8a6a793e09f340671467ed2d4ea72184574fac4851572532b612a68ad25ddfd6c2ddbe372fe4dd5cd05a41c408e6277d1cd0624f9933087343b88b91524587281ee5e155774f3c10ea71fc415a6e8ccb380ef9f4c5bc0d14886d65e372c4c3bed7e51324
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Response

Array of Company: [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

Example response 1 Retrieve companies

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 461

[
    {
        "id": 103,
        "name": {
            "nl": "Louis Comm.VA"
        },
        "active": true
    },
    {
        "id": 104,
        "name": {
            "nl": "Van Damme"
        },
        "active": true
    },
    {
        "id": 105,
        "name": {
            "nl": "Charlier"
        },
        "active": true
    },
    {
        "id": 106,
        "name": {
            "nl": "Moreau NV"
        },
        "active": true
    }
]
Version update available Please adjust your integration to the latest stable version (1.5.1)
1.5.0 stable