Skip to main content
Version: Next

Shift

This method allows inserting shifts through a REST API.

POST /apigateway/se/rest/v1/training/shift

Request example:

Request body parameterTypeRequiredDescription
idShiftStringNoID #
nmShiftStringYesName
tmStartStringYesStart time
Example: 12:20
tmFinishStringYesEnd time
Example: 16:20

Request example:

{
"idShift": "string",
"nmShift": "string",
"tmStart": "12:00",
"tmFinish": "13:30"
}

Response example:

200 OK

{
"success": true,
"total": 1,
"results": [
{
"Result": true,
"Code": 1
}
]
}