States

Returns a list of available states in different countries,

States API

GET /api/v1/hotel/content-api/locations/states

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer<Access token>

Accept-Encoding

gzip

Query Params

Name
Type
Description

syncId

string

<syncId>

Response

{
    "success": true,
    "data": {
        "syncId": "33664d3a83e17d80ca527eb3d5f5a122ac76babb67",
        "total": 2372,
        "from": 1,
        "to": 1000,
        "states": [
            {
                "stateId": 100001,
                "stateName": "Ajman",
                "stateCode": "AJM",
                "countyId": 100171
            },
            {
                "stateId": 100002,
                "stateName": "Essex",
                "stateCode": "ES",
                "countyId": 100006
            },
            {
                "stateId": 100003,
                "stateName": "INDIA",
                "stateCode": "07",
                "countyId": 100106
            },
            {
                "stateId": 100004,
                "stateName": "ARIZONA",
                "stateCode": "AZ",
                "countyId": 100105
            }
		]
	}
}
	

Last updated