Get Category Names

Get a list category names


Function

  • getCategoryNames()

Url

  • POST: /PuresendService/v1/getCategoryNames

Parameters

  • categoryIds: int[]
    • Array of category ids

Return

  • categoryNames: String[]:
    • Array of category names

Exception

  • Exception

Documentation

  • Retrieves a list category names for the specified category IDs.
  • Invalid category IDs will return a category name with an invalid name descriptor.
    • invalid category. id: xxxx

Examples

{
    "categoryIds" : [
        49, 
        50, 
        51, 
        52
    ]
}
{
    "categoryNames": [
        "category A",
        "category B",
        "category C",
        "category D"
    ]
}