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
Request Body - application/xml ()
Root Schema : schema
Type: object
Show Source
Nested Schema : appointmentRequest
Type: object
Show Source
  • 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.
  • 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.
  • A beginning date from which the crew's availability should be obtained.
    Example: 2024-01-12
  • 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
  • Minimum Value: 0
    Maximum Value: 99999
    Template Activity Number.
    Example: 1
  • Maximum Length: 60
    Unique external identifier to fetch Template Work Order.
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : appointmentRequest
Type: object
Show Source
  • 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.
  • 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.
  • A beginning date from which the crew's availability should be obtained.
    Example: 2024-01-12
  • 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
  • Minimum Value: 0
    Maximum Value: 99999
    Template Activity Number.
    Example: 1
  • Maximum Length: 60
    Unique external identifier to fetch Template Work Order.
Back to Top

Response

Supported Media Types

200 Response

Success response
Body ()
Root Schema : X1WAppSlots
Type: object
Show Source
Nested Schema : appointmentSlots
Type: object
Show Source
Nested Schema : crewShiftList
Type: array
Show Source
Nested Schema : items
Type: object
Show Source

400 Response

Bad Request
Body ()
Root Schema : problemDetailDocument
Type: object
Show Source
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 9999
    The HTTP Status code for the error.
  • 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.
  • 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.
  • problemDetailDocument_serverMessage
  • Maximum Length: 60
    The stack trace shows where the error occurs during the execution of a program.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : problemDetailDocument_serverMessage
Type: object
Show Source
  • Maximum Length: 60
    Delimited sequence of programs called.
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 0
    Message Category within Oracle Utilities Application Framework.
  • Minimum Value: -99999
    Maximum Value: 99999
    Message Number within Oracle Utilities Application Framework.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
  • Maximum Length: 60
    Name of the program that encountered the error.

500 Response

Internal Server Error
Body ()
Root Schema : problemDetailDocument
Type: object
Show Source
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 9999
    The HTTP Status code for the error.
  • 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.
  • 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.
  • problemDetailDocument_serverMessage
  • Maximum Length: 60
    The stack trace shows where the error occurs during the execution of a program.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : problemDetailDocument_serverMessage
Type: object
Show Source
  • Maximum Length: 60
    Delimited sequence of programs called.
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 0
    Message Category within Oracle Utilities Application Framework.
  • Minimum Value: -99999
    Maximum Value: 99999
    Message Number within Oracle Utilities Application Framework.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
  • Maximum Length: 60
    Name of the program that encountered the error.
Back to Top