absenceRegions

Returns supported absence region countries.

Changed on

Returns the supported countries and their ISO 3166-1 alpha-2 codes for absence regions.

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

get/absenceregions/countries

Request

  • Base URL: https://api.awork.com/api/v1
  • URL: https://api.awork.com/api/v1/absenceregions/countries
  • Auth: HTTP bearer

Response

OK

codestring nullable

The ISO-3166-1 alpha-2 country code.

namestring nullable

The name of the country.

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API

    • info

      api operation id GetAbsenceRegionsCountries removed and replaced with absenceRegions_GetAbsenceRegionsCountries