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

Use this method to fetch all the Infobel categories available. 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
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", "type": "Infobel", "level": 0 }, { "code": "017116", "name": "Restaurants", "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" /> <Level>0</Level> <Name>Restaurants</Name> <ParentCode i:nil="true" /> <Type>Infobel</Type> </Category> <Category> <Code>017116</Code> <CountryCode i:nil="true" /> <Level>0</Level> <Name>Restaurants</Name> <ParentCode i:nil="true" /> <Type>Infobel</Type> </Category> </ArrayOfCategory>