Web Methods Approvals API
The Approvals API from Web Methods — 3 operation(s) for approvals.
The Approvals API from Web Methods — 3 operation(s) for approvals.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/web-methods:web-methods-approvals-api"
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.
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: 3.2.0
info:
title: Web Methods Approvals API
version: '11.0'
description: 'Operations tagged Approvals across 2 of this provider''s published API definitions: apigateway-ApprovalManagement.json, web-methods-api-gateway-approvalmanagement-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:5555/rest/apigateway
tags:
- name: Approvals
paths:
/approvals:
get:
description: Retrieve all the approval requests waiting for the user. If the user is part of one or more approval team, then he/she will get the approval requests assigned for those teams.
operationId: getApprovals
responses:
'200':
description: The method provides all approval requests pending for the user
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ApprovalResponsePayload'
example: "{\n \"approvalRequests\": [\n {\n \"id\": \"726fbffa-3713-493b-8f5c-e1b04ec71798\",\n \"approversGroupId\": \"API-Gateway-Providers\",\n \"approvalEvent\": \"createApplication\",\n \"requestorId\": \"Administrator\",\n \"requestorName\": \"Administrator\",\n \"requestorFirstName\": \"Administrator\",\n \"requestorLastName\": \"\",\n \"requestorMail\": \"\",\n \"mode\": \"anyone\",\n \"created\": \"1586950929208\",\n \"lastUpdated\": \"1586950929208\",\n \"status\": \"pending\",\n \"approvalEventPayloadAsString\": \"{\\\"applicationID\\\":\\\"36005e81-9714-4eef-9a83-e819a405fbca\\\",\\\"name\\\":\\\"Approval Application\\\",\\\"owner\\\":\\\"Administrator\\\",\\\"identifiers\\\":[],\\\"contactEmails\\\":[],\\\"lastUpdated\\\":0,\\\"siteURLs\\\":[],\\\"jsOrigins\\\":[],\\\"version\\\":\\\"1.0\\\",\\\"properties\\\":{\\\"requesterComment\\\":null},\\\"isSuspended\\\":false,\\\"authStrategyIds\\\":[],\\\"subscription\\\":false}\",\n \"approvers\": [\n {\n \"id\": \"gora\",\n \"name\": \"gora\",\n \"firstName\": \"gora\",\n \"lastName\": \"gora\",\n \"status\": \"pending\",\n \"email\": \"gora@softwareag.com\"\n }\n ],\n \"properties\": {\n \"newApisForAssociation\": \"\"\n }\n }\n ]\n}"
'401':
description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
security:
- Basic: []
tags:
- Approvals
summary: Get approvals
x-summary-source: derived
servers:
- url: http://localhost:5555/rest/apigateway
/approvals/{approvalId}:
get:
description: Retrieve an Approval Request based on the approvalId.
operationId: getApproval
parameters:
- name: approvalId
in: path
description: approvalId for the Approval Request to be retrieved
required: true
x-example: 353bd366-47d4-4703-aecf-9cb40cdcc864
schema:
type: string
responses:
'200':
description: This method provides the details of approval request.
content:
application/json:
schema:
$ref: '#/components/schemas/ApprovalRequest'
example: "{\n \"approvalRequest\": {\n \"id\": \"726fbffa-3713-493b-8f5c-e1b04ec71798\",\n \"approversGroupId\": \"API-Gateway-Providers\",\n \"approvalEvent\": \"createApplication\",\n \"requestorId\": \"Administrator\",\n \"requestorName\": \"Administrator\",\n \"requestorFirstName\": \"Administrator\",\n \"requestorLastName\": \"\",\n \"requestorMail\": \"\",\n \"mode\": \"anyone\",\n \"created\": \"1586950929208\",\n \"lastUpdated\": \"1586950929208\",\n \"status\": \"pending\",\n \"approvalEventPayloadAsString\": \"{\\\"applicationID\\\":\\\"36005e81-9714-4eef-9a83-e819a405fbca\\\",\\\"name\\\":\\\"Approval Application\\\",\\\"owner\\\":\\\"Administrator\\\",\\\"identifiers\\\":[],\\\"contactEmails\\\":[],\\\"lastUpdated\\\":0,\\\"siteURLs\\\":[],\\\"jsOrigins\\\":[],\\\"version\\\":\\\"1.0\\\",\\\"properties\\\":{\\\"requesterComment\\\":null},\\\"isSuspended\\\":false,\\\"authStrategyIds\\\":[],\\\"subscription\\\":false}\",\n \"approvers\": [\n {\n \"id\": \"gora\",\n \"name\": \"gora\",\n \"firstName\": \"gora\",\n \"lastName\": \"gora\",\n \"status\": \"pending\",\n \"email\": \"gora@softwareag.com\"\n }\n ],\n \"properties\": {\n \"newApisForAssociation\": \"\"\n }\n }\n}"
'401':
description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
'404':
description: This status code indicates that the approvalId specified is not found in the API Gateway
security:
- Basic: []
tags:
- Approvals
summary: Get approval
x-summary-source: derived
delete:
description: Delete the Approval Request with the given approvalId
operationId: deleteApprovalRequest
parameters:
- name: approvalId
in: path
description: Approval Request Id for the Approval Request to be deleted
required: true
x-example: 353bd366-47d4-4703-aecf-9cb40cdcc864
schema:
type: string
responses:
'204':
description: Success
'401':
description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
'404':
description: This status code indicates that the approvalId specified is not found in the API Gateway
security:
- Basic: []
tags:
- Approvals
summary: Delete approval request
x-summary-source: derived
servers:
- url: http://localhost:5555/rest/apigateway
/approvals/{approvalId}/{action}:
put:
description: Request payload for the approval request.
operationId: approveorrejectApprovalRequest
parameters:
- name: approvalId
in: path
description: ApprovalId for the Approval Request to be approved
required: true
x-example: 353bd366-47d4-4703-aecf-9cb40cdcc864
schema:
type: string
- name: action
in: path
description: Action for the Approval Request to be approved/rejected
required: true
x-example: approve/reject
schema:
type: string
responses:
'200':
description: Response payload of the approval request after approve/reject action.
content:
application/json:
schema:
$ref: '#/components/schemas/ApprovalPutResponse'
example: "{\n \"status\": \"approved\"\n}"
'400':
description: This status code indicates that the given approval request body is not correct.
'401':
description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
'404':
description: This status code indicates that the approvalId specified is not found in the API Gateway
'500':
description: This status code indicates that server has encountered an error during the update of approval request.
security:
- Basic: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ApprovalPutRequest'
description: Approval Request payload
tags:
- Approvals
summary: Approveorreject approval request
x-summary-source: derived
servers:
- url: http://localhost:5555/rest/apigateway
components:
schemas:
ApprovalPutRequest:
type: object
properties:
approverComment:
type: string
description: Comment added by the approver
ApprovalRequest:
type: object
properties:
approvalEvent:
type: string
description: Type of the approval event
enum:
- createApplication
- updateApplication
- registerApplication
- subscribePackage
- changeOwner
approvers:
type: array
items:
$ref: '#/components/schemas/Approver'
approversGroupId:
type: string
description: Approvers Accessprofile Identifier. Whoever belongs to the selected team will be considered as Approvers
created:
type: string
description: Approval last updated time
id:
type: string
mode:
type: string
description: Mode of the request approval and 'anyone' is the only allowed value
requesterComment:
type: string
description: Comment added by the requestor
requestorFirstName:
type: string
description: First name of the requestor user name
requestorId:
type: string
description: User name of the requestor
requestorLastName:
type: string
description: Last name of the requestor user name
requestorMail:
type: string
description: Mail id of the requestor
requestorName:
type: string
description: User name of the requestor
status:
type: string
description: Current status of the request
enum:
- pending
- approved
- rejected
Approver:
type: object
properties:
id:
type: string
name:
type: string
description: Email of the approver
ApprovalPutResponse:
type: object
properties:
status:
type: string
ApprovalResponsePayload:
type: object
properties:
approvalRequests:
type: array
items:
$ref: '#/components/schemas/ApprovalRequest'
securitySchemes:
Basic:
type: http
scheme: basic
description: API Gateway Administrator and API Gateway provider
x-refined-from:
- apigateway-ApprovalManagement.json
- web-methods-api-gateway-approvalmanagement-openapi.yml