Versions Compared

Key

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

...

...


Excerpt

This method returns the cancellation reasons that are allowed to be used by activities, as defined on the active activity definition. Multiple cancellation reasons are returned by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

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

Response Data

Include Page
V4:activity_cancellation_reasons_complete
V4:activity_cancellation_reasons_complete

...

Expand
titleExample 1

HTTP Method: GET 


Request:

Response:


Code Block
 code
language
javascript
themeConfluencelanguagejavascript
linenumberstrue
{
    "status":
    {
        "message": "",
        "description": "",
        "code": "OK"
    },
    "data":
    [
        {
            "id": "352B746264664A96BC9FC2C16816B7F5",
            "name": "Cancel Reason 1",
            "description": "Description",
            "alternative_code": "CR1"
        },
        {
            "id": "8CE6FE0AD2CC42C0B5D8A7AF660FCEC5",
            "name": "Cancel Reason 2",
            "alternative_code": "CR2"
        },
        {
            "id": "D38A9C9649AF4EF2BF8F5BA25DCE4AF7",
            "name": "Cancel Reason 3",
            "alternative_code": "CR3"
        }
    ]
} 


...