company

Get Company Countries

Changed on

Use this endpoint to get a list of countries supported by the current company. This endpoint will return a paginated response starting from the given record index.

get/company-settings/location-settings/countries

Request

  • Base URL
    https://api.acculynx.com/api/v2
  • URL
    https://api.acculynx.com/api/v2/company-settings/location-settings/countries
  • Auth
    HTTP bearer

Query parameters

includesstring

A comma-separated list of related resources to expand inline in the response. Valid values vary by endpoint and are documented in each operation description.

pageSizeinteger

How many items to be returned at a time.

recordStartIndexinteger

The zero-based index of the first record to return.

Response

OK

countinteger

The total number of items matching the current query.

pageSizeinteger

The requested or default page size.

pageStartIndexinteger

The requested or default index of the first element to return.

Example response

{
  "items": [
    {
      "id": 1,
      "name": "United States",
      "abbreviation": "US",
      "_link": "https://api.acculynx.com/api/v2/acculynx/countries/1"
    }
  ]
}

Changes

    • breaking

      for the query request parameter pageSize, default value 25 was removed

    • 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