Get Company States
Changed onUse this endpoint to get a list of the states supported by the current company. CountryId must be an existing country supported by the current company. This endpoint will return a paginated response starting from the given record index. StartIndex starts at 0. Default PageSize is 100. Pagination parameters are optional.
Request
- Base URLhttps://api.acculynx.com/api/v2
- URLhttps://api.acculynx.com/api/v2/company-settings/location-settings/countries/{countryId}/states
- AuthHTTP bearer
Path parameters
The country's identifier
Query parameters
How many items to be returned at a time.
The zero-based index of the first record to return.
Response
OK
Example response
{
"items": [
{
"id": 43,
"name": "Texas",
"abbreviation": "TX",
"_link": "https://api.acculynx.com/api/v2/acculynx/countries/1/states/43"
}
]
}Changes
- breaking
for the
queryrequest parameterpageSize, default value25was removed - breaking
the
///response's property format changed fromurito no format for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
to the response with the status
- breaking