Method :POST
URL: https://apiv1.publicators.com/api/Recipients/UpdateCustomerList
Update list
Request Information
URI Parameters
None.
Body Parameters
Json format: CustomerListforUpdateBindingModel
CustomerListforUpdateBindingModelName | Description | Type | Additional information |
---|---|---|---|
list_id |
List ID |
integer |
Required |
list_name |
New List Name. Max length: 200 characters long. |
string |
Required |
Auth |
Authorization Token |
AuthorizationTokenBindingModel |
Required |
Request Formats
application/json, text/json
Sample:
{ "list_id": 1, "list_name": "sample string 2", "Auth": { "Token": "1e76b940-c575-4be9-bc14-e30f09ef5a5e" } }
Response Information
Resource Description
Json format: CustomerListStruct of the updated list
CustomerListViewModelName | Description | Type | Additional information |
---|---|---|---|
list_id |
List Id |
integer |
None. |
list_name |
List Name |
string |
None. |
list_created |
List Date Created DateTime format yyyy/MM/dd HH:mm:ss |
date |
None. |
list_test |
Is this list used for testing campaigns |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "list_id": 1, "list_name": "sample string 2", "list_created": "2023/10/02 08:03:18", "list_test": true }