Parameter Name
|
Parameter Type
|
Validation
|
Description
|
||
---|---|---|---|---|---|
resources
|
String
|
Required, comma-separated
|
Comma-separated list of resource IDs. Salesforce and Service Board UUIDs are supported.
|
||
startDate
|
String
|
Required, UTC format
|
Start date and time of the query range.
|
||
endDate
|
String
|
Required, UTC format
|
End date and time of the query range.
|
||
isDaily
|
boolean
|
Optional, defaults to false
|
Specifies whether to truncate returned shift information based on working hours for the relevant day or preserve shift segment definition values.
|
||
isExternalID
|
boolean
|
Optional, defaults to false
|
Specifies whether to use external resource IDs. If set to true, Salesforce IDs are output in returned data.
|
||
truncateStartEnd
|
boolean
|
Optional, defaults to true
|
Defines whether to truncate first and last shift segment durations with specified start and end dates and times.
|
||
ignoreNoConfigSegment
|
boolean
|
Optional, defaults to false
|
Specifies whether to ignore segment durations with a type of _No_Config.
|
Response Detail
|
Possible Value
|
Notes
|
---|---|---|
success
|
true or false
|
Indicates whether requests were processed successfully.
|
error
|
Error message with details
|
Details include validation errors and unexpected internal errors.
|
data
|
List of duration values
|
Nodes have the following attributes:
• id: Shift Exception record IDs. Optional, and available only when current duration values originate from shift exception records.
• resourceId: Salesforce IDs or UUIDs for technicians.
• startDate: Start date and time for the duration.
• endDate: End date and time for the duration.
• type: Shift segment type. Includes No_Config when no durations are configured, and Holiday for holiday durations.
• isAvailable: Whether the current duration is available.
|
|
If ignoreNoConfigSegment is set to true, only the 0900 to 1700 duration is returned.
|