Web service that provides rest calls for service, shipping and delivery of flowers and floral products
This calendar is only valid for products with the 'isSpedito' parameter set to 'False'.
Array of objects (Date_Available) [ items ] | |
success | boolean |
message | string |
error | integer |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://fiori.altravia.com/date_available"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
{- "data": [
- {
- "consegna": "2019-10-09T00:00:00",
- "disponibile": "True"
}, - {
- "consegna": "2019-10-10T00:00:00",
- "disponibile": "True"
}, - {
- "consegna": "2019-10-11T00:00:00",
- "disponibile": "True"
}, - {
- "consegna": "2019-10-12T00:00:00",
- "disponibile": "True"
}, - {
- "consegna": "2019-10-13T00:00:00",
- "disponibile": "True"
}, - {
- "consegna": "2019-10-14T00:00:00",
- "disponibile": "True"
}
], - "success": true,
- "message": "",
- "error": null
}
This calendar is only valid for products with the 'isSpedito' parameter set to 'True'
Array of objects (Shipment_Date) [ items ] | |
success | boolean |
message | string |
error | integer |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://fiori.altravia.com/shipment_date"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
{- "data": [
- {
- "spedizione": "2019-10-22T00:00:00",
- "disponibile": "True"
}, - {
- "spedizione": "2019-10-23T00:00:00",
- "disponibile": "True"
}, - {
- "spedizione": "2019-10-24T00:00:00",
- "disponibile": "True"
}, - {
- "spedizione": "2019-10-25T00:00:00",
- "disponibile": "True"
}
], - "success": true,
- "message": "",
- "error": null
}
This method allows you to see the countries where you can send flowers
Array of objects (Countries) [ items ] | |
success | boolean |
message | string |
error | integer |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://fiori.altravia.com/countries"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
{- "data": [
- {
- "codNazione": "BH",
- "nomeNazioneIta": "Bahrain",
- "nomeNazioneEng": "Bahrain",
- "consegnaAttiva": "False"
}, - {
- "codNazione": "BE",
- "nomeNazioneIta": "Belgio",
- "nomeNazioneEng": "Belgium",
- "consegnaAttiva": "True"
}, - {
- "codNazione": "BZ",
- "nomeNazioneIta": "Belize",
- "nomeNazioneEng": "Belize",
- "consegnaAttiva": "False"
}, - {
- "codNazione": "BJ",
- "nomeNazioneIta": "Benin",
- "nomeNazioneEng": "Benin",
- "consegnaAttiva": "False"
}
], - "success": true,
- "message": "",
- "error": null
}
This method allows you to see the country identified by the code passed in the path
codNazione required | string Default: "<string>" Example: IT Country code |
object (Countries) | |
success | boolean |
message | string |
error | integer |