Get Categories
Retrieves a list of categories by category type.
Function
getCategories()
Url
- POST:
/PuresendService/v1/getCategories
Parameters
- categoryType:
int- Category Type.
3for regular messages4for template messages5for confirmation messages6for landing page messages7for jobs8for lists9for 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
}
]