Method :POST

URL: https://apiv1.publicators.com/api/Recipients/UpdateCustomerList

Update list

Request Information

URI Parameters

None.

Body Parameters

Json format: CustomerListforUpdateBindingModel

CustomerListforUpdateBindingModel
NameDescriptionTypeAdditional 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": "0a9f6f75-f3c4-4795-ac03-d6d939fdf714"
  }
}

Response Information

Resource Description

Json format: CustomerListStruct of the updated list

CustomerListViewModel
NameDescriptionTypeAdditional 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": "2018/12/11 04:42:16",
  "list_test": true
}