/shiftTypes
Changed onAccepts a standard Shift Type object with no read-only values specified.
Response
If successful, the endpoint responds with HTTP Status Code 201 Created and a Shift Type object with the integer ID of the created Shift Type in the response body. It also sets the Location header to the location of the Shift Type.
post/shiftTypes
Request
- Base URLhttps://api.securevan.com/v4
- URLhttps://api.securevan.com/v4/shiftTypes
- AuthHTTP basic
Request body
Response
201
Example response
{
"shiftTypeId": 14,
"name": "1st Shift",
"defaultStartTime": "1900-01-01T08:00Z",
"defaultEndTime": "1900-01-01T16:00Z"
}Changes
- info
endpoint added
- info