Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Tip

Availabe from CRM.COM R15.0.0

Excerpt

This method returns the cancellation reasons that are allowed to be used by service requests, as defined on the service request type. Multiple cancellation reasons are returned by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

service_request_type_identifier

(mandatory)

Service Request Type Identifier

The identifier of the job type for which the cancellation reasons will be retrieved. The allowed job type identifiers are the following:

Include Page
V4:service_request_type_identifier
V4:service_request_type_identifier

fields_set

(optional)

List of Strings, comma separated 

A list of fields that should be included in the results. If not specified then all the available fields will be returned

...

Expand
titleExample 1

HTTP Method: GET

 

Request:

Response:

 

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
    "data": [
        {
            "default": false,
            "alternative_code": "CRB",
            "name": "Cancellation Reason B",
            "description": "A second cancellation reason for testing",
            "id": "FB4A0B28CF194EF7819B0888B64B4210"
        },
        {
            "default": false,
            "alternative_code": "CA_A",
            "name": "Cancellation Reason A",
            "description": "A cancellation reason created for testing UPDATED",
            "id": "DB9380FA48884B34A1C0DABBCAEA6AE0"
        },
        {
            "default": true,
            "alternative_code": "CRC",
            "name": "Cancellation Reason C",
            "description": "A third cancellation reason for testing",
            "id": "4FB30EE8161B4694931E59F1A5B390FA"
        }
    ],
    "status": {
        "code": "OK",
        "description": "",
        "message": ""
    }
}