Attribute Types (/attributetypes)

To obtain a list of attribute types you can use the 'attributetypes' call. You can't use this data directly for searching but you can use it to obtain a list of attributes to use in a search. For example you may want to have an 'Experience' drop down with options such as 'Wildlife' and 'Food and Wine'. This call allows you to discover the list of possible attribute types.

ATLAS2 API Online User Guide

Please enter your distributor key here to update the links on the page.

Output (&out)

Results can be request in JSON or XML format.

OPTIONS :
xml or json
DEFAULT :
xml
EXAMPLE :
https://[host]/api/atlas/attributetypes?key=[key]&out=json
Get the list of attributetypes in JSON

Market Variant (&mv)

To obtain results in a different market variant you can use the 'mv' parameter.

OPTIONS :
CHINESE-T or CHINESE-S
DEFAULT :
ENGLISH
EXAMPLE :
https://[host]/api/atlas/attributetypes?key=[key]&mv=CHINESE-T
Get the list of attributetypes in in Traditional Chinese

Categories (&cats)

A list of categories to retrieve the classifications for.

OPTIONS :
A valid list of ATDW categories e.g. ACCOMM, ATTRACTION
DEFAULT :
-
EXAMPLE :
https://[host]/api/atlas/attributetypes?key=[key]&cats=ATTRACTION,EVENT
Get the list of all attribute types for the EVENT and ATTRACTION categories