Bitrix24 icon

Bitrix24

袪邪斜芯褌邪 褋 Bitrix24 API

袥懈写 → 袨斜薪芯胁懈褌褜

AI-generated

Overview

This node interacts with the Bitrix24 API to perform update and delete operations on the resource 'Contact' (袥懈写). It allows users to update contact details or delete a contact by specifying the contact ID. The update operation supports input in either form format or JSON format, enabling flexible data input methods for updating contact fields.

Use Case Examples

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

Properties

Name Meaning
ID The unique identifier of the contact to update or delete.
inputFormat The format of the input data for updating a contact, either 'form' for structured fields or 'json' for raw JSON input.
fieldsJson The JSON string representing the fields to update when inputFormat is 'json'.
fields The collection of fields and their values to update when inputFormat is 'form'. Supports multiple values and sorting.

Output

JSON

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

Dependencies

  • Bitrix24 API
  • API authentication token or API key credential

Troubleshooting

  • Ensure the contact ID is valid and exists in Bitrix24 to avoid 'Запись не найдена' (Record not found) errors.
  • When using JSON input format, ensure the JSON is correctly formatted to prevent parsing errors.
  • If the node fails to update or delete, check API credentials and permissions in Bitrix24.

Discussion