Requirements API v2.3.2
Restrictions and Procedures can be filtered by category and subCategory
Endpoint /countries
now supports filtering the category
and subCateogry
for the relationship objects 'procedure' and 'restriction'. The filters require to have the relationship object type prefixed.
Examples:
Show only procedures with subCategory ON_ARRIVAL for all countries
/countries?include=procedure&filter[procedure.subCategory]=ON_ARRIVAL
Endpoints /restrictions
and /procedures
now supports category
and subCategory
.
Examples:
Show only entry restrictions
/restrictions?include=restriction&filter[category]=ENTRY
Restrictions and Procedures now indicate directionality
Restrictions and Procedures now show a newly added attribute directionality
which indicates if a particular restriction or procedure represents a more or less restrictive change.
Following types can be returned:
- LESS - The restriction or procedure is less restrictive
- MORE - The restriction or procedure is more restrictive
- NO_CHANGE - The restriction or procedure does not represent a significant change in either direction
Restrictions and Procedures now provide documentLinks
Restrictions and Procedures now show a newly added attribute documentLinks
which is a list of URLs leading to any kind of declaration form documents and related information if applicable.
Example:
documentLinks: [
{
url: "https://…"
}
]