Create Shift
post
/shift
Send a request to this endpoint to create one or more Shift. An application object will be created for each JSON object provided in the request body.
Request
Header Parameters
-
Authorization(required):
OAuth token
Supported Media Types
- application/json
A list of Shift objects.
Root Schema : List<Shift>
Type:
array
Title:
Show Source
List<Shift>
-
Array of:
object Shift
Title:
Shift
Shift Entity
Nested Schema : Shift
Type:
object
Title:
Shift
Shift Entity
Show Source
-
CreateDate: string
(date-time)
The date this shift was created.
-
CreateUser: string
The name of the user that created this shift.
-
LastUpdateDate: string
(date-time)
The date this shift was last updated.
-
LastUpdateUser: string
The date this shift was last updated.
-
Name: string
The name of the shift.
-
ObjectId: integer
(int32)
The unique ID generated by the system.
-
ShiftPeriod: array
ShiftPeriod
Response
Supported Media Types
- application/json
201 Response
Resource Created.
Root Schema : String
Type:
string
Title:
String
400 Response
Bad Request.
401 Response
Unauthorized.
403 Response
Forbidden.
404 Response
Not Found.
405 Response
Invalid Input.
500 Response
Internal Server Error.