Get all the latch machines that belong to a shop.

GET /company/shops/@id/latches/locations/@location_id/machines

Request

Authentication

This endpoint requires authentication.

Header Value
Authorization Set the value to Bearer + + access_token

URL parameters

Replace the @ keywords in the URL with their corresponding value.

A dictionary with fields

Field Type Description
id Int Id of the shop
location_id Int Id of the latch locations that you want the machines of

Example request 1

GET /company/shops/18/latches/locations/12/machines HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.9.0
Accept-Language: en-US,en;q=0.5

Response

Array of company.LatchMachine: [company.LatchMachine]

company.LatchMachine

Field Type Description
identifier String Unique identifier for the specific latch machine
description String A String value
temperature_type String String enumarion of 'COOLED', 'NOTCOOLED'
reservation_type String String. Should be equal to 'HOURS_UPFRONT'
id Int An integer value
location_id Int An integer value
username String? Optional. Nullable. A String value
password String? Optional. Nullable. A String value

Example response 1

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

[
    {
        "identifier": "...",
        "description": "...",
        "temperature_type": "COOLED",
        "reservation_type": "HOURS_UPFRONT",
        "id": 17,
        "location_id": 18,
        "username": "...",
        "password": "..."
    },
    {
        "identifier": "...",
        "description": "...",
        "temperature_type": "COOLED",
        "reservation_type": "HOURS_UPFRONT",
        "id": 10,
        "location_id": 14,
        "username": "...",
        "password": "..."
    },
    {
        "identifier": "...",
        "description": "...",
        "temperature_type": "COOLED",
        "reservation_type": "HOURS_UPFRONT",
        "id": 19,
        "location_id": 14,
        "username": "...",
        "password": "..."
    }
]
1.9.0 stable