Get Work Activity Appointment Slots
post
https://server:port/rest/apis/cross/digitalAssets/appointmentSlots/availableSlots
This REST web service provides the details of the available appointment slots over a date range for the crew required for a specified work order activity.
Request
There are no request parameters for this operation.
Supported Media Types
- application/xml
- application/json
Nested Schema : appointmentRequest
Type:
Show Source
object
-
activityType: string
Maximum Length:
30
Activity types define the main attributes for activities of a certain type and act as a model and template for Activity records. -
crewId: string
Maximum Length:
12
Crew -
crewShiftType: string
Maximum Length:
30
Crew Shift Type -
serviceArea: string
Maximum Length:
30
Service areas defines a logical boundary of an organization's territory. Every crew shift is populated with a list of service areas that the crew shift is allowed to work. -
serviceDate: string
(date)
A beginning date from which the crew's availability should be obtained.Example:
2024-01-12
-
serviceDays: number
Minimum Value:
0
Maximum Value:9
Number of Days added to the Service Date to form a date range for retrieving Appointment Slots.Example:5
-
tempWorkActivitySeqNum: number
Minimum Value:
0
Maximum Value:99999
Template Activity Number.Example:1
-
tempWorkOrderIdentifier: string
Maximum Length:
60
Unique external identifier to fetch Template Work Order.
Nested Schema : appointmentRequest
Type:
Show Source
object
-
activityType: string
Maximum Length:
30
Activity types define the main attributes for activities of a certain type and act as a model and template for Activity records. -
crewId: string
Maximum Length:
12
Crew -
crewShiftType: string
Maximum Length:
30
Crew Shift Type -
serviceArea: string
Maximum Length:
30
Service areas defines a logical boundary of an organization's territory. Every crew shift is populated with a list of service areas that the crew shift is allowed to work. -
serviceDate: string
(date)
A beginning date from which the crew's availability should be obtained.Example:
2024-01-12
-
serviceDays: number
Minimum Value:
0
Maximum Value:9
Number of Days added to the Service Date to form a date range for retrieving Appointment Slots.Example:5
-
tempWorkActivitySeqNum: number
Minimum Value:
0
Maximum Value:99999
Template Activity Number.Example:1
-
tempWorkOrderIdentifier: string
Maximum Length:
60
Unique external identifier to fetch Template Work Order.
Response
Supported Media Types
- application/xml
- application/json
200 Response
Success response
Nested Schema : items
Type:
Show Source
object
-
crewId: string
Maximum Length:
12
Crew -
crewName: string
Maximum Length:
254
Name of the crew.Example:SMITH
-
crewShiftId: string
Maximum Length:
14
Unique identifier for crew shift. -
endDateTime: string
(date-time)
Crew Shift End Date TimeExample:
2024-01-12-08.00.00
-
startDateTime: string
(date-time)
Crew Shift Start Date Time.Example:
2024-01-12-06.00.00
-
workAvailabilityDuration: number
Minimum Value:
0
Maximum Value:99999999999.99
Duration of Crew availability.Example:4
400 Response
Bad Request
Root Schema : problemDetailDocument
Type:
Show Source
object
-
detail: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0
Maximum Value:9999
The HTTP Status code for the error. -
problemInstance: string
Maximum Length:
60
Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction. -
problemType: string
Maximum Length:
60
URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework. -
serverMessage: object
serverMessage
-
stackTrace: string
Maximum Length:
60
The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object
-
callSequence: string
Maximum Length:
60
Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0
Maximum Value:0
Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999
Maximum Value:99999
Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60
Name of the program that encountered the error.
500 Response
Internal Server Error
Root Schema : problemDetailDocument
Type:
Show Source
object
-
detail: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0
Maximum Value:9999
The HTTP Status code for the error. -
problemInstance: string
Maximum Length:
60
Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction. -
problemType: string
Maximum Length:
60
URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework. -
serverMessage: object
serverMessage
-
stackTrace: string
Maximum Length:
60
The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object
-
callSequence: string
Maximum Length:
60
Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0
Maximum Value:0
Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999
Maximum Value:99999
Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60
Name of the program that encountered the error.