Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

List method by default returns only object's "id" and "name" fields, additional fields in output are controlled by "custom_fields" parameter.

 

Create an entity

Use PUT request type, request body should contain appropriate JSON object.

Блок кода
languagebash
PUT https://ui.getintent.com/api/v1/<entity>/new?token=<token> 

...

Example:

Блок кода
languagebash
curl --data '{"name": "title",...}' -X PUT https://ui.getintent.com/api/v1/<entity>/new?token=<token>

...

Блок кода
languagebash
curl -X GET https://ui.getintent.com/api/v1/<entity>/get/<entity_id>?token=<token>

Update entity

Use PUT request type, request body should contain appropriate JSON object.

Блок кода
languagebash
PUT https://ui.getintent.com/api/v1/<entity>/edit/<entity_id>?token=<token>

...