Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Headers
x-account-id
string
required
The account identifier
Prefer
string
Set to "heartbeat" to enable keep-alive newline heartbeats during long-running requests. Response includes Preference-Applied: heartbeat header when honored. (RFC 7240)
Example:
"heartbeat"
Path Parameters
id
string
required
Query Parameters
raw
boolean | null
Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
proxy
object | null
Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
fields
string | null
The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
Example:
"id,remote_id,name,active,unified_custom_fields"
Response
The time off type with the given identifier was retrieved.
data
object
required
Show child attributes
raw
object[] | null
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"StackOne Hub Documentation","colors":{"primary":"#05C168","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/stackone-hub/HYJwyqbEuT1SMQL-/logo/stackone_green_logo-140in212.svg?fit=max\u0026auto=format\u0026n=HYJwyqbEuT1SMQL-\u0026q=85\u0026s=2c16b558a593b22ca7f3bd2cbdc336da","dark":"https://mintcdn.com/stackone-hub/HYJwyqbEuT1SMQL-/logo/stackone_green_white_logo-140in212.svg?fit=max\u0026auto=format\u0026n=HYJwyqbEuT1SMQL-\u0026q=85\u0026s=a766bbf1c1c046910a7d1c3ce5c81de9","href":"https://stackone.com"},"favicon":"https://mintcdn.com/stackone-hub/4kCYyCeuh-KQSMdC/favicon.svg?fit=max\u0026auto=format\u0026n=4kCYyCeuh-KQSMdC\u0026q=85\u0026s=ab0857788c94f91cb01b6d9b7848d3a9","navbar":{"links":[{"href":"mailto:integrations@stackone.com","label":"Support"}]},"footer":{"socials":{"twitter":"https://twitter.com/StackOneHQ","linkedin":"https://www.linkedin.com/company/stackonehq"}},"seo":{"metatags":{"robots":"noindex, nofollow"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"stackone-hub","hasAudioNarration":false,"actualSubdomain":"stackone-hub","customDomains":["hub.stackone.com"],"gitSource":{"type":"github","owner":"stackonehq","repo":"hub-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10a69e9ffae5051c3fa91f"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af4b49fb7449631187b5bef","clientVersion":"0.0.4443","searchFilterCounts":[{"language":"default","tag":"Hub Guides","count":3},{"language":"default","tag":"Legacy Unified APIs","count":2},{"language":"default","tag":"LMS","count":2},{"language":"default","tag":"Unified LMS API","count":2},{"language":"default","tag":"LMS/LXP and Aggregators","count":1},{"language":"default","tag":"Learning Content Providers","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"hris/api-reference/time-off/get-time-off-type","slug":"/hris/api-reference/time-off/get-time-off-type","pageMetadata":{"noindex":true,"openapi":"get /unified/hris/time_off_types/{id}","icon":"circle-exclamation","title":"Get time off type","description":null,"href":"/hris/api-reference/time-off/get-time-off-type"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Icon,Warning}=_components;if(!Icon)_missingMdxReference(`Icon`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`This endpoint is deprecated`}),` `,_jsx(Icon,{icon:`triangle-exclamation`,color:`#fbbf24`,size:19})]})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"noindex":true,"openapi":"get /unified/hris/time_off_types/{id}","icon":"circle-exclamation","title":"Get time off type","description":null,"href":"/hris/api-reference/time-off/get-time-off-type"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"deprecated":true,"operationId":"hris_get_time_off_type","parameters":["e0995473-b7da-4575-a040-db506c771efa","3075b06b-eaa0-42d6-8e6b-5b41341953a7","cac3d55c-8570-4183-aca4-6316a067e982","214e937d-8def-4131-b077-ccba16c0aa12","c78cd6c2-2bb4-4e81-a1b5-bdc7cfb14f83","d9d93fb7-733e-4529-8183-43a025c719d8"],"responses":{"200":"8db01a0b-051c-40b9-b02d-08aa042e988f","400":"44ae770f-a47f-473d-b824-6ec536414fed","401":"9a25acbc-69e5-461b-a6cc-feba32e8e6c4","403":"13f75d01-5ba5-4bdc-b09d-040e7f07c8b4","404":"e59fcc8a-cf4c-4633-a6d9-04b4e38c8c01","408":"df6bd0c6-4d0f-4fb7-9f08-27688c49d820","409":"b1924114-a60b-4343-9852-bb50256bb64c","412":"a26c21ef-723d-4e3d-b7e2-b384059cbba5","422":"ea01e992-9436-47ad-a9e6-83ed8c9f6224","429":"07334a98-5a5b-46bc-90a8-18607c5210cf","500":"855b0815-f041-4c82-a7f1-2402b5b99158","501":"df5810a6-69cc-4d50-92e9-a99c1b6f82bb","502":"eaa06e01-547d-4eb3-93e4-54f40636205e"},"security":["438a5f7b-7f5b-42b1-9f5f-57004e100ae9"],"summary":"Get time off type","tags":["Time Off"],"x-speakeasy-group":"hris","x-speakeasy-name-override":"get_time_off_type","x-speakeasy-retries":{"statusCodes":[429,408],"strategy":"backoff"},"method":"get","type":"path","servers":["3fc4e412-3fe4-4fe9-ad21-640ebea94adc"],"path":"/unified/hris/time_off_types/{id}","baseUrlOptions":["https://api.stackone.com"],"title":"Get time off type","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"e0995473-b7da-4575-a040-db506c771efa":{"name":"x-account-id","in":"header","description":"The account identifier","required":true,"schema":{"type":"string","isRequired":true,"description":"The account identifier","uniqueKey":"","typeLabel":"string"}},"3075b06b-eaa0-42d6-8e6b-5b41341953a7":{"name":"id","required":true,"in":"path","schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"cac3d55c-8570-4183-aca4-6316a067e982":{"name":"raw","required":false,"in":"query","description":"Indicates that the raw request result should be returned in addition to the mapped result (default value is false)","schema":{"oneOf":[{"type":"boolean","description":"Indicates that the raw request result should be returned in addition to the mapped result (default value is false)","uniqueKey":"oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Indicates that the raw request result should be returned in addition to the mapped result (default value is false)","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"boolean | null"}},"214e937d-8def-4131-b077-ccba16c0aa12":{"name":"proxy","required":false,"in":"query","description":"Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key","style":"deepObject","explode":true,"schema":{"oneOf":[{"additionalProperties":true,"type":"object","description":"Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key","uniqueKey":"oneOf.0","typeLabel":"object"},{"additionalProperties":true,"type":"null","description":"Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"object | null"}},"c78cd6c2-2bb4-4e81-a1b5-bdc7cfb14f83":{"name":"fields","required":false,"in":"query","description":"The comma separated list of fields that will be returned in the response (if empty, all fields are returned)","schema":{"oneOf":[{"example":"id,remote_id,name,active,unified_custom_fields","type":"string","description":"The comma separated list of fields that will be returned in the response (if empty, all fields are returned)","uniqueKey":"oneOf.0","typeLabel":"string"},{"example":"id,remote_id,name,active,unified_custom_fields","type":"null","description":"The comma separated list of fields that will be returned in the response (if empty, all fields are returned)","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}},"d9d93fb7-733e-4529-8183-43a025c719d8":{"name":"Prefer","in":"header","required":false,"description":"Set to \"heartbeat\" to enable keep-alive newline heartbeats during long-running requests. Response includes Preference-Applied: heartbeat header when honored. (RFC 7240)","schema":{"type":"string","example":"heartbeat","isRequired":false,"description":"Set to \"heartbeat\" to enable keep-alive newline heartbeats during long-running requests. Response includes Preference-Applied: heartbeat header when honored. (RFC 7240)","uniqueKey":"","typeLabel":"string"}}},"responses":{"8db01a0b-051c-40b9-b02d-08aa042e988f":{"description":"The time off type with the given identifier was retrieved.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"oneOf":[{"type":"string","description":"The reference id","example":"1687-3","uniqueKey":"data.id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The reference id","example":"1687-3","uniqueKey":"data.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.id","typeLabel":"string | null"},"remote_id":{"oneOf":[{"type":"string","description":"Provider's unique identifier","example":"8187e5da-dc77-475e-9949-af0f1fa4e4e3","uniqueKey":"data.remote_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Provider's unique identifier","example":"8187e5da-dc77-475e-9949-af0f1fa4e4e3","uniqueKey":"data.remote_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.remote_id","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The reference name","example":"1687-4","uniqueKey":"data.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The reference name","example":"1687-4","uniqueKey":"data.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.name","typeLabel":"string | null"},"active":{"oneOf":[{"type":"boolean","description":"The reference status","example":true,"uniqueKey":"data.active.oneOf.0","typeLabel":"boolean"},{"type":"string","description":"The reference status","enum":["true","false"],"example":true,"uniqueKey":"data.active.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"data.active.oneOf.2","typeLabel":"null"}],"uniqueKey":"data.active","typeLabel":"boolean | enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"raw":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"method":{"type":"string","isRequired":true,"uniqueKey":"raw.oneOf.0.items.[INDEX].method","typeLabel":"string"},"url":{"type":"string","isRequired":true,"uniqueKey":"raw.oneOf.0.items.[INDEX].url","typeLabel":"string"},"body":{"oneOf":[{"type":"object","additionalProperties":true,"uniqueKey":"raw.oneOf.0.items.[INDEX].body.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"raw.oneOf.0.items.[INDEX].body.oneOf.1","typeLabel":"null"}],"uniqueKey":"raw.oneOf.0.items.[INDEX].body","typeLabel":"object | null"},"response":{"oneOf":[{"type":"object","additionalProperties":true,"uniqueKey":"raw.oneOf.0.items.[INDEX].response.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"raw.oneOf.0.items.[INDEX].response.oneOf.1.items.[INDEX]","typeLabel":"any"},"uniqueKey":"raw.oneOf.0.items.[INDEX].response.oneOf.1","typeLabel":"any[]"},{"type":"string","uniqueKey":"raw.oneOf.0.items.[INDEX].response.oneOf.2","typeLabel":"string"},{"type":"null","uniqueKey":"raw.oneOf.0.items.[INDEX].response.oneOf.3","typeLabel":"null"}],"uniqueKey":"raw.oneOf.0.items.[INDEX].response","typeLabel":"object | any[] | string | null"}},"required":["method","url"],"uniqueKey":"raw.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"raw.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"method":{"type":"string"},"url":{"type":"string"},"body":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"response":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"array","items":{"oneOf":[{}]}},{"type":"string"},{"type":"null"}]}},"required":["method","url"]},"uniqueKey":"raw.oneOf.1","typeLabel":"null"}],"uniqueKey":"raw","typeLabel":"object[] | null"}},"required":["data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"1687-3","remote_id":"8187e5da-dc77-475e-9949-af0f1fa4e4e3","name":"1687-4","active":true},"raw":[{"method":"\u003cstring>","url":"\u003cstring>","body":{},"response":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"44ae770f-a47f-473d-b824-6ec536414fed":{"description":"Invalid request.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Bad Request","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"data":{"oneOf":[{"type":"object","description":"Error details","properties":{"statusCode":{"oneOf":[{"type":"number","description":"HTTP status code","example":400,"uniqueKey":"data.oneOf.0.statusCode.oneOf.0","typeLabel":"number"},{"type":"null","description":"HTTP status code","example":400,"uniqueKey":"data.oneOf.0.statusCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.statusCode","typeLabel":"number | null"},"message":{"oneOf":[{"type":"string","description":"Error message","example":"Bad Request","uniqueKey":"data.oneOf.0.message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Error message","example":"Bad Request","uniqueKey":"data.oneOf.0.message.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.message","typeLabel":"string | null"},"headers":{"oneOf":[{"type":"object","description":"Response headers","example":{"content-type":"application/json","x-request-id":"5678c28b211dace4e0a0f9171e6b88c5"},"uniqueKey":"data.oneOf.0.headers.oneOf.0","typeLabel":"object"},{"type":"null","description":"Response headers","example":{"content-type":"application/json","x-request-id":"5678c28b211dace4e0a0f9171e6b88c5"},"uniqueKey":"data.oneOf.0.headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.headers","typeLabel":"object | null"}},"uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"provider_errors":{"oneOf":[{"description":"List of provider-specific errors","type":"array","items":{"type":"object","properties":{"status":{"oneOf":[{"type":"number","description":"HTTP status code of the provider error","example":400,"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].status.oneOf.0","typeLabel":"number"},{"type":"null","description":"HTTP status code of the provider error","example":400,"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].status.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].status","typeLabel":"number | null"},"url":{"oneOf":[{"type":"string","description":"URL that caused the error","example":"https://api.provider.com/v1/resource","uniqueKey":"provider_errors.oneOf.0.items.[INDEX].url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL that caused the error","example":"https://api.provider.com/v1/resource","uniqueKey":"provider_errors.oneOf.0.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].url","typeLabel":"string | null"},"raw":{"oneOf":[{"type":"object","description":"Raw error response from the provider","example":{"message":"Invalid input parameters"},"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].raw.oneOf.0","typeLabel":"object"},{"type":"null","description":"Raw error response from the provider","example":{"message":"Invalid input parameters"},"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].raw.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].raw","typeLabel":"object | null"},"headers":{"oneOf":[{"type":"object","description":"Response headers","example":{"content-type":"application/json","x-request-id":"5678c28b211dace4e0a0f9171e6b88c5"},"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].headers.oneOf.0","typeLabel":"object"},{"type":"null","description":"Response headers","example":{"content-type":"application/json","x-request-id":"5678c28b211dace4e0a0f9171e6b88c5"},"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].headers","typeLabel":"object | null"}},"uniqueKey":"provider_errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"provider_errors.oneOf.0","typeLabel":"object[]"},{"description":"List of provider-specific errors","type":"null","items":{"type":"object","properties":{"status":{"oneOf":[{"type":"number","description":"HTTP status code of the provider error","example":400},{"type":"null","description":"HTTP status code of the provider error","example":400}]},"url":{"oneOf":[{"type":"string","description":"URL that caused the error","example":"https://api.provider.com/v1/resource"},{"type":"null","description":"URL that caused the error","example":"https://api.provider.com/v1/resource"}]},"raw":{"oneOf":[{"type":"object","description":"Raw error response from the provider","example":{"message":"Invalid input parameters"}},{"type":"null","description":"Raw error response from the provider","example":{"message":"Invalid input parameters"}}]},"headers":{"oneOf":[{"type":"object","description":"Response headers","example":{"content-type":"application/json","x-request-id":"5678c28b211dace4e0a0f9171e6b88c5"}},{"type":"null","description":"Response headers","example":{"content-type":"application/json","x-request-id":"5678c28b211dace4e0a0f9171e6b88c5"}}]}}},"uniqueKey":"provider_errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_errors","typeLabel":"object[] | null"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":400,"message":"Bad Request","timestamp":"2023-05-30T00:00:00.000Z","data":{"statusCode":400,"message":"Bad Request","headers":{"content-type":"application/json","x-request-id":"5678c28b211dace4e0a0f9171e6b88c5"}},"provider_errors":[{"status":400,"url":"https://api.provider.com/v1/resource","raw":{"message":"Invalid input parameters"},"headers":{"content-type":"application/json","x-request-id":"5678c28b211dace4e0a0f9171e6b88c5"}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"9a25acbc-69e5-461b-a6cc-feba32e8e6c4":{"description":"Unauthorized access.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":401,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Unauthorized","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":401,"message":"Unauthorized","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"13f75d01-5ba5-4bdc-b09d-040e7f07c8b4":{"description":"Forbidden.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Forbidden resource","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":403,"message":"Forbidden resource","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"e59fcc8a-cf4c-4633-a6d9-04b4e38c8c01":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Not Found","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":404,"message":"Not Found","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"df6bd0c6-4d0f-4fb7-9f08-27688c49d820":{"description":"The request has timed out.","headers":{"Retry-After":{"description":"A time in seconds after which the request can be retried.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":408,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Request timed out","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":408,"message":"Request timed out","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"b1924114-a60b-4343-9852-bb50256bb64c":{"description":"Conflict with current state.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":409,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Conflict","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":409,"message":"Conflict","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"a26c21ef-723d-4e3d-b7e2-b384059cbba5":{"description":"Precondition failed: linked account belongs to a disabled integration.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":412,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Precondition failed","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":412,"message":"Precondition failed","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"ea01e992-9436-47ad-a9e6-83ed8c9f6224":{"description":"Validation error.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":422,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Unprocessable Entity","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":422,"message":"Unprocessable Entity","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"07334a98-5a5b-46bc-90a8-18607c5210cf":{"description":"Too many requests.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":429,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Too many requests","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":429,"message":"Too many requests","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"855b0815-f041-4c82-a7f1-2402b5b99158":{"description":"Server error while executing the request.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Internal server error","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":500,"message":"Internal server error","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"df5810a6-69cc-4d50-92e9-a99c1b6f82bb":{"description":"This functionality is not implemented.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":501,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Not Implemented","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":501,"message":"Not Implemented","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"eaa06e01-547d-4eb3-93e4-54f40636205e":{"description":"Bad gateway error.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":502,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Bad Gateway","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":502,"message":"Bad Gateway","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"438a5f7b-7f5b-42b1-9f5f-57004e100ae9":{"basic":{"type":"http","scheme":"basic","scopes":[]}}},"servers":{"3fc4e412-3fe4-4fe9-ad21-640ebea94adc":{"url":"https://api.stackone.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"basic","scopes":[]},"schema":{"title":"Basic Auth","type":"object","description":"Basic authentication header of the form `Basic \u003cencoded-value>`, where `\u003cencoded-value>` is the base64-encoded string `username:password`.","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"basic","name":"Authorization"}],"title":"basic"}]},"originalFileLocation":"hris/api-reference/hris.json"},"subdomain":"stackone-hub","siteName":"StackOne Hub Documentation","title":"Get time off type - StackOne Hub Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-14T10:07:09.908Z","originalFileLocation":"hris/api-reference/time-off/get-time-off-type.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"StackOne Hub Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex, nofollow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get time off type - StackOne Hub Documentation\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"StackOne Hub Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://hub.stackone.com/hris/api-reference/time-off/get-time-off-type\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://stackone-hub.mintlify.site/_mintlify/api/og/v2?division=Time+Off\u0026amp;title=Get+time+off+type\u0026amp;theme=7259f7adbb63bf9936a89a40\u0026amp;signature=7dc834c6ec1693f1127f55d3878d85dffa6456ac04d7ff0d6db705d88c44ed4a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get time off type - StackOne Hub Documentation\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://stackone-hub.mintlify.site/_mintlify/api/og/v2?division=Time+Off\u0026amp;title=Get+time+off+type\u0026amp;theme=7259f7adbb63bf9936a89a40\u0026amp;signature=7dc834c6ec1693f1127f55d3878d85dffa6456ac04d7ff0d6db705d88c44ed4a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"StackOne Hub Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#05C168\">\u003clink data-mint-head rel=\"canonical\" href=\"https://hub.stackone.com/hris/api-reference/time-off/get-time-off-type\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/hris/api-reference/time-off/get-time-off-type.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"StackOne Hub Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"StackOne Hub Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/hris/api-reference/time-off/get-time-off-type.md","siteName":"StackOne Hub Documentation","nav":{"global":null,"tabs":[{"tab":"Hub Guides","pages":[{"title":"Hub Guides","href":"/integrations"}]},{"tab":"Legacy Unified APIs","anchors":[{"anchor":"Getting Started","icon":"key","pages":[{"title":"Getting Started","href":"/legacy-unified-apis/introduction"}]},{"anchor":"HRIS","icon":"users","pages":[{"group":"Unified HRIS API","icon":"book-open","root":{"title":"Unified HRIS API","href":"/hris/introduction"},"pages":[{"title":"Making your first request","sidebarTitle":"Making your first request","href":"/hris/first-request"},{"group":"Connector-specific Guides","icon":"plug","pages":[{"title":"ADP Workforce Now Employee Update Passthrough Usage","href":"/integration-guides/hris/adp-workforce-now-employee-update-passthrough"},{"title":"SAP SuccessFactors Permission Configuration","href":"/integration-guides/hris/SapSuccessfactors-Permission-Configuration"},{"title":"Workday WQL","href":"/integration-guides/hris/workday-wql"}]},{"group":"Troubleshooting","icon":"bug","pages":[{"title":"HRIS Connector Errors","sidebarTitle":"Connector Errors","href":"/hris/common-guide/connector-errors"}]},{"group":"Use-case guides","icon":"lightbulb","pages":[{"title":"User Syncing from HRIS","href":"/hris/use-cases/sync-users"},{"title":"Automated Employee Provisioning","href":"/hris/use-cases/employee-provisioning"}]}]},{"group":"API Reference","icon":"code","pages":[{"group":"Companies","pages":[{"openapi":"get /unified/hris/companies","title":"List Companies","href":"/hris/api-reference/companies/list-companies"},{"openapi":"get /unified/hris/companies/{id}","title":"Get Company","href":"/hris/api-reference/companies/get-company"}]},{"group":"Custom Field Definitions","pages":[{"openapi":"get /unified/hris/custom_field_definitions/employees","title":"List employee Custom Field Definitions","href":"/hris/api-reference/custom-field-definitions/list-employee-custom-field-definitions"},{"openapi":"get /unified/hris/custom_field_definitions/employees/{id}","title":"Get employee Custom Field Definition","href":"/hris/api-reference/custom-field-definitions/get-employee-custom-field-definition"}]},{"group":"Employees","pages":[{"openapi":"get /unified/hris/employees","title":"List Employees","href":"/hris/api-reference/employees/list-employees"},{"openapi":"post /unified/hris/employees","title":"Create Employee","href":"/hris/api-reference/employees/create-employee"},{"openapi":"get /unified/hris/employees/{id}","title":"Get Employee","href":"/hris/api-reference/employees/get-employee"},{"openapi":"patch /unified/hris/employees/{id}","title":"Update Employee","href":"/hris/api-reference/employees/update-employee"},{"openapi":"post /unified/hris/employees/{id}/invite","title":"Invite Employee","href":"/hris/api-reference/employees/invite-employee"},{"group":"Shifts","pages":[{"openapi":"get /unified/hris/employees/{id}/shifts","title":"List Employee Shifts","href":"/hris/api-reference/employees/shifts/list-employee-shifts"},{"openapi":"get /unified/hris/employees/{id}/shifts/{subResourceId}","title":"Get Employee Shift","href":"/hris/api-reference/employees/shifts/get-employee-shift"}]},{"group":"Time Off","pages":[{"openapi":"get /unified/hris/employees/{id}/time_off","title":"List Employee Time Off Requests","href":"/hris/api-reference/employees/time-off/list-employee-time-off-requests"},{"openapi":"post /unified/hris/employees/{id}/time_off","title":"Create Employee Time Off Request","href":"/hris/api-reference/employees/time-off/create-employee-time-off-request"},{"openapi":"get /unified/hris/employees/{id}/time_off/{subResourceId}","title":"Get Employees Time Off Request","href":"/hris/api-reference/employees/time-off/get-employees-time-off-request"},{"openapi":"patch /unified/hris/employees/{id}/time_off/{subResourceId}","title":"Update Employee Time Off Request","href":"/hris/api-reference/employees/time-off/update-employee-time-off-request"},{"openapi":"delete /unified/hris/employees/{id}/time_off/{subResourceId}","title":"Cancel Employee Time Off Request","href":"/hris/api-reference/employees/time-off/cancel-employee-time-off-request"}]},{"group":"Documents","pages":[{"openapi":"post /unified/hris/employees/{id}/documents/upload/batch","title":"Batch Upload Employee Document","href":"/hris/api-reference/employees/documents/batch-upload-employee-document"},{"openapi":"post /unified/hris/employees/{id}/documents/upload","title":"Upload Employee Document","href":"/hris/api-reference/employees/documents/upload-employee-document"},{"openapi":"get /unified/hris/employees/{id}/documents/{subResourceId}/download","title":"Download Employee Document","href":"/hris/api-reference/employees/documents/download-employee-document"},{"openapi":"get /unified/hris/employees/{id}/documents","title":"List Employee Documents","href":"/hris/api-reference/employees/documents/list-employee-documents"},{"openapi":"get /unified/hris/employees/{id}/documents/{subResourceId}","title":"Get Employee Document","href":"/hris/api-reference/employees/documents/get-employee-document"}]},{"group":"Work Eligibility","pages":[{"openapi":"get /unified/hris/employees/{id}/work_eligibility","title":"List Employee Work Eligibility","href":"/hris/api-reference/employees/work-eligibility/list-employee-work-eligibility"},{"openapi":"post /unified/hris/employees/{id}/work_eligibility","title":"Create Employee Work Eligibility Request","href":"/hris/api-reference/employees/work-eligibility/create-employee-work-eligibility-request"},{"openapi":"get /unified/hris/employees/{id}/work_eligibility/{subResourceId}","title":"Get Employees Work Eligibility","href":"/hris/api-reference/employees/work-eligibility/get-employees-work-eligibility"},{"openapi":"patch /unified/hris/employees/{id}/work_eligibility/{subResourceId}","title":"Update Employee Work Eligibility Request","href":"/hris/api-reference/employees/work-eligibility/update-employee-work-eligibility-request"}]},{"group":"Time Off Balances","pages":[{"openapi":"get /unified/hris/employees/{id}/time_off_balances","title":"List Employee Time Off Balances","href":"/hris/api-reference/employees/time-off-balances/list-employee-time-off-balances"},{"openapi":"get /unified/hris/employees/{id}/time_off_balances/{subResourceId}","title":"Get Employee Time Off Balance","href":"/hris/api-reference/employees/time-off-balances/get-employee-time-off-balance"}]},{"group":"Employments","pages":[{"openapi":"get /unified/hris/employees/{id}/employments","title":"List Employee Employments","href":"/hris/api-reference/employees/employments/list-employee-employments"},{"openapi":"post /unified/hris/employees/{id}/employments","title":"Create Employee Employment","href":"/hris/api-reference/employees/employments/create-employee-employment"},{"openapi":"get /unified/hris/employees/{id}/employments/{subResourceId}","title":"Get Employee Employment","href":"/hris/api-reference/employees/employments/get-employee-employment"},{"openapi":"patch /unified/hris/employees/{id}/employments/{subResourceId}","title":"Update Employee Employment","href":"/hris/api-reference/employees/employments/update-employee-employment"}]},{"group":"Time Off Policies","pages":[{"openapi":"get /unified/hris/employees/{id}/time_off_policies","title":"List Assigned Time Off Policies","href":"/hris/api-reference/employees/time-off-policies/list-assigned-time-off-policies"}]},{"group":"Skills","pages":[{"openapi":"get /unified/hris/employees/{id}/skills","title":"List Employee Skills","href":"/hris/api-reference/employees/skills/list-employee-skills"},{"openapi":"post /unified/hris/employees/{id}/skills","title":"Create Employee Skill","href":"/hris/api-reference/employees/skills/create-employee-skill"},{"openapi":"get /unified/hris/employees/{id}/skills/{subResourceId}","title":"Get Employee Skill","href":"/hris/api-reference/employees/skills/get-employee-skill"}]},{"group":"Tasks","pages":[{"openapi":"get /unified/hris/employees/{id}/tasks","title":"List Employee Tasks","href":"/hris/api-reference/employees/tasks/list-employee-tasks"},{"openapi":"get /unified/hris/employees/{id}/tasks/{subResourceId}","title":"Get Employee Task","href":"/hris/api-reference/employees/tasks/get-employee-task"},{"openapi":"patch /unified/hris/employees/{id}/tasks/{subResourceId}","title":"Update Employee Task","href":"/hris/api-reference/employees/tasks/update-employee-task"}]}]},{"group":"Documents","pages":[{"openapi":"get /unified/hris/documents/employee_categories","title":"List Employee Document Categories","href":"/hris/api-reference/documents/list-employee-document-categories"},{"openapi":"get /unified/hris/documents/employee_categories/{id}","title":"Get Employee Document Category","href":"/hris/api-reference/documents/get-employee-document-category"}]},{"group":"Employments","pages":[{"openapi":"get /unified/hris/employments","title":"List Employments","href":"/hris/api-reference/employments/list-employments"},{"openapi":"get /unified/hris/employments/{id}","title":"Get Employment","href":"/hris/api-reference/employments/get-employment"}]},{"group":"Groups","pages":[{"openapi":"get /unified/hris/groups","title":"List Groups","href":"/hris/api-reference/groups/list-groups"},{"openapi":"get /unified/hris/groups/departments","title":"List Department Groups","href":"/hris/api-reference/groups/list-department-groups"},{"openapi":"get /unified/hris/groups/cost_centers","title":"List Cost Center Groups","href":"/hris/api-reference/groups/list-cost-center-groups"},{"openapi":"get /unified/hris/groups/teams","title":"List Team Groups","href":"/hris/api-reference/groups/list-team-groups"},{"openapi":"get /unified/hris/groups/divisions","title":"List Division Groups","href":"/hris/api-reference/groups/list-division-groups"},{"openapi":"get /unified/hris/groups/companies","title":"List Companies Groups","href":"/hris/api-reference/groups/list-companies-groups"},{"openapi":"get /unified/hris/groups/{id}","title":"Get Group","href":"/hris/api-reference/groups/get-group"},{"openapi":"get /unified/hris/groups/departments/{id}","title":"Get Department Group","href":"/hris/api-reference/groups/get-department-group"},{"openapi":"get /unified/hris/groups/cost_centers/{id}","title":"Get Cost Center Group","href":"/hris/api-reference/groups/get-cost-center-group"},{"openapi":"get /unified/hris/groups/teams/{id}","title":"Get Team Group","href":"/hris/api-reference/groups/get-team-group"},{"openapi":"get /unified/hris/groups/divisions/{id}","title":"Get Division Group","href":"/hris/api-reference/groups/get-division-group"},{"openapi":"get /unified/hris/groups/companies/{id}","title":"Get Company Group","href":"/hris/api-reference/groups/get-company-group"}]},{"group":"Jobs","pages":[{"openapi":"get /unified/hris/jobs","title":"List Jobs","href":"/hris/api-reference/jobs/list-jobs"},{"openapi":"get /unified/hris/jobs/{id}","title":"Get Job","href":"/hris/api-reference/jobs/get-job"}]},{"group":"Locations","pages":[{"openapi":"get /unified/hris/locations","title":"List Work Locations","href":"/hris/api-reference/locations/list-work-locations"},{"openapi":"get /unified/hris/locations/{id}","title":"Get Work Location","href":"/hris/api-reference/locations/get-work-location"}]},{"group":"Positions","pages":[{"openapi":"get /unified/hris/positions","title":"List Positions","href":"/hris/api-reference/positions/list-positions"},{"openapi":"get /unified/hris/positions/{id}","title":"Get Position","href":"/hris/api-reference/positions/get-position"}]},{"group":"Time Entries","pages":[{"openapi":"get /unified/hris/time_entries","title":"List Time Entries","href":"/hris/api-reference/time-entries/list-time-entries"},{"openapi":"get /unified/hris/time_entries/{id}","title":"Get Time Entry","href":"/hris/api-reference/time-entries/get-time-entry"}]},{"group":"Time Off","pages":[{"openapi":"get /unified/hris/time_off","title":"List time off requests","href":"/hris/api-reference/time-off/list-time-off-requests"},{"openapi":"get /unified/hris/time_off/{id}","title":"Get time off request","href":"/hris/api-reference/time-off/get-time-off-request"},{"openapi":"get /unified/hris/time_off_types","icon":"circle-exclamation","title":"List time off types","description":null,"href":"/hris/api-reference/time-off/list-time-off-types"},{"openapi":"get /unified/hris/time_off_types/{id}","icon":"circle-exclamation","title":"Get time off type","href":"/hris/api-reference/time-off/get-time-off-type"}]},{"group":"Shifts","pages":[{"openapi":"get /unified/hris/shifts","title":"List Shifts","description":null,"href":"/hris/api-reference/shifts/list-shifts"},{"openapi":"get /unified/hris/shifts/{id}","title":"Get Shift","href":"/hris/api-reference/shifts/get-shift"}]},{"group":"Time Off Policies","pages":[{"openapi":"get /unified/hris/time_off_policies","title":"List Time Off Policies","href":"/hris/api-reference/time-off-policies/list-time-off-policies"},{"openapi":"get /unified/hris/time_off_policies/{id}","title":"Get Time Off Policy","href":"/hris/api-reference/time-off-policies/get-time-off-policy"}]},{"group":"Benefits","pages":[{"openapi":"get /unified/hris/benefits","title":"List benefits","href":"/hris/api-reference/benefits/list-benefits"},{"openapi":"get /unified/hris/benefits/{id}","title":"Get Benefit","href":"/hris/api-reference/benefits/get-benefit"}]},{"group":"Tasks","pages":[{"openapi":"get /unified/hris/tasks","title":"List Tasks","href":"/hris/api-reference/tasks/list-tasks"},{"openapi":"get /unified/hris/tasks/{id}","title":"Get Task","href":"/hris/api-reference/tasks/get-task"}]}]}]},{"anchor":"ATS","icon":"user-plus","pages":[{"title":"ATS","href":"/ats/introduction"}]},{"anchor":"CRM","icon":"address-book","pages":[{"title":"CRM","href":"/crm/introduction"}]},{"anchor":"LMS","icon":"graduation-cap","pages":[{"title":"LMS","href":"/lms/introduction"}]},{"anchor":"Accounting","icon":"calculator","pages":[{"title":"Accounting","href":"/accounting/introduction"}]}]}]},"basePath":"","title":"Get time off type - StackOne Hub Documentation","deploymentId":"dpl_9e4H7L1tnDKAVRTqiF1skrLRiVsQ","buildId":"dpl_9e4H7L1tnDKAVRTqiF1skrLRiVsQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-D6KNClEF.js","snippetPresets-CN44Lskf.js","utils-DugrcZMa.js","style-to-object-BY3JEAdk.js","utils-Cc3Z-gDc.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Ca3zz9z4.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D-iUE9nI.js","_Uint8Array-BHx8QAcS.js","isObject-FP1Yky1u.js","ApiExamples-BNOMQHyZ.js","usePlaygroundInputsStore-w4dOiRHH.js","shallow-CPx44l9K.js","isEqual--ENmxjZX.js","CodeSnippets-BLcxds8m.js","CodeSnippet-Dal3UuOY.js","use-playground-group-access-gaOBzvE6.js","Page-LmYeW6Qw.js","api-description-markdown-CtLxKAvr.js","DynamicMarkdown-oxDihwef.js","SectionHeading-Ksc-LLuU.js","MethodPill-Bf9L2jiF.js","getPastedJson-fbqO7msq.js","Check2Icon-Dfmbq_mm.js","axios-CsQoIw0U.js","Markdown-DtaCZrgp.js","AssistantPageLink-BwrhZg5d.js","dist-BOBeilfN.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}