Get work shifts associated with the project.
get
/connectedWorker/clientapi/v2/orgs/{orgId}/projects/{projectId}/workShifts
This operation retrieves work shifts associated with the project.
Request
Path Parameters
-
orgId: string
Organization identifier
-
projectId: string
Project identifier
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Work shifts associated with the project were successfully retrieved.
Root Schema : ProjectWorkShifts
Type:
Show Source
object
-
items:
array items
-
links(optional):
array links
Read Only:
true
Nested Schema : ProjectWorkShift
Type:
Show Source
object
-
default(optional):
boolean
Read Only:
true
Flag indicating default work shift in the projectExample:true
-
links(optional):
array links
-
projectId:
string
Id of the projectExample:
1
-
workShiftId:
string
Id of the work shiftExample:
2
Nested Schema : Link
Type:
Show Source
object
-
href:
string
The target resource's URI
-
rel:
string
Relation type