{
  "info": {
    "_postman_id": "69c36130-ae4f-440f-9856-865d131fc7f4",
    "name": "Workday Integration Workday Absence Management Absence Types Time Blocks API",
    "description": "API for managing employee leave requests, absence types, and time-off balances. Retrieves eligible absence types for employees and supports validation of leave category selections.\n\nContact Support:\n Name: Workday API Support\n Email: api-support@workday.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:34:33.000Z",
    "updatedAt": "2026-07-28T03:34:33.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-69c36130-ae4f-440f-9856-865d131fc7f4"
  },
  "item": [
    {
      "name": "workerTimeBlocks",
      "item": [
        {
          "name": "{ID}",
          "item": [
            {
              "name": "Workday Integration Retrieve a specific worker time block",
              "id": "a05175f5-8fce-46b4-ae78-7b4af7280c39",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/workerTimeBlocks/:ID",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workerTimeBlocks",
                    ":ID"
                  ],
                  "variable": [
                    {
                      "id": "ffc986c1-960c-444d-a0b6-1187efeb35f9",
                      "key": "ID",
                      "value": "<string>",
                      "description": "(Required) The Workday ID of the resource"
                    }
                  ]
                },
                "description": "Returns the specified worker time block with start and end times."
              },
              "response": [
                {
                  "id": "f18dbd31-8697-43c1-8c1b-43d9a7a26ca2",
                  "name": "Successful response with the time block",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: oauth2",
                        "key": "Authorization",
                        "value": "<token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/workerTimeBlocks/:ID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "workerTimeBlocks",
                        ":ID"
                      ],
                      "variable": [
                        {
                          "key": "ID"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"id\": \"<string>\",\n  \"descriptor\": \"<string>\",\n  \"worker\": {\n    \"id\": \"<string>\",\n    \"descriptor\": \"<string>\",\n    \"href\": \"<uri>\"\n  },\n  \"date\": \"<date>\",\n  \"startTime\": \"<dateTime>\",\n  \"endTime\": \"<dateTime>\",\n  \"totalHours\": \"<number>\",\n  \"timeCode\": {\n    \"id\": \"<string>\",\n    \"descriptor\": \"<string>\",\n    \"href\": \"<uri>\"\n  }\n}",
                  "createdAt": "2026-07-28T03:34:34.000Z",
                  "updatedAt": "2026-07-28T03:34:34.000Z",
                  "uid": "35240-f18dbd31-8697-43c1-8c1b-43d9a7a26ca2"
                },
                {
                  "id": "67d8168a-7aba-430a-b5af-19cffc719fdc",
                  "name": "Authentication required",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: oauth2",
                        "key": "Authorization",
                        "value": "<token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/workerTimeBlocks/:ID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "workerTimeBlocks",
                        ":ID"
                      ],
                      "variable": [
                        {
                          "key": "ID"
                        }
                      ]
                    }
                  },
                  "status": "Unauthorized",
                  "code": 401,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"error\": \"<string>\",\n  \"errors\": [\n    {\n      \"error\": \"<string>\",\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"error\": \"<string>\",\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                  "createdAt": "2026-07-28T03:34:34.000Z",
                  "updatedAt": "2026-07-28T03:34:34.000Z",
                  "uid": "35240-67d8168a-7aba-430a-b5af-19cffc719fdc"
                },
                {
                  "id": "529958a4-1ed4-43b3-9287-4531daa41517",
                  "name": "Insufficient permissions",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: oauth2",
                        "key": "Authorization",
                        "value": "<token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/workerTimeBlocks/:ID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "workerTimeBlocks",
                        ":ID"
                      ],
                      "variable": [
                        {
                          "key": "ID"
                        }
                      ]
                    }
                  },
                  "status": "Forbidden",
                  "code": 403,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"error\": \"<string>\",\n  \"errors\": [\n    {\n      \"error\": \"<string>\",\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"error\": \"<string>\",\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                  "createdAt": "2026-07-28T03:34:34.000Z",
                  "updatedAt": "2026-07-28T03:34:34.000Z",
                  "uid": "35240-529958a4-1ed4-43b3-9287-4531daa41517"
                },
                {
                  "id": "1d29bccc-7c73-444e-8597-8090c37ea4d3",
                  "name": "Resource not found",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: oauth2",
                        "key": "Authorization",
                        "value": "<token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/workerTimeBlocks/:ID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "workerTimeBlocks",
                        ":ID"
                      ],
                      "variable": [
                        {
                          "key": "ID"
                        }
                      ]
                    }
                  },
                  "status": "Not Found",
                  "code": 404,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"error\": \"<string>\",\n  \"errors\": [\n    {\n      \"error\": \"<string>\",\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"error\": \"<string>\",\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                  "createdAt": "2026-07-28T03:34:34.000Z",
                  "updatedAt": "2026-07-28T03:34:34.000Z",
                  "uid": "35240-1d29bccc-7c73-444e-8597-8090c37ea4d3"
                }
              ],
              "createdAt": "2026-07-28T03:34:34.000Z",
              "updatedAt": "2026-07-28T03:34:34.000Z",
              "uid": "35240-a05175f5-8fce-46b4-ae78-7b4af7280c39"
            }
          ],
          "id": "ecca74d7-6b1a-49a6-beb4-854fa3cd8b84",
          "createdAt": "2026-07-28T03:34:34.000Z",
          "updatedAt": "2026-07-28T03:34:34.000Z",
          "uid": "35240-ecca74d7-6b1a-49a6-beb4-854fa3cd8b84"
        },
        {
          "name": "Workday Integration Retrieve worker time blocks",
          "id": "8b05240c-f67f-4e70-825a-e23417ff050a",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/workerTimeBlocks?limit=20&offset=0",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "workerTimeBlocks"
              ],
              "query": [
                {
                  "description": "The maximum number of objects in a single response (default 20, maximum 100)",
                  "key": "limit",
                  "value": "20"
                },
                {
                  "description": "The zero-based index of the first object in a response collection",
                  "key": "offset",
                  "value": "0"
                }
              ]
            },
            "description": "Returns a collection of time blocks representing worked hours for workers."
          },
          "response": [
            {
              "id": "f93fcfcc-2f69-4a4c-97a1-20526c465c2e",
              "name": "Successful response with worker time blocks",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: oauth2",
                    "key": "Authorization",
                    "value": "<token>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/workerTimeBlocks?limit=20&offset=0",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workerTimeBlocks"
                  ],
                  "query": [
                    {
                      "description": "The maximum number of objects in a single response (default 20, maximum 100)",
                      "key": "limit",
                      "value": "20"
                    },
                    {
                      "description": "The zero-based index of the first object in a response collection",
                      "key": "offset",
                      "value": "0"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"total\": \"<integer>\",\n  \"data\": [\n    {\n      \"id\": \"<string>\",\n      \"descriptor\": \"<string>\",\n      \"worker\": {\n        \"id\": \"<string>\",\n        \"descriptor\": \"<string>\",\n        \"href\": \"<uri>\"\n      },\n      \"date\": \"<date>\",\n      \"startTime\": \"<dateTime>\",\n      \"endTime\": \"<dateTime>\",\n      \"totalHours\": \"<number>\",\n      \"timeCode\": {\n        \"id\": \"<string>\",\n        \"descriptor\": \"<string>\",\n        \"href\": \"<uri>\"\n      }\n    },\n    {\n      \"id\": \"<string>\",\n      \"descriptor\": \"<string>\",\n      \"worker\": {\n        \"id\": \"<string>\",\n        \"descriptor\": \"<string>\",\n        \"href\": \"<uri>\"\n      },\n      \"date\": \"<date>\",\n      \"startTime\": \"<dateTime>\",\n      \"endTime\": \"<dateTime>\",\n      \"totalHours\": \"<number>\",\n      \"timeCode\": {\n        \"id\": \"<string>\",\n        \"descriptor\": \"<string>\",\n        \"href\": \"<uri>\"\n      }\n    }\n  ]\n}",
              "createdAt": "2026-07-28T03:34:34.000Z",
              "updatedAt": "2026-07-28T03:34:34.000Z",
              "uid": "35240-f93fcfcc-2f69-4a4c-97a1-20526c465c2e"
            },
            {
              "id": "0fbd6b85-c49b-47eb-853c-3478c2b29387",
              "name": "Authentication required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: oauth2",
                    "key": "Authorization",
                    "value": "<token>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/workerTimeBlocks?limit=20&offset=0",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workerTimeBlocks"
                  ],
                  "query": [
                    {
                      "description": "The maximum number of objects in a single response (default 20, maximum 100)",
                      "key": "limit",
                      "value": "20"
                    },
                    {
                      "description": "The zero-based index of the first object in a response collection",
                      "key": "offset",
                      "value": "0"
                    }
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"error\": \"<string>\",\n  \"errors\": [\n    {\n      \"error\": \"<string>\",\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"error\": \"<string>\",\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T03:34:34.000Z",
              "updatedAt": "2026-07-28T03:34:34.000Z",
              "uid": "35240-0fbd6b85-c49b-47eb-853c-3478c2b29387"
            },
            {
              "id": "a8a77a38-ea27-4c62-94ab-6a35176cff96",
              "name": "Insufficient permissions",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: oauth2",
                    "key": "Authorization",
                    "value": "<token>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/workerTimeBlocks?limit=20&offset=0",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workerTimeBlocks"
                  ],
                  "query": [
                    {
                      "description": "The maximum number of objects in a single response (default 20, maximum 100)",
                      "key": "limit",
                      "value": "20"
                    },
                    {
                      "description": "The zero-based index of the first object in a response collection",
                      "key": "offset",
                      "value": "0"
                    }
                  ]
                }
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"error\": \"<string>\",\n  \"errors\": [\n    {\n      \"error\": \"<string>\",\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"error\": \"<string>\",\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T03:34:34.000Z",
              "updatedAt": "2026-07-28T03:34:34.000Z",
              "uid": "35240-a8a77a38-ea27-4c62-94ab-6a35176cff96"
            }
          ],
          "createdAt": "2026-07-28T03:34:34.000Z",
          "updatedAt": "2026-07-28T03:34:34.000Z",
          "uid": "35240-8b05240c-f67f-4e70-825a-e23417ff050a"
        }
      ],
      "id": "241a9afd-9464-4276-aedf-c9a24b0cfd1f",
      "createdAt": "2026-07-28T03:34:34.000Z",
      "updatedAt": "2026-07-28T03:34:34.000Z",
      "uid": "35240-241a9afd-9464-4276-aedf-c9a24b0cfd1f"
    }
  ],
  "auth": {
    "type": "oauth2",
    "oauth2": [
      {
        "key": "scope",
        "value": "r:absenceManagement w:absenceManagement",
        "type": "string"
      },
      {
        "key": "redirect_uri",
        "value": "https://{baseUrl}/oauth2/{tenant}/token",
        "type": "string"
      },
      {
        "key": "accessTokenUrl",
        "value": "https://{baseUrl}/oauth2/{tenant}/token",
        "type": "string"
      },
      {
        "key": "authUrl",
        "value": "https://{baseUrl}/authorize",
        "type": "string"
      },
      {
        "key": "grant_type",
        "value": "authorization_code",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "wd2-impl-services1.workday.com"
    },
    {
      "key": "tenant",
      "value": "tenant"
    }
  ]
}