Versions Compared

Key

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

...

...

...

...

...

...

...

...


Tip

Available from CRM.COM R9.0.0

Deprecated from CRM.COM R18.0.0


Available from CRM.COM R9.0.0

Excerpt

This method is used to delete successful or rejected webhook requests.  A single webhook request can be deleted through this method

Tip

Resource URL

Parameters

Name

Type

Description

 

token

String

The token retrieved from the login method

 


webhook_request_identifier

(mandatory)

Webhook Request Identifier

The identifier of the webhook request that should be deleted. The allowed webhook request Identifier fields are the following:

Include Page
V4:webhook_request_identifier
V4:webhook_request_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

 


Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

...

Expand
titleExample 1

HTTP Method: POST 


Request:

Body:

Code Block
languagejs
themeConfluencelanguagejs
linenumberstrue
{
    "token":"CAF6D5BF579D4883856B10C3BA19E1CB",
    "webhook_request_identifier":{"number":"14"}
}  


Response:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
{
    "status":
    {
        "message": "",
        "description": "",
        "code": "OK"
    },
    "data":
    {
        "response": "1D7C94CAC7AB4BB39B85E91183872F11",
        "entity": "ACTIVITIES",
        "error_code": null,
        "error_description": null,
        "number": "14",
        "url": "http://127.0.0.1:9080/crmapi/rest/v2/activities/create",
        "request": "1D7C94CAC7AB4BB39B85E91183872F11",
        "log_information":
        {
            "updated_date": "2015-11-06T08:45:11",
            "created_date": "2015-11-05T17:44:31",
            "created_by_unit":
            {
                "community_name": "Internal Community",
                "id": "0C3B5CB66ED4AACF5C2FDDAE984704E8",
                "name": "Installation Team 4",
                "group_name": "Paphos",
                "description": null,
                "alternative_code": "IT4"
            },
            "updated_by_unit":
            {
                "community_name": "Internal Community",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "name": "Admin Unit",
                "group_name": "Main Group",
                "description": "r1 Test Description for resource  request tab.Test Description for resource  request tab.",
                "alternative_code": "MG"
            },
            "created_by_user":
            {
                "person_name": "m_michael_user",
                "username": "m_michael_user",
                "id": "970A84FDE9784FCF807597FEA26FA0F1",
                "email": "m_michael@crm.com"
            },
            "updated_by_user":
            {
                "person_name": "Marios Lannister",
                "username": "MPAdministrator",
                "id": "1"
            }
        },
        "life_cycle_state": "REJECTED",
        "entity_id": "1D7C94CAC7AB4BB39B85E91183872F11",
        "id": "82F0B415260047218DECF32FEBDFBA01",
        "webhook_definition":
        {
            "life_cycle_state": "EFFECTIVE",
            "id": "53D29BC888854021A238DF9FEB7D6F76",
            "name": "Test",
            "alternative_code": "T"
        },
        "fields_set": null,
        "workflow_rule":
        {
            "life_cycle_state": "EFFECTIVE",
            "id": "A94ABA3BDF2745FA8AE8F5B71DD4CA8F",
            "name": "Activity Rule",
            "alternative_code": "AR"
        }
    }
} 


...