absenceRegions
Returns locations for the specified country.
Changed onReturns the country's locations as ISO 3166-2 codes, including regions and subregions when available. An unsupported country code returns not found.
<Check title="Required Permissions" icon="key">Any authenticated user.</Check>
get/absenceregions/countries/{countryCode}/locations
Request
- Base URL: https://api.awork.com/api/v1
- URL: https://api.awork.com/api/v1/absenceregions/countries/{countryCode}/locations
- Auth: HTTP bearer
Path parameters
countryCodestring required
The country code.
Response
OK
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
GetAbsenceRegionsCountryLocationsByCountryCoderemoved and replaced withabsenceRegions_GetAbsenceRegionsCountryLocationsByCountryCode
- info