From Bright Pattern Documentation
Add a record
Description | Adds a single new record to the specified calling list. Returns an error if a record with the same values of unique keys already exists in the specified list. |
URL | http[s]://<host>:<port>/admin/ws/t/<tenant_url>/callinglist/add/<list_name> |
Method | POST |
Request body | Names and values of record fields (content type: application/json). Example:
{ |
Returns | 204 – Record added |
Errors | 400 – Bad request (missing mandatory fields or incorrect format)
401 – Authentication failed 403 – Authentication succeeded, but authorization failed (no privileges) 404 – Calling list not found 500 – Duplicate key (record with same values of unique keys already exists) |