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

Use this method to fetch all the International categories available. This will return the categories and their descriptions in the specified language. Note that some International 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 International 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>