Get work shifts.
get
/connectedWorker/clientapi/v2/orgs/{orgId}/workShifts
This operation retrieves work shifts.
Request
Path Parameters
-
orgId: string
Organization identifier
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Work shifts were successfully retrieved.
Root Schema : WorkShifts
Type:
Show Source
object
-
items:
array items
-
links(optional):
array links
Read Only:
true
Nested Schema : WorkShift
Type:
Show Source
object
-
default(optional):
boolean
Read Only:
true
Flag indicating default work shift for newly created projectsExample:true
-
description(optional):
string
Detailed description of the work shiftExample:
Description of work shift
-
id(optional):
string
Read Only:
true
The unique id of the objectExample:53
-
links(optional):
array links
-
name:
string
Minimum Length:
0
Maximum Length:255
Name of the work shift, cannot be blank, max length is 255 charactersExample:My work shift name
-
timeFrom:
string(date-time)
Work shift start time
-
timeTo:
string(date-time)
Work shift end time
Nested Schema : Link
Type:
Show Source
object
-
href:
string
The target resource's URI
-
rel:
string
Relation type