GET /holiday/v1/holidayEvents
<b>Secured By Domain:</b> Self-Service: Leave of Absence, Self-Service: Time Off, Worker Data: Leave of Absence, Worker Data: Time Off <b>Scope:</b> Time Off and Leave
Authentication
[
{
"OAuth2": []
}
]
Request, responses and operation details
{
"tags": [
"holidayEvents"
],
"description": "\n\n<b>Secured By Domain:</b> Self-Service: Leave of Absence, Self-Service: Time Off, Worker Data: Leave of Absence, Worker Data: Time Off\n\n<b>Scope:</b> Time Off and Leave",
"parameters": [
{
"name": "fromDate",
"in": "query",
"schema": {
"type": "string",
"format": "date"
}
},
{
"name": "limit",
"in": "query",
"description": "The maximum number of objects in a single response. The default is 20. The maximum is 100.",
"schema": {
"type": "integer",
"format": "int64"
}
},
{
"name": "offset",
"in": "query",
"description": "The zero-based index of the first object in a response collection. The default is 0. Use offset with the limit parameter to control paging of a response collection. Example: If limit is 5 and offset is 9, the response returns a collection of 5 objects starting with the 10th object.",
"schema": {
"type": "integer",
"format": "int64"
}
},
{
"name": "toDate",
"in": "query",
"schema": {
"type": "string",
"format": "date"
}
},
{
"name": "worker",
"in": "query",
"style": "form",
"explode": true,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
}
],
"responses": {
"200": {
"description": "Successful response. A successful response can return no matched data.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"total": {
"type": "integer",
"format": "int32"
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/holidayEventsInstanceView_b1f478bef08a100011f2bfc7bf3a0100"
}
}
}
}
}
}
},
"400": {
"description": "Invalid request. (https://community.workday.com/rest/error-messages)",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/VALIDATION_ERROR_MODEL_REFERENCE"
}
}
}
},
"401": {
"description": "Unauthorized: Missing or invalid credentials. (https://community.workday.com/rest/error-messages)",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/VALIDATION_ERROR_MODEL_REFERENCE"
}
}
}
},
"403": {
"description": "User has insufficient permissions. (https://community.workday.com/rest/error-messages)",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/VALIDATION_ERROR_MODEL_REFERENCE"
}
}
}
},
"404": {
"description": "Resource not found. (https://community.workday.com/rest/error-messages)",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/VALIDATION_ERROR_MODEL_REFERENCE"
}
}
}
},
"default": {
"description": "An error occurred.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ERROR_MODEL_REFERENCE"
}
}
}
}
},
"x-workday-internal-try-enabled": "false",
"x-workday-operation-id": "b1f478bef08a100007c74872cc8a00f0",
"x-workday-secured-by-domains": [
"Self-Service: Leave of Absence",
"Self-Service: Time Off",
"Worker Data: Leave of Absence",
"Worker Data: Time Off"
]
}