GET api/categories/infobel/level/{categorylevel}/{languageCode} Authentication required

Use this method to fetch all the Infobel categories available for a specified parent code. This will return the categories and their descriptions in the specified language. Note that some Infobel categories might not have a description in some languages

Request

URI Parameters

NameDescriptionTypeAdditional information
categorylevel

Level of the categories to return (1, 2 or 3)

string

Required

languageCode

Language represented by its ISO 639-1 Code (2 chars long)

string

Required

Response

Returns all the Infobel categories in a specific language

Output : array of objects (See Model)

Ouput Sample

  • application/json, text/json :
  • [ { "code": "017116", "name": "Restaurants", "language": "EN", "type": "Infobel", "level": 0 }, { "code": "017116", "name": "Restaurants", "language": "EN", "type": "Infobel", "level": 0 } ]
  • application/xml, text/xml :
  • <ArrayOfCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Category> <Code>017116</Code> <CountryCode i:nil="true" /> <Language>EN</Language> <Level>0</Level> <Name>Restaurants</Name> <ParentCode i:nil="true" /> <Type>Infobel</Type> </Category> <Category> <Code>017116</Code> <CountryCode i:nil="true" /> <Language>EN</Language> <Level>0</Level> <Name>Restaurants</Name> <ParentCode i:nil="true" /> <Type>Infobel</Type> </Category> </ArrayOfCategory>