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": "801666fd-d0f6-43da-a0d3-e46ee9c99f70"
  }
}

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/01/19 13:32:21",
  "list_test": true
}