...
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.
| Блок кода | ||
|---|---|---|
| ||
PUT https://ui.getintent.com/api/v1/<entity>/new?token=<token> |
...
Example:
| Блок кода | ||
|---|---|---|
| ||
curl --data '{"name": "title",...}' -X PUT https://ui.getintent.com/api/v1/<entity>/new?token=<token> |
...
| Блок кода | ||
|---|---|---|
| ||
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.
| Блок кода | ||
|---|---|---|
| ||
PUT https://ui.getintent.com/api/v1/<entity>/edit/<entity_id>?token=<token> |
...