Get List Infos
Get Multiple List information by List type.
Function
getListInfos()
Url
- POST:
/PuresendService/v1/getListInfos
Parameters
- listType:
int
[OPTIONAL]
list type.1
for regular lists2
for database suppression sists3
for file-based suppression list4
for file-based domain suppression list5
for file-based username suppression list7
for file-based MD5 suppression list8
for seed list
Return
ListInfo[]
:- ListInfo array of objects containing the list information.
Exception
- Exception
Documentation
- Retrieves all the lists including the list information for the user’s account.
Examples
{
"listType": 1
}
[
{
"id": 1234,
"name": "List name A",
"columnNames": [
"From (Personal)",
"From (Email)",
"Custom 1",
"Custom 2",
"Custom 3",
"Custom 4",
"Custom 5",
"Company",
"Phone",
"Fax",
"Source",
"Street",
"City",
"State",
"Zip",
"Title"
],
"categoryId": -1,
"type": 1,
"brandName": "",
"fileName": null
},
{
"id": 4567,
"name": "List name B",
"columnNames": [
"From (Personal)",
"From (Email)",
"Custom 1",
"Custom 2",
"Custom 3",
"Custom 4",
"Custom 5",
"Company",
"Phone",
"Fax",
"Source",
"Street",
"City",
"State",
"Zip",
"Title"
],
"categoryId": -1,
"type": 1,
"brandName": "",
"fileName": null
}
]