Skip to main content
Version: 2.2.3

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:

{
"idTrainingMethod": "string",
"nmTrainingMethod": "string",
"tmStart": "12:00",
"tmFinish": "13:30"
}

Response example:

200 OK

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