Skip to content

Latest commit

 

History

History
103 lines (79 loc) · 3.21 KB

File metadata and controls

103 lines (79 loc) · 3.21 KB

Event onCrmRequisiteDelete

{% note tip "" %}

If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.

{% endnote %}

Scope: crm

Who can subscribe: any user

The onCrmRequisiteDelete event is triggered when a requisite is deleted.

{% note info "" %}

Events will not be sent to the application until the installation is complete. Check the application installation

{% endnote %}

What the Handler Receives

Data is transmitted as a POST request {.b24-info}

{
    "event": "onCrmRequisiteDelete",
    "data": {
        "FIELDS": {
            "ID": 27
        }
    },
    "ts": "1466439714",
    "auth": {
        "access_token": "s6p6eclrvim6da22ft9ch94ekreb52lv",
        "expires_in": "3600",
        "scope": "crm",
        "domain": "some-domain.bitrix24.com",
        "server_endpoint": "https://oauth.bitrix.info/rest/",
        "status": "F",
        "client_endpoint": "https://some-domain.bitrix24.com/rest/",
        "member_id": "a223c6b3710f85df22e9377d6c4f7553",
        "refresh_token": "4s386p3q0tr8dy89xvmt96234v3dljg8",
        "application_token": "51856fefc120afa4b628cc82d3935cce"
    }
}

{% include Note on required parameters %}

#| || Parameter type | Description || || event* string | Symbolic code of the event.

In this case — onCrmRequisiteDelete || || data* object | An object containing remote requisite data.

Contains a single key FIELDS || || data.FIELDS* object | An object containing remote requisite fields.

The structure is described below || || ts* timestamp | Date and time of the event sent from the event queue || || auth* object | Object containing authorization parameters and information about the account where the event occurred.

The structure is described below || |#

Parameter FIELDS {#fields}

#| || Parameter type | Description || || ID* integer | Requisite identifier. It can be obtained using the crm.requisite.list method.

It is created automatically and is unique within the portal || |#

Parameter auth {#auth}

{% include notitle Auth parameters in events %}

Continue Learning