Get a latch machine

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

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 Shop ID
location_id Int Latch location ID
machine_id Int Latch machine ID

Example request 1

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

Response

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: 211

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