Περιγραφή:
Ανακτά μια λίστα περιοχών για μια συγκεκριμένη χώρα.
Θα χρειαστεί να χρησιμοποιήσετε την παράμετρο "uuid" για την επόμενη συνάρτηση API.
URI:
https://api.multitel.net/v3/getareas/${ISOCODE}
(Example: https://api.multitel.net/v3/getareas/US for United States areas/states)
Παράμετροι:
isocode (obtained from the output of the getCountries function)
Μέθοδοι:
POST/GET
Δείγμα εξόδου:
{
"status": {
"code": 200,
"msg": ""
},
"response": [
{
"uuid": "f3c5c637ce0ecffb7e68a3540f805d21",
"country_uuid": "e0a2f1fca1ba8b55a6d4ea502e1473b8",
"name": "Alabama",
"area_type": "Region",
"number_type": "Geographic",
"country_iso": "US"
},
{
"uuid": "5ef939c998154c6dd3f32bd36898a5a9",
"country_uuid": "e0a2f1fca1ba8b55a6d4ea502e1473b8",
"name": "Alaska",
"area_type": "Region",
"number_type": "Geographic",
"country_iso": "US"
},
{
"uuid": "e3592887fbb4934f02d3384087ae0b8b",
"country_uuid": "e0a2f1fca1ba8b55a6d4ea502e1473b8",
"name": "Arizona",
"area_type": "Region",
"number_type": "Geographic",
"country_iso": "US"
},