{
  "opencollection": "1.0.0",
  "info": {
    "name": "Workday Extend Workday Custom Objects App Configurations Orchestrations API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://{baseUrl}/authorize",
      "accessTokenUrl": "https://{baseUrl}/oauth2/{tenant}/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Orchestrations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Workday Extend List orchestrations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{baseUrl}/api/customObjects/v1/{tenant}/orchestrations",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of results to skip for pagination"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Search term to filter results"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by orchestration status"
              }
            ]
          },
          "docs": "Returns a collection of orchestration definitions within the tenant. Supports filtering by status, name, and trigger type."
        },
        {
          "info": {
            "name": "Workday Extend Create an orchestration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{baseUrl}/api/customObjects/v1/{tenant}/orchestrations",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new orchestration definition in the tenant. The orchestration is created in draft status and must be activated before it can be triggered."
        },
        {
          "info": {
            "name": "Workday Extend Retrieve an orchestration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{baseUrl}/api/customObjects/v1/{tenant}/orchestrations/:orchestrationId",
            "params": [
              {
                "name": "orchestrationId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the orchestration"
              }
            ]
          },
          "docs": "Returns the details of a specific orchestration definition including its steps, triggers, configuration, and execution history summary."
        },
        {
          "info": {
            "name": "Workday Extend Update an orchestration",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{baseUrl}/api/customObjects/v1/{tenant}/orchestrations/:orchestrationId",
            "params": [
              {
                "name": "orchestrationId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the orchestration"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the definition of an existing orchestration. Only the fields provided in the request body are updated. Active orchestrations must be deactivated before modification."
        },
        {
          "info": {
            "name": "Workday Extend Delete an orchestration",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{baseUrl}/api/customObjects/v1/{tenant}/orchestrations/:orchestrationId",
            "params": [
              {
                "name": "orchestrationId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the orchestration"
              }
            ]
          },
          "docs": "Deletes an orchestration definition from the tenant. The orchestration must be inactive and have no pending executions before deletion."
        },
        {
          "info": {
            "name": "Workday Extend Activate an orchestration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{baseUrl}/api/customObjects/v1/{tenant}/orchestrations/:orchestrationId/activate",
            "params": [
              {
                "name": "orchestrationId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the orchestration"
              }
            ]
          },
          "docs": "Activates a draft or inactive orchestration, making it available for triggering and execution."
        },
        {
          "info": {
            "name": "Workday Extend Deactivate an orchestration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{baseUrl}/api/customObjects/v1/{tenant}/orchestrations/:orchestrationId/deactivate",
            "params": [
              {
                "name": "orchestrationId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the orchestration"
              }
            ]
          },
          "docs": "Deactivates an active orchestration, preventing new executions from being triggered. In-flight executions are allowed to complete."
        }
      ]
    }
  ],
  "bundled": true
}