Bitrix24 icon

Bitrix24

袪邪斜芯褌邪 褋 Bitrix24 API

袣芯屑锌邪薪懈褟 → 袨斜薪芯胁懈褌褜

AI-generated

Overview

This node interacts with the Bitrix24 API to perform update and delete operations on the resource '袣芯屑锌邪薪懈褟' (likely 'Contact' based on context). It allows updating a record by specifying its ID and fields to update, or deleting a record by its ID. The node supports input in two formats for update operations: form-based input and JSON input. This node is useful for managing contact data within Bitrix24, such as updating contact details or removing contacts.

Use Case Examples

  1. Update a contact's phone number or email by specifying the contact ID and the new field values.
  2. Delete a contact from Bitrix24 by providing the contact ID.

Properties

Name Meaning
ID The unique identifier of the record to update or delete.
inputFormat The format of the input data for update operations, either form-based fields or JSON.
fieldsJson The JSON object containing fields and values to update, used when inputFormat is JSON.
fields A collection of fields and their values to update, used when inputFormat is form.

Output

JSON

  • success - Indicates if the delete operation was successful (true) and includes the ID of the deleted record.
  • id - The ID of the record that was deleted.
  • error - Error message if the requested record was not found or an operation failed.

Dependencies

  • Bitrix24 API authentication token

Troubleshooting

  • If the node throws an error about an invalid ID, verify that the ID exists in Bitrix24 before attempting update or delete operations.
  • Ensure the inputFormat matches the data provided; JSON input must be valid JSON, and form input must have correctly mapped fields.
  • If the node returns an error indicating the record was not found, check the ID and filters used for the operation.

Discussion