Creates a suppression list.

Creates a suppression list with name, brand and file name information


Function

  • createSuppList()

Url

  • POST: /PuresendService/v1/createSuppList

Parameters

  • listName: String
    • name of the list.
  • brandName: String
    • any human readable name used for list purposes
  • type: int
    • suppression list type
  • fileName: String
    • if this was a file-based suppression list, filename should be presented

Return

  • newListId: int
    • new list id

Exception

  • Exception

Documentation

  • Creates a suppression list with name, brand and file name information

Examples

{
    "listName" : "Name of suppression list",
    "brandName" : "Name of brand",
    "listType" : 2,
    "fileName" : ""
}
{
    "newListId": 9404
}