{
  "info": {
    "_postman_id": "72aec862-4448-4805-8237-1e53c7efbc40",
    "name": "Workday Integration Workday Absence Management Absence Types Moments 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:07.000Z",
    "updatedAt": "2026-07-28T03:33:08.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-72aec862-4448-4805-8237-1e53c7efbc40"
  },
  "item": [
    {
      "name": "moments",
      "item": [
        {
          "name": "{ID}",
          "item": [
            {
              "name": "Workday Integration Retrieve a specific Moment",
              "id": "929087da-94fd-4948-adc7-64b1970d9aea",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/moments/:ID",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "moments",
                    ":ID"
                  ],
                  "variable": [
                    {
                      "id": "04b5f133-b6c3-4785-af56-eb1262e32203",
                      "key": "ID",
                      "value": "<string>",
                      "description": "(Required) "
                    }
                  ]
                },
                "description": "Returns the specified Moment instance with its details."
              },
              "response": [
                {
                  "id": "4a169b22-1e45-429b-9042-d016b1482d64",
                  "name": "Successful response with the Moment",
                  "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}}/moments/:ID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "moments",
                        ":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:08.000Z",
                  "updatedAt": "2026-07-28T03:33:08.000Z",
                  "uid": "35240-4a169b22-1e45-429b-9042-d016b1482d64"
                },
                {
                  "id": "e28c969e-b803-4675-a211-f16d2afd785e",
                  "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}}/moments/:ID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "moments",
                        ":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:08.000Z",
                  "updatedAt": "2026-07-28T03:33:08.000Z",
                  "uid": "35240-e28c969e-b803-4675-a211-f16d2afd785e"
                },
                {
                  "id": "1b920dbf-af48-4151-bb5b-b9c42d259839",
                  "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}}/moments/:ID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "moments",
                        ":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:08.000Z",
                  "updatedAt": "2026-07-28T03:33:08.000Z",
                  "uid": "35240-1b920dbf-af48-4151-bb5b-b9c42d259839"
                },
                {
                  "id": "7a2fb6fe-673b-41bf-acea-2c1be24eb2e7",
                  "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}}/moments/:ID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "moments",
                        ":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:08.000Z",
                  "updatedAt": "2026-07-28T03:33:08.000Z",
                  "uid": "35240-7a2fb6fe-673b-41bf-acea-2c1be24eb2e7"
                }
              ],
              "createdAt": "2026-07-28T03:33:08.000Z",
              "updatedAt": "2026-07-28T03:33:08.000Z",
              "uid": "35240-929087da-94fd-4948-adc7-64b1970d9aea"
            }
          ],
          "id": "0656d997-b888-4ef1-a172-0aab4b002ecb",
          "createdAt": "2026-07-28T03:33:08.000Z",
          "updatedAt": "2026-07-28T03:33:08.000Z",
          "uid": "35240-0656d997-b888-4ef1-a172-0aab4b002ecb"
        },
        {
          "name": "Workday Integration Retrieve a collection of moments",
          "id": "dba79c70-34e5-4b1c-b2bb-f3e32e695c72",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/moments?limit=20&offset=0&search=<string>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "moments"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "20"
                },
                {
                  "key": "offset",
                  "value": "0"
                },
                {
                  "key": "search",
                  "value": "<string>"
                }
              ]
            },
            "description": "Returns a collection of moments from the Workday Moments API."
          },
          "response": [
            {
              "id": "63595c5f-2970-47e0-901e-dc95483d35ee",
              "name": "Successful response with moments",
              "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}}/moments?limit=20&offset=0&search=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "moments"
                  ],
                  "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:08.000Z",
              "updatedAt": "2026-07-28T03:33:08.000Z",
              "uid": "35240-63595c5f-2970-47e0-901e-dc95483d35ee"
            },
            {
              "id": "f8259668-f6b5-48ca-bb3b-c77b0eb1bdb2",
              "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}}/moments?limit=20&offset=0&search=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "moments"
                  ],
                  "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:08.000Z",
              "updatedAt": "2026-07-28T03:33:08.000Z",
              "uid": "35240-f8259668-f6b5-48ca-bb3b-c77b0eb1bdb2"
            },
            {
              "id": "67ade0cd-4f60-4e49-bc4a-72d8a777cb0f",
              "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}}/moments?limit=20&offset=0&search=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "moments"
                  ],
                  "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:08.000Z",
              "updatedAt": "2026-07-28T03:33:08.000Z",
              "uid": "35240-67ade0cd-4f60-4e49-bc4a-72d8a777cb0f"
            }
          ],
          "createdAt": "2026-07-28T03:33:08.000Z",
          "updatedAt": "2026-07-28T03:33:08.000Z",
          "uid": "35240-dba79c70-34e5-4b1c-b2bb-f3e32e695c72"
        }
      ],
      "id": "4d066f30-ec1a-4a6b-b0ce-4616a38dff03",
      "createdAt": "2026-07-28T03:33:08.000Z",
      "updatedAt": "2026-07-28T03:33:08.000Z",
      "uid": "35240-4d066f30-ec1a-4a6b-b0ce-4616a38dff03"
    }
  ],
  "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"
    }
  ]
}