Passa al contenuto principale

Elenco range di ore​

[baseUrl]/api/sync/v1/gc/hourrange

Descrizione​

API per l'elenco dei range di ore disponibili

Parametri richiesta​

Nessun parametro

Esempio richiesta​

sh
curl --location '[baseUrl]/api/sync/v1/gc/hourrange' \
--header 'AccessToken: {{token}}' \
--header 'Content-Type: application/json' \
--data '{
}'

Risposta​

JSON
{
"statusCode": 200,
"errorCode": null,
"message": null,
"result": {
"totalCount": 10,
"totalPages": 1,
"page": 1,
"count": 10,
"records": [
{
"ID": 1,
"Description": "00:00 - 06:00",
"Abbreviation": "NIGHT"
},
{
"ID": 2,
"Description": "06:00 - 12:00",
"Abbreviation": "MORNING"
},
{
"ID": 3,
"Description": "12:00 - 18:00",
"Abbreviation": "AFTERNOON"
},
{
"ID": 4,
"Description": "18:00 - 24:00",
"Abbreviation": "EVENING"
},
...
],
"record": null
},
"debug": null
}