{
  "info": {
    "_postman_id": "0bd57a51-ee5e-4e00-9ff0-32939b32f5bb",
    "name": "Workday Integration Workday Absence Management Absence Types Payroll Canada 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:33:15.000Z",
    "updatedAt": "2026-07-28T03:33:15.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-0bd57a51-ee5e-4e00-9ff0-32939b32f5bb"
  },
  "item": [
    {
      "name": "payrollRuns",
      "item": [
        {
          "name": "{ID}",
          "item": [
            {
              "name": "Workday Integration Retrieve a specific PayrollRun",
              "id": "f2f7278a-b6a0-4b77-9556-9006e63aad42",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/payrollRuns/:ID",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "payrollRuns",
                    ":ID"
                  ],
                  "variable": [
                    {
                      "id": "1dabc31e-6fbf-46df-bdd7-b7ee0127519e",
                      "key": "ID",
                      "value": "<string>",
                      "description": "(Required) "
                    }
                  ]
                },
                "description": "Returns the specified PayrollRun instance with its details."
              },
              "response": [
                {
                  "id": "7e9baa8f-8c68-4315-85be-a806917961c6",
                  "name": "Successful response with the PayrollRun",
                  "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}}/payrollRuns/:ID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "payrollRuns",
                        ":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  \"href\": \"<uri>\"\n}",
                  "createdAt": "2026-07-28T03:33:15.000Z",
                  "updatedAt": "2026-07-28T03:33:15.000Z",
                  "uid": "35240-7e9baa8f-8c68-4315-85be-a806917961c6"
                },
                {
                  "id": "bf967712-c3fa-42ca-83cc-f46284d83dcb",
                  "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}}/payrollRuns/:ID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "payrollRuns",
                        ":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}",
                  "createdAt": "2026-07-28T03:33:15.000Z",
                  "updatedAt": "2026-07-28T03:33:15.000Z",
                  "uid": "35240-bf967712-c3fa-42ca-83cc-f46284d83dcb"
                },
                {
                  "id": "2a4786f5-6cfb-44dc-9755-bd5fbfa0800b",
                  "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}}/payrollRuns/:ID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "payrollRuns",
                        ":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}",
                  "createdAt": "2026-07-28T03:33:15.000Z",
                  "updatedAt": "2026-07-28T03:33:15.000Z",
                  "uid": "35240-2a4786f5-6cfb-44dc-9755-bd5fbfa0800b"
                },
                {
                  "id": "fe6b363e-8649-46bb-9973-417821c077be",
                  "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}}/payrollRuns/:ID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "payrollRuns",
                        ":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}",
                  "createdAt": "2026-07-28T03:33:15.000Z",
                  "updatedAt": "2026-07-28T03:33:15.000Z",
                  "uid": "35240-fe6b363e-8649-46bb-9973-417821c077be"
                }
              ],
              "createdAt": "2026-07-28T03:33:15.000Z",
              "updatedAt": "2026-07-28T03:33:15.000Z",
              "uid": "35240-f2f7278a-b6a0-4b77-9556-9006e63aad42"
            }
          ],
          "id": "2c1da658-1c7d-4cd5-bc30-2452fb318c67",
          "createdAt": "2026-07-28T03:33:15.000Z",
          "updatedAt": "2026-07-28T03:33:15.000Z",
          "uid": "35240-2c1da658-1c7d-4cd5-bc30-2452fb318c67"
        },
        {
          "name": "Workday Integration Retrieve a collection of payrollRuns",
          "id": "164b6dca-3011-46d2-a4d8-354237c57012",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payrollRuns?limit=20&offset=0&search=<string>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payrollRuns"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "20"
                },
                {
                  "key": "offset",
                  "value": "0"
                },
                {
                  "key": "search",
                  "value": "<string>"
                }
              ]
            },
            "description": "Returns a collection of payrollRuns from the Workday Payroll CAN API."
          },
          "response": [
            {
              "id": "3853dcc5-f7f2-4390-b79d-722bdf49c573",
              "name": "Successful response with payrollRuns",
              "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}}/payrollRuns?limit=20&offset=0&search=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "payrollRuns"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "20"
                    },
                    {
                      "key": "offset",
                      "value": "0"
                    },
                    {
                      "key": "search",
                      "value": "<string>"
                    }
                  ]
                }
              },
              "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      \"href\": \"<uri>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"descriptor\": \"<string>\",\n      \"href\": \"<uri>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T03:33:15.000Z",
              "updatedAt": "2026-07-28T03:33:15.000Z",
              "uid": "35240-3853dcc5-f7f2-4390-b79d-722bdf49c573"
            },
            {
              "id": "de96bdad-0a0f-46f9-80ad-85fc4d9c0c2d",
              "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}}/payrollRuns?limit=20&offset=0&search=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "payrollRuns"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "20"
                    },
                    {
                      "key": "offset",
                      "value": "0"
                    },
                    {
                      "key": "search",
                      "value": "<string>"
                    }
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"error\": \"<string>\"\n}",
              "createdAt": "2026-07-28T03:33:15.000Z",
              "updatedAt": "2026-07-28T03:33:15.000Z",
              "uid": "35240-de96bdad-0a0f-46f9-80ad-85fc4d9c0c2d"
            },
            {
              "id": "c9da0e6e-afd4-43b7-a9b9-5b43f208f058",
              "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}}/payrollRuns?limit=20&offset=0&search=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "payrollRuns"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "20"
                    },
                    {
                      "key": "offset",
                      "value": "0"
                    },
                    {
                      "key": "search",
                      "value": "<string>"
                    }
                  ]
                }
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"error\": \"<string>\"\n}",
              "createdAt": "2026-07-28T03:33:15.000Z",
              "updatedAt": "2026-07-28T03:33:15.000Z",
              "uid": "35240-c9da0e6e-afd4-43b7-a9b9-5b43f208f058"
            }
          ],
          "createdAt": "2026-07-28T03:33:15.000Z",
          "updatedAt": "2026-07-28T03:33:15.000Z",
          "uid": "35240-164b6dca-3011-46d2-a4d8-354237c57012"
        }
      ],
      "id": "b94ed73d-17f9-45fa-9714-655af2f0225c",
      "createdAt": "2026-07-28T03:33:15.000Z",
      "updatedAt": "2026-07-28T03:33:15.000Z",
      "uid": "35240-b94ed73d-17f9-45fa-9714-655af2f0225c"
    }
  ],
  "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"
    }
  ]
}