Country state selects |
GET /api/v2/general/country_state_selects |
Header name | Description |
---|---|
Provision required |
Web/Mobile/API Provision UUID |
country_state_selects
Param name | Description |
---|---|
data required |
state select Validations:
|
data[id] required |
ID of the state select Validations:
|
data[type] required |
Type of select Validations:
|
data[attributes] required |
Attributes of the state select Validations:
|
data[attributes][country] required |
Name of the country Validations:
|
data[attributes][country_code] required |
Code of the country Validations:
|
data[attributes][states] required |
States for the crountry Validations:
|
data[attributes][states][statename] required |
Name of the state Validations:
|
data[attributes][states][statecode] required |
Code of the state Validations:
|
data[attributes][states][country_code] required |
Code of the country Validations:
|
Unauthorized
Param name | Description |
---|---|
errors required |
Errors returned by request Validations:
|
errors[error] required |
Why the request failed Validations:
|
errors[status] required |
HTTP response code Validations:
|
Not Found
Param name | Description |
---|---|
errors required |
Errors returned by request Validations:
|
errors[error] required |
Why the request failed Validations:
|
errors[status] required |
HTTP response code Validations:
|
Unprocessable Entity
Param name | Description |
---|---|
errors required |
Errors returned by request Validations:
|
errors[error] required |
Why the request failed Validations:
|
errors[status] required |
HTTP response code Validations:
|
Internal Server Error
Param name | Description |
---|---|
errors required |
Errors returned by request Validations:
|
errors[error] required |
Why the request failed Validations:
|
errors[status] required |
HTTP response code Validations:
|
Code | Description |
---|---|
404 | Data source query failed |
422 | Invalid parameter(s) |
422 | Provision header missing |
422 | Invalid provision |
422 | Under maintenance |
422 | Incorrect host for provision |
422 | Establishing session failed |
422 | Privilege to perform the action was not found |
500 | No connection to data source |