Get a specific time off policy by id
Path parameters
a string starting with "top_"
a string starting with "top_"
Response
Success
Example response
{
"id": "top_1234",
"timeOffTypeId": "tot_1234",
"timeOffTypeName": "Vacation",
"name": "Company-Wide Vacation Policy",
"description": "Vacation policy for the whole company"
}Changes
Changed in 6 of the 20 revisions of this API.819
- ▲
the response's body type/format changed from
object/to/for status403response-body-type-changed
- ▲
removed the required property
_tagfrom the response with the403statusresponse-required-property-removed
- ▲
removed the required property
messagefrom the response with the403statusresponse-required-property-removed
- ▲
removed the required property
requiredPermissionsfrom the response with the403statusresponse-required-property-removed
- ○
added
MissingRequiredPermissionsApiNotEnabledto the response bodyanyOflist for the response status403response-body-any-of-added
- ▲
- ●
added the new
company:workplacesenum value to therequiredPermissions/items/scoperesponse property for the response status403response-property-enum-value-added
- ●
- ▲
the
requiredPermissions/items/response property's minItems was decreased from2to0for the response status403response-property-min-items-decreased
- ▲
the
requiredPermissions/items/response's property type/format changed fromarray/toobject/for status403response-property-type-changed
- ○
removed
subschema #1subschema #2from therequiredPermissions/items/response property 'prefixItems' list for the response status403response-property-prefix-items-removed
- ○
added the required property
requiredPermissions/items/levelto the response with the403statusresponse-required-property-added
- ○
added the required property
requiredPermissions/items/scopeto the response with the403statusresponse-required-property-added
- ▲
- ○
added the non-success response with the status
403response-non-success-status-added
- ○
- ▲
added the pattern
^top_to thepathrequest parameteridrequest-parameter-pattern-added
- ○
added
subschema #1: startsWith("top_")to theidresponse propertyanyOflist for the response status404response-property-any-of-added
- ○
removed
subschema #1from theidresponse propertyanyOflist for the response status404response-property-any-of-removed
- ○
the
idresponse's property pattern^top_was added for the status200response-property-pattern-added
- ○
the
timeOffTypeIdresponse's property pattern^tot_was added for the status200response-property-pattern-added
- ▲
- ▲
response property
idlist-of-types was widened by adding typesnumberto media typeapplication/jsonof response404response-property-list-of-types-widened
- ▲