Get List ID
Get List ID by List Name.
Function
getListId()
Url
- POST:
/PuresendService/v1/getListId
Parameters
- listname:
String
- list name to be searched.
Return
- listId:
int
- list id corresponding to the list name
Exception
- Exception
Documentation
- Retrieves the list id for the given list name.
- If multiple lists exist with the same name, the first list's id is returned.
Examples
{
"listName": "Name of list"
}
{
"listId": 1234
}