List counties - celdotro/marketplace GitHub Wiki
About
- List all counties
Class
celmarket\Admin\AdminAddresses
Method
getCountiesList
API
- method: admininfo
- action: getCountiesList
Parameters
(No parameters)
Response
An array with the following elements
- (element from array) = one county
Example - PHP
https://github.com/celdotro/marketplace_examples/blob/master/Admin/50.getCountiesList.php
Example - JSON
{
"request": {},
"response": [
"Alba",
"Arad",
"Arges",
"Bacau",
"Bihor",
"Bistrita-Nasaud",
"Botosani",
"Braila",
"Brasov",
"Buzau",
"Calarasi",
"Caras-Severin",
"Cluj",
"Constanta",
"Covasna",
"Dambovita",
"Dolj",
"Galati",
"Giurgiu",
"Gorj",
"Harghita",
"Hunedoara",
"Ialomita",
"Iasi",
"Ilfov",
"Maramures",
"Mehedinti",
"Mures",
"Neamt",
"Olt",
"Prahova",
"Salaj",
"Satu Mare",
"Sector 1",
"Sector 2",
"Sector 3",
"Sector 4",
"Sector 5",
"Sector 6",
"Sibiu",
"Sofia",
"Suceava",
"Teleorman",
"Timis",
"Tulcea",
"Valcea",
"Vaslui",
"Vrancea"
]
}