Shift
This method allows inserting shifts through a REST API.
POST /apigateway/se/rest/v1/spc/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:
{
"idShift": "string",
"nmShift": "string",
"tmStart": "12:00",
"tmFinish": "13:30"
}
Response example:
200 OK
{
"success": true,
"total": 1,
"results": [
{
"Result": true,
"Code": 1
}
]
}