Cancel Service Call

patch

https://server:port/rest/apis/asset/work/serviceCalls/{serviceCallId}/cancelRequest

This operation is used to request the cancelation of a service call. It creates a new communication log and a to do entry to process the cancelation request manually.

Request

Path Parameters
Supported Media Types
Request Body - application/xml ()
Root Schema : schema
Type: object
Show Source
  • Maximum Length: 4000
    Indicates the reason for the service call cancelation.
    Example: No longer needed.
  • Maximum Length: 4000
    Information from the customer.
    Example: Cancel meter read.
  • Maximum Length: 254
    The external system's unique identifier for the communication log.
    Example: CN189761809
  • Allowed Values: [ "W1CN", "W1EM", "W1PH" ]
    Indicates how the communication was received from the customer. * `W1CN` - Counter, * `W1EM` - Email, * `W1PH` - Phone
    Example: Email
  • Maximum Length: 254
    The first name of the contact person.
    Example: Robert
  • Maximum Length: 24
    The home phone number of the contact person.
    Example: 330-532-9834
  • Maximum Length: 254
    The last name of the contact person.
    Example: Brown
  • Maximum Length: 24
    The mobile phone number of the contact person.
    Example: 330-532-9834
  • Maximum Length: 24
    The primary phone number of the contact person.
    Example: 330-532-9834
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Maximum Length: 4000
    Indicates the reason for the service call cancelation.
    Example: No longer needed.
  • Maximum Length: 4000
    Information from the customer.
    Example: Cancel meter read.
  • Maximum Length: 254
    The external system's unique identifier for the communication log.
    Example: CN189761809
  • Allowed Values: [ "W1CN", "W1EM", "W1PH" ]
    Indicates how the communication was received from the customer. * `W1CN` - Counter, * `W1EM` - Email, * `W1PH` - Phone
    Example: Email
  • Maximum Length: 254
    The first name of the contact person.
    Example: Robert
  • Maximum Length: 24
    The home phone number of the contact person.
    Example: 330-532-9834
  • Maximum Length: 254
    The last name of the contact person.
    Example: Brown
  • Maximum Length: 24
    The mobile phone number of the contact person.
    Example: 330-532-9834
  • Maximum Length: 24
    The primary phone number of the contact person.
    Example: 330-532-9834
Back to Top

Response

Supported Media Types

200 Response

Success response
Body ()
Root Schema : W1ReqCanSC
Type: object
Show Source
Nested Schema : communication
Type: object
Show Source
Nested Schema : toDoEntry
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.
  • 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 : 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.
  • 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 : 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