Displays

This page includes all endpoints available for the agenda displays of Logiciel Actif (GEM-CAR required).

List all agenda displays

GET https://app.gem-books.com/api/agenda_displays

This endpoint allows you to get the list of your displays. The displays are returned sorted by most recent number.

Headers

NameTypeDescription

Authentification*

string

Bearer Token

Accept

string

Should be application/json

{
    "data": [
        {
            "id": 3,
            "branch_id": 1,
            "name": "Mécanique",
            "bay_ids": "5,2,3,4,1,74",
            "default": 1
        },
        {
            "id": 2,
            "branch_id": 1,
            "name": "Comptoir",
            "bay_ids": "5",
            "default": 0
        },
        {
            "id": 1,
            "branch_id": 1,
            "name": "Courtoisie",
            "bay_ids": "2",
            "default": 0
        }
    ],
    "meta": {
        "current_page": 1,
        "last_page": 1,
        "per_page": 25,
        "total": 3
    },
    "success": true
}

List a specific agenda display

GET https://app.gem-books.com/api/agenda_displays/:id

This endpoint allows you to get one specific appointment.

Headers

NameTypeDescription

Authentification*

string

Bearer Token

Accept

string

Should be application/json

{
    "data": [
        {
            "id": 3,
            "branch_id": 1,
            "name": "Mécanique",
            "bay_ids": "5,2,3,4,1,74",
            "default": 1
        }
    ],
    "success": true
}

Create an agenda display

POST https://app.gem-books.com/api/agenda_displays

Headers

NameTypeDescription

Authentification

string

Bearer Token

Accept

string

Should be application/json

{
    "data": [
        {
            "id": 3,
            "branch_id": 1,
            "name": "Mécanique",
            "bay_ids": "5,2,3,4,1,74",
            "default": 1
        }
    ],
    "success": true
}

Body Example

{
    "branch_id": 1,
    "name": "Mécanique",
    "bay_ids": "5,2,3,4,1,74",
    "default": 1
}

Update a display

PUT https://app.gem-books.com/api/agenda_displays/:id

Headers

NameTypeDescription

Authentification

string

Bearer Token

Accept

string

Should be application/json

{
    "data": [
        {
            "id": 3,
            "branch_id": 1,
            "name": "Mécanique",
            "bay_ids": "5,2,3,4,1,74",
            "default": 1
        }
    ],
    "success": true
}

Body Example

{
    "branch_id": 1,
    "name": "Mécanique",
    "bay_ids": "5,2,3,4,1,74",
    "default": 1
}

Last updated