Login

  • Fiori
  • GET Countries

Check the Countries

This method allows you to see the countries where you can send flowers.

Resource

Production environment:

  • https://fiori.altravia.com/countries
  • https://fiori.altravia.com/countries/"codNazione"

Testing environment

  • https://test.fiori.altravia.com/countries
  • https://test.fiori.altravia.com/countries/"codNazione"

Parameters

Request Example

Response

Response Format

If successful, the response header HTTP status code will be 200 OK and the request will be answered.

If you try to get a request without authorization, you will receive an error 401 Unauthorized.

Additionally you should also handle the 400 Bad request status. For more info on HTTP status handling see dedicated section in Integration best practices page.

Request Response

Parameter Type Description
data DataResponseDetails Present only if the API call goes to good end, it will contain the answer data.
success boolean True or false.
message string It contains a message that can be shown by the user.
error int Present only if the API call fails, it contains an error code.

Data Response Details

Parameter Type Description
codNazione string Country code.
nomeNazioneIta string Name of the country in Italian.
nomeNazioneEng string Name of the country in English.
consegnaAttiva string True or False; indicates whether delivery is active in the country or not.

Additional examples

Request of a specific country:

Response