| Field | Required | Description |
|---|---|---|
| api-token | Yes | Authentication token provided by VasyERP |
| stateCode | Yes | State code for which cities need to be retrieved |
curl --location '/api/v1/master/location/city?stateCode=24' \
--header 'api-token: {{.in-api-token}}'{
"status": true,
"message": "City List",
"code": "200",
"response": [
{
"cityId": 8885,
"cityCode": "932",
"cityName": "Aadityana",
"stateCode": "24",
"countryCode": "IN"
},
{
"cityId": 8886,
"cityCode": "933",
"cityName": "Aambaliyasan",
"stateCode": "24",
"countryCode": "IN"
}
]
}