Workday Business Processes 09/01/2021 API

Changes for v2021.37

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 16

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET 2021.37/events/{ID}/comments List comments on a business process event · Added new operation #
Ask an LLM
“What comments have been left on a business process event?”
“Can I page through the comments on an event?”
Tell an agent
List comments on business process event {ID}.
Show {limit} comments on event {ID} starting at offset {offset}.
GET 2021.37/types List business process types · Modified this existing endpoint #
Ask an LLM
“What business process types exist in Adaptive Planning?”
“Which process types can I create events for?”
Tell an agent
List all business process types.
Show every business process type available.
GET 2021.37/types/{ID} Get a business process type · Modified this existing endpoint #
Ask an LLM
“What are the details of one business process type?”
“Can I look up a process type by its ID?”
Tell an agent
Get business process type {ID}.
Show the details of process type {ID}.
GET 2021.37/types/{ID}/attachmentCategories List attachment categories for a process type · Modified this existing endpoint #
Ask an LLM
“Which attachment categories can I attach to a process type?”
“Can I filter a process type's attachment categories by event target?”
Tell an agent
List attachment categories for business process type {ID}.
Show attachment categories of process type {ID} for event target {eventTarget}.
GET 2021.37/events List business process events · Modified this existing endpoint #
Ask an LLM
“Which business process events are waiting for me?”
“Can I filter business process events by worker?”
Tell an agent
List business process events.
Show all business process events assigned to a worker.
GET 2021.37/events/{ID}/attachments List attachments on a business process event · Modified this existing endpoint #
Ask an LLM
“What files are attached to a business process event?”
“Can I see the attachments on an event I'm reviewing?”
Tell an agent
List attachments on business process event {ID}.
Show the files attached to event {ID}.
GET 2021.37/events/{ID}/inProgressSteps List in-progress steps of a business process event · Modified this existing endpoint #
Ask an LLM
“Which steps of a business process event are still in progress?”
“Can I see the pending steps on an event?”
Tell an agent
List in-progress steps of business process event {ID}.
Show the steps on event {ID} that are still being worked on.
POST 2021.37/eventSteps/{ID}/deny Deny a business process event step · Modified this existing endpoint #
Ask an LLM
“How do I reject a step in a business process event?”
“Can I stop a process event step and record why?”
Tell an agent destructive · confirm first
Deny business process event step {step}.
Reject event step {step} instead of approving it.
GET 2021.37/values/sendBack/to/ List values for the send-back-to field · Description has been changed #
Ask an LLM
“Which people or roles can I send a business process step back to?”
“What values does the send-back-to field accept?”
Tell an agent
List values for the send-back-to field.
Show the people I can send a step back to.
GET 2021.37/events/{ID}/remainingSteps List remaining steps of a business process event · Modified this existing endpoint #
Ask an LLM
“What steps are left on a business process event?”
“Can I see the remaining steps of an event I'm reviewing?”
Tell an agent
List remaining steps of business process event {ID}.
Show the steps still to do on event {ID}.
GET 2021.37/events/{ID} Get a business process event · Modified this existing endpoint #
Ask an LLM
“What are the details of one business process event?”
“Can I fetch a single event by its ID?”
Tell an agent
Get business process event {ID}.
Show the details of event {ID}.
POST 2021.37/eventSteps/{ID}/approve Approve a business process event step · Modified this existing endpoint #
Ask an LLM
“How do I approve a step stuck in a business process?”
“Can I approve an event step that is waiting on me?”
Tell an agent
Approve business process event step {step}.
Sign off on event step {step} so the process moves forward.
POST 2021.37/eventSteps/{ID}/sendBack Send a business process event step back · Modified this existing endpoint #
Ask an LLM
“Can I push a process event step back to the requester?”
“What do I need to send a business process step back?”
Tell an agent
Send back business process event step {step}.
Return event step {step} to the previous person for rework.
GET 2021.37/eventSteps List business process event steps · Modified this existing endpoint #
Ask an LLM
“Which business process event steps are waiting for me?”
“Can I filter event steps by due date or step type?”
Tell an agent
List business process event steps.
Show all event steps assigned to me.
GET 2021.37/events/{ID}/completedSteps List completed steps of a business process event · Modified this existing endpoint #
Ask an LLM
“Which steps of a business process event have already been completed?”
“Can I see the history of an event's completed steps?”
Tell an agent
List completed steps of business process event {ID}.
Show the steps on event {ID} that have been completed.
GET 2021.37/eventSteps/{ID} Get a business process event step · Modified this existing endpoint #
Ask an LLM
“What is the status of one business process event step?”
“Can I look up a single process event step by ID?”
Tell an agent
Get business process event step {step}.
Show the details of process event step {step}.

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/workday-business-processes/json-schema/workday-business-processes-business-process-definition-schema.json
📊
JSONSchema
https://artifacts.apis.io/workday-business-processes/json-schema/workday-business-processes-process-instance-schema.json
📊
JSONSchema
https://artifacts.apis.io/workday-business-processes/json-schema/workday-business-processes-initiate-process-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/workday-business-processes/json-schema/workday-business-processes-process-step-schema.json
📊
JSONSchema
https://artifacts.apis.io/workday-business-processes/json-schema/workday-business-processes-inbox-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/workday-business-processes/json-schema/workday-business-processes-approval-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/workday-business-processes/json-schema/workday-business-processes-denial-request-schema.json
📊
JSONStructure
https://artifacts.apis.io/workday-business-processes/json-structure/workday-business-processes-business-process-definition-structure.json
📊
JSONStructure
https://artifacts.apis.io/workday-business-processes/json-structure/workday-business-processes-process-instance-structure.json
📊
JSONStructure
https://artifacts.apis.io/workday-business-processes/json-structure/workday-business-processes-initiate-process-request-structure.json
📊
JSONStructure
https://artifacts.apis.io/workday-business-processes/json-structure/workday-business-processes-process-step-structure.json
📊
JSONStructure
https://artifacts.apis.io/workday-business-processes/json-structure/workday-business-processes-inbox-item-structure.json
📊
JSONStructure
https://artifacts.apis.io/workday-business-processes/json-structure/workday-business-processes-approval-request-structure.json
📊
JSONStructure
https://artifacts.apis.io/workday-business-processes/json-structure/workday-business-processes-denial-request-structure.json

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/workday-business-processes:workday-business-processes-09-01-2021-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

