GET api/categories/local/{countryCode}/{languageCode} Authentication required

Use this method to fetch all the Local categories available for a specified country. Note that some Local categories might not have a description in some languages

Request

URI Parameters

NameDescriptionTypeAdditional information
countryCode

Country represented by its ISO 3166-1 alpha-2 Code (2 chars long)

string

Required

languageCode

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

string

Required

Response

Returns all the Local categories in a specific language for a specific country

Output : array of objects (See Model)

Ouput Sample

  • application/json, text/json :
  • [ { "code": "56100", "name": "Restaurants and mobile food service activities", "language": "EN", "type": "Local", "countryCode": "BE", "level": 0 }, { "code": "56100", "name": "Restaurants and mobile food service activities", "language": "EN", "type": "Local", "countryCode": "BE", "level": 0 } ]
  • application/xml, text/xml :
  • <ArrayOfLocalCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <LocalCategory> <Code>56100</Code> <CountryCode>BE</CountryCode> <Language>EN</Language> <Level>0</Level> <Name>Restaurants and mobile food service activities</Name> <ParentCode i:nil="true" /> <Type>Local</Type> </LocalCategory> <LocalCategory> <Code>56100</Code> <CountryCode>BE</CountryCode> <Language>EN</Language> <Level>0</Level> <Name>Restaurants and mobile food service activities</Name> <ParentCode i:nil="true" /> <Type>Local</Type> </LocalCategory> </ArrayOfLocalCategory>