SHIFT
This method allows inserting shifts through a REST API.
POST /apigateway/se/rest/v1/training/shift
Request example:
Request body parameter | Type | Required | Description |
---|---|---|---|
idShift | String | No | ID # |
nmShift | String | Yes | Name |
tmStart | String | Yes | Start time Example: 12:20 |
tmFinish | String | Yes | End 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
}
]
}