workday-business-processes-09-01-2021-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Changelog for businessProcess 09/01/2021 API
  description: The public APIs to access event actions and details
  version: v1
servers:
- url: https://<tenantHostname>/businessProcess/v1
tags:
- name: 09/01/2021
  description: Changes for v2021.37
paths:
  2021.37/events/{ID}/comments:
    get:
      tags:
      - 09/01/2021
      summary: Added new operation
      description: 'Retrieves comments on the specified business process event.


        Secured by: Core Navigation


        Scope: Adaptive Planning for the Workforce, Adaptive Planning for Financial Plans


        View this Endpoint: GET /events/{ID}/comments'
      parameters:
      - name: ID
        in: path
        description: The Workday ID of the resource.
        required: true
        explode: false
        schema:
          type: string
          exampleSetFlag: false
          types:
          - string
      - name: limit
        in: query
        description: The maximum number of objects in a single response. The default is 20. The maximum is 100.
        required: false
        explode: true
        schema:
          type: integer
          format: int64
          exampleSetFlag: false
          types:
          - integer
      - 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.'
        required: false
        explode: true
        schema:
          type: integer
          format: int64
          exampleSetFlag: false
          types:
          - integer
      responses:
        '200':
          description: Successful response. A successful response can return no matched data.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    exampleSetFlag: false
                    items:
                      $ref: '#/components/schemas/comments_a7a41b4d029c10000b1da9c45b7b18f4'
                      exampleSetFlag: false
                    types:
                    - array
                  total:
                    type: integer
                    format: int64
                    exampleSetFlag: false
                    types:
                    - integer
                description: collection something or other
                exampleSetFlag: false
                types:
                - object
              exampleSetFlag: false
        '400':
          description: Invalid request. (https://community.workday.com/rest/error-messages)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VALIDATION_ERROR_MODEL_REFERENCE'
                exampleSetFlag: false
              exampleSetFlag: false
        '401':
          description: Invalid resource or operation. (https://community.workday.com/rest/error-messages)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VALIDATION_ERROR_MODEL_REFERENCE'
                exampleSetFlag: false
              exampleSetFlag: false
        '403':
          description: User has insufficient permissions. (https://community.workday.com/rest/error-messages)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VALIDATION_ERROR_MODEL_REFERENCE'
                exampleSetFlag: false
              exampleSetFlag: false
        '404':
          description: Resource not found. (https://community.workday.com/rest/error-messages)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VALIDATION_ERROR_MODEL_REFERENCE'
                exampleSetFlag: false
              exampleSetFlag: false
        default:
          description: An error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ERROR_MODEL_REFERENCE'
                exampleSetFlag: false
              exampleSetFlag: false
      operationId: get202137EventsByIDComments
      x-operation-id-source: derived
  2021.37/types:
    get:
      tags:
      - 09/01/2021
      summary: Modified this existing endpoint
      description: '## Summary changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves all business process types.

        |

        None

        |


        ## Description changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves a collection of business process types.


        |

        None

        |


        View this Endpoint: GET /types'
      operationId: get202137Types
      x-operation-id-source: derived
  2021.37/types/{ID}:
    get:
      tags:
      - 09/01/2021
      summary: Modified this existing endpoint
      description: '## Summary changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves a business process type.

        |

        None

        |


        ## Description changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves the business process type specified by the ID.


        |

        None

        |


        View this Endpoint: GET /types/{ID}'
      operationId: get202137TypesByID
      x-operation-id-source: derived
  2021.37/types/{ID}/attachmentCategories:
    get:
      tags:
      - 09/01/2021
      summary: Modified this existing endpoint
      description: '## Summary changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves attachment categories for a business process type.

        |

        None

        |


        ## Description changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves all attachment categories for the specified business process type that the processing user can select for the specified event. You can filter by event target.


        |

        None

        |


        View this Endpoint: GET /types/{ID}/attachmentCategories'
      parameters:
      - name: eventTarget
        in: query
        description: "<b>Parameter Description changed</b>  \n| Updated Value |  \n| :--- |  \n| The Workday ID of the event target that this business process is about. You can use a returned id from an API that returns instances of the event target type. For example, if your event target is a worker, use GET /workers in the Staffing service. |  \n\n| Previous Value |  \n| :--- |  \n| a set containing no instances |  \n\n"
        required: false
        explode: true
        schema:
          type: string
          exampleSetFlag: false
          types:
          - string
      operationId: get202137TypesByIDAttachmentCategories
      x-operation-id-source: derived
  2021.37/events:
    get:
      tags:
      - 09/01/2021
      summary: Modified this existing endpoint
      description: '## Summary changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves business process events.

        |

        None

        |


        ## Description changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves a collection of business process events based on the specified parameters. You must specify exactly one worker parameter. If a worker parameter is not specified, returns a blank response.


        |

        Returns a business process event. Secured by the Business Process Security Policy for each event.


        |


        ## Scope changed

        |

        Updated Value

        |

        | :--- |

        |

        Adaptive Planning For Financial Plans, Adaptive Planning For The Workforce

        |


        |

        Added Domains

        |

        Removed Domains

        |

        | :--- | :--- |

        |

        Adaptive Planning For The Workforce

        |

        Adaptive Planning For Headcount Plans

        |


        View this Endpoint: GET /events'
      operationId: get202137Events
      x-operation-id-source: derived
  2021.37/events/{ID}/attachments:
    get:
      tags:
      - 09/01/2021
      summary: Modified this existing endpoint
      description: '## Summary changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves attachments for a business process event.

        |

        None

        |


        ## Description changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves attachments on the specified business process event that the processing user has permission to view.


        |

        None

        |


        View this Endpoint: GET /events/{ID}/attachments'
      operationId: get202137EventsByIDAttachments
      x-operation-id-source: derived
  2021.37/events/{ID}/inProgressSteps:
    get:
      tags:
      - 09/01/2021
      summary: Modified this existing endpoint
      description: '## Summary changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves in progress steps for a business process event.

        |

        None

        |


        ## Description changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves all business process steps that are currently in progress for the specified business process event.


        |

        None

        |


        ## Scope changed

        |

        Updated Value

        |

        | :--- |

        |

        Adaptive Planning For Financial Plans, Adaptive Planning For The Workforce

        |


        |

        Added Domains

        |

        Removed Domains

        |

        | :--- | :--- |

        |

        Adaptive Planning For The Workforce

        |

        Adaptive Planning For Headcount Plans

        |


        View this Endpoint: GET /events/{ID}/inProgressSteps'
      operationId: get202137EventsByIDInProgressSteps
      x-operation-id-source: derived
  2021.37/eventSteps/{ID}/deny:
    post:
      tags:
      - 09/01/2021
      summary: Modified this existing endpoint
      description: '## Summary changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Denies a business process event step.

        |

        None

        |


        ## Description changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Denies the business process event step specified by the ID of the originating event step. The processing person must have view access to the event. In the request body, specify these required fields: id (the event step you are denying), stepAction{id} (if there are multiple event steps), comment.


        |

        None

        |


        ## Scope changed

        |

        Updated Value

        |

        | :--- |

        |

        Adaptive Planning For Financial Plans, Adaptive Planning For The Workforce

        |


        |

        Added Domains

        |

        Removed Domains

        |

        | :--- | :--- |

        |

        Adaptive Planning For The Workforce

        |

        Adaptive Planning For Headcount Plans

        |


        View this Endpoint: POST /eventSteps/{ID}/deny'
      operationId: post202137EventStepsByIDDeny
      x-operation-id-source: derived
  2021.37/values/sendBack/to/:
    get:
      tags:
      - 09/01/2021
      summary: Description has been changed
      description: '## Description changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves instances that can be used as values for other endpoint parameters in this service.


        |

        This endpoint returns instances valid for other endpoint parameters in this API, as referenced in their respective x-prompt-values properties.


        |


        View this Endpoint: GET /values/sendBack/to/'
      operationId: get202137ValuesSendBackTo
      x-operation-id-source: derived
  2021.37/events/{ID}/remainingSteps:
    get:
      tags:
      - 09/01/2021
      summary: Modified this existing endpoint
      description: '## Summary changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves remaining steps for a business process event.

        |

        None

        |


        ## Description changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves all remaining business process steps for the specified business process event.


        |

        None

        |


        ## Scope changed

        |

        Updated Value

        |

        | :--- |

        |

        Adaptive Planning For Financial Plans, Adaptive Planning For The Workforce

        |


        |

        Added Domains

        |

        Removed Domains

        |

        | :--- | :--- |

        |

        Adaptive Planning For The Workforce

        |

        Adaptive Planning For Headcount Plans

        |


        View this Endpoint: GET /events/{ID}/remainingSteps'
      operationId: get202137EventsByIDRemainingSteps
      x-operation-id-source: derived
  2021.37/events/{ID}:
    get:
      tags:
      - 09/01/2021
      summary: Modified this existing endpoint
      description: '## Summary changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves a business process event.

        |

        None

        |


        ## Description changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves the business process event with the specified ID.


        |

        Returns a business process event. Secured by the Business Process Security Policy for each event.


        |


        ## Scope changed

        |

        Updated Value

        |

        | :--- |

        |

        Adaptive Planning For Financial Plans, Adaptive Planning For The Workforce

        |


        |

        Added Domains

        |

        Removed Domains

        |

        | :--- | :--- |

        |

        Adaptive Planning For The Workforce

        |

        Adaptive Planning For Headcount Plans

        |


        View this Endpoint: GET /events/{ID}'
      operationId: get202137EventsByID
      x-operation-id-source: derived
  2021.37/eventSteps/{ID}/approve:
    post:
      tags:
      - 09/01/2021
      summary: Modified this existing endpoint
      description: '## Summary changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Approves a business process event step.

        |

        None

        |


        ## Description changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Approves the business process event step specified by the ID of the originating event step. In the request body, specify these required fields: id (the event step you are approving), comment.


        |

        None

        |


        ## Scope changed

        |

        Updated Value

        |

        | :--- |

        |

        Adaptive Planning For Financial Plans, Adaptive Planning For The Workforce

        |


        |

        Added Domains

        |

        Removed Domains

        |

        | :--- | :--- |

        |

        Adaptive Planning For The Workforce

        |

        Adaptive Planning For Headcount Plans

        |


        View this Endpoint: POST /eventSteps/{ID}/approve'
      operationId: post202137EventStepsByIDApprove
      x-operation-id-source: derived
  2021.37/eventSteps/{ID}/sendBack:
    post:
      tags:
      - 09/01/2021
      summary: Modified this existing endpoint
      description: '## Summary changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Sends back a business process event step.

        |

        None

        |


        ## Description changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Sends back the business process event step specified by the ID of the originating event step. In the request body, specify these required fields: id (the event step you are sending back), reason.


        |

        None

        |


        View this Endpoint: POST /eventSteps/{ID}/sendBack'
      operationId: post202137EventStepsByIDSendBack
      x-operation-id-source: derived
  2021.37/eventSteps:
    get:
      tags:
      - 09/01/2021
      summary: Modified this existing endpoint
      description: '## Summary changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves business process event steps.

        |

        None

        |


        ## Description changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves a collection of business process event steps. You can filter the event steps by business process, creation date, due date, and step type.


        |

        Returns a business process event step. Returned results are secured based on processing person''s view access to the event to which the step belongs. If the processing person does not have view access to the event, when this API is called, they will not be able to retrieve the event step and receive a 404 error.


        |


        ## Scope changed

        |

        Updated Value

        |

        | :--- |

        |

        Adaptive Planning For Financial Plans, Adaptive Planning For The Workforce

        |


        |

        Added Domains

        |

        Removed Domains

        |

        | :--- | :--- |

        |

        Adaptive Planning For The Workforce

        |

        Adaptive Planning For Headcount Plans

        |


        View this Endpoint: GET /eventSteps'
      operationId: get202137EventSteps
      x-operation-id-source: derived
  2021.37/events/{ID}/completedSteps:
    get:
      tags:
      - 09/01/2021
      summary: Modified this existing endpoint
      description: '## Summary changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves completed steps for a business process event.

        |

        None

        |


        ## Description changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves all business process steps that are completed for the specified buinesss process event.


        |

        None

        |


        ## Scope changed

        |

        Updated Value

        |

        | :--- |

        |

        Adaptive Planning For Financial Plans, Adaptive Planning For The Workforce

        |


        |

        Added Domains

        |

        Removed Domains

        |

        | :--- | :--- |

        |

        Adaptive Planning For The Workforce

        |

        Adaptive Planning For Headcount Plans

        |


        View this Endpoint: GET /events/{ID}/completedSteps'
      operationId: get202137EventsByIDCompletedSteps
      x-operation-id-source: derived
  2021.37/eventSteps/{ID}:
    get:
      tags:
      - 09/01/2021
      summary: Modified this existing endpoint
      description: '## Summary changed

        |

        Updated Value

        |

        Previous Value

        |

        | :--- | :--- |

        |

        Retrieves a business process event step.

        |

        None

        |


        ## Scope changed

        |

        Updated Value

        |

        | :--- |

        |

        Adaptive Planning For Financial Plans, Adaptive Planning For The Workforce

        |


        |

        Added Domains

        |

        Removed Domains

        |

        | :--- | :--- |

        |

        Adaptive Planning For The Workforce

        |

        Adaptive Planning For Headcount Plans

        |


        View this Endpoint: GET /eventSteps/{ID}'
      operationId: get202137EventStepsByID
      x-operation-id-source: derived
components:
  schemas:
    INSTANCE_MODEL_REFERENCE:
      required:
      - id
      type: object
      properties:
        id:
          pattern: ^(([0-9a-f]{32})|(\S+=\S+))$
          type: string
          description: Workday Id or Reference Id of the instance.
          exampleSetFlag: false
          types:
          - string
        descriptor:
          type: string
          description: The display name of the instance
          readOnly: true
          exampleSetFlag: false
          types:
          - string
        href:
          type: string
          description: A link to the instance
          readOnly: true
          exampleSetFlag: false
          types:
          - string
      exampleSetFlag: false
      types:
      - object
    person_a7a41b4d029c10000b46e7abcec61901:
      description: Comment made by Person
      exampleSetFlag: false
      allOf:
      - $ref: '#/components/schemas/INSTANCE_MODEL_REFERENCE'
        exampleSetFlag: false
      - type: object
        exampleSetFlag: false
        types:
        - object
    ERROR_MODEL_REFERENCE:
      required:
      - error
      type: object
      properties:
        error:
          type: string
          description: A description of the error
          exampleSetFlag: false
          types:
          - string
        code:
          type: string
          description: The code that corresponds to the error message. Use the error code to drive programmatic error-handling behavior. Don't use error message strings for this purpose because they are subject to change
          exampleSetFlag: false
          types:
          - string
        field:
          type: string
          description: The field related to the error
          exampleSetFlag: false
          types:
          - string
        path:
          type: string
          description: The path of the field related to the error
          exampleSetFlag: false
          types:
          - string
        severity:
          type: string
          description: Severity of the validation (e.g. Critical, Warning).
          exampleSetFlag: false
          types:
          - string
        internalMessage:
          type: string
          description: Internal message providing additional context for the validation (e.g. representation content validation details).
          exampleSetFlag: false
          types:
          - string
      exampleSetFlag: false
      types:
      - object
    comments_a7a41b4d029c10000b1da9c45b7b18f4:
      exampleSetFlag: false
      allOf:
      - type: object
        properties:
          commentDate:
            type: string
            description: Gives the moment at which the instance was originally created.
            format: date
            extensions:
              x-workday-type: Date
            exampleSetFlag: false
            types:
            - string
          person:
            $ref: '#/components/schemas/person_a7a41b4d029c10000b46e7abcec61901'
            exampleSetFlag: false
          comment:
            type: string
            description: Comment
            example: Lorem ipsum dolor sit amet, cum choro singulis consectetuer ut, ubique iisque contentiones ex duo. Quo lorem etiam eu.
            extensions:
              x-workday-type: Text
            exampleSetFlag: true
            types:
            - string
        exampleSetFlag: false
        types:
        - object
    VALIDATION_ERROR_MODEL_REFERENCE:
      exampleSetFlag: false
      allOf:
      - required:
        - error
        type: object
        properties:
          error:
            type: string
            description: A description of the error
            exampleSetFlag: false
            types:
            - string
          errors:
            type: array
            description: An array of validation errors
            exampleSetFlag: false
            items:
              $ref: '#/components/schemas/ERROR_MODEL_REFERENCE'
              exampleSetFlag: false
            types:
            - array
        exampleSetFlag: false
        types:
        - object
  securitySchemes:
    OAuth2:
      type: OAUTH2
      flows:
        implicit:
          authorizationUrl: https://<tenantAuthorizationHostname>
          scopes: {}