Get Categories
Retrieves a list of categories by category type.
Function
getCategories()
Url
- POST:
/PuresendService/v1/getCategories
Parameters
- categoryType:
int
- Category Type.
3
for regular messages4
for template messages5
for confirmation messages6
for landing page messages7
for jobs8
for lists9
for seed lists
- Category Type.
Return
CategoryInfo[]
:- array of CategoryInfo Objects
Exception
- Exception
Documentation
- Retrieves a list of categories by category type.
Examples
{
"categoryType": 3
}
[
{
"categoryId": 59,
"parentId": -1,
"name": "categortA",
"categoryType": 3
},
{
"categoryId": 242,
"parentId": 59,
"name": "categortB",
"categoryType": 3
}
]