Web Methods User Request API
The User Request API from Web Methods — 5 operation(s) for user request.
The User Request API from Web Methods — 5 operation(s) for user request.
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-user-request-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 User Request API
version: '10.11'
description: 'Operations tagged User Request across 2 of this provider''s published API definitions: devportal-userrequests.yaml, web-methods-developer-portal-userrequests-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
tags:
- name: User Request
paths:
/requests:
get:
tags:
- User Request
summary: Get all requests of given `type`
description: 'Administrator user can see all user requests by giving `true` for the parameter `allusers`.
Other users can view theri owned requests'
parameters:
- name: page
in: query
description: Defines the page number for the data
required: false
schema:
type: integer
- name: limit
in: query
description: Optional parameter. Defines the number of results to be fetched for the current page. If not specified default value configured in system settings will be considered.
required: false
schema:
type: integer
- name: type
in: query
description: Defines the type of the user request
required: true
schema:
type: string
- name: allusers
in: query
description: 'Flag to retrieve all user requests in API Portal
Applicable only for Administrator users
'
required: false
schema:
type: boolean
responses:
'200':
$ref: '#/components/responses/UserRequestListResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
operationId: getRequests
x-operation-id-source: derived
post:
tags:
- User Request
summary: Create a user request for an application or subscription
requestBody:
description: User request payload
content:
application/json:
schema:
$ref: '#/components/schemas/UserRequest'
examples:
APPLICATION_CREATION:
$ref: '#/components/examples/ApplicationCreationUserRequest'
SUBSCRIPTION_CREATION:
$ref: '#/components/examples/SubscriptionCreationUserRequest'
responses:
'201':
$ref: '#/components/responses/UserRequestCreatedResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
operationId: postRequests
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
/requests/pending:
get:
tags:
- User Request
summary: Get the all the user requests which are pending of given `type`
description: Administrator users alone can view all the pending requests
parameters:
- name: page
in: query
description: Defines the page number for the data
required: false
schema:
type: integer
- name: limit
in: query
description: Optional parameter. Defines the number of results to be fetched for the current page. If not specified default value configured in system settings will be considered.
required: false
schema:
type: integer
- name: type
in: query
description: Defines the type of the request
required: true
schema:
type: string
responses:
'200':
$ref: '#/components/responses/PendingUserRequestListResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
operationId: getRequestsPending
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
/requests/{id}:
parameters:
- name: id
in: path
description: Enter a valid user request id
required: true
schema:
type: string
get:
tags:
- User Request
summary: Get the user request of the given id
responses:
'200':
$ref: '#/components/responses/UserRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
operationId: getRequestsById
x-operation-id-source: derived
delete:
tags:
- User Request
summary: Delete requests by id
description: 'Delete a user request.
Only User requests that are in pending stage could be deleted'
responses:
'204':
description: User request deleted successfully
'400':
$ref: '#/components/responses/BadRequestForRequestDeletion'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
x-summary-source: derived
operationId: deleteRequestsById
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
/requests/{id}/retry:
parameters:
- name: id
in: path
description: Enter a valid user request id
required: true
schema:
type: string
- name: state
in: query
description: Enter a valid state id
required: true
schema:
type: string
put:
tags:
- User Request
summary: Retry the user request that is pending
description: 'Retry the user request that is pending.
Administrator users alone can retry a request'
responses:
'200':
$ref: '#/components/responses/RetryResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
operationId: putRequestsByIdRetry
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
/requests/{id}/trace:
parameters:
- name: id
in: path
description: Enter a valid user request id
required: true
schema:
type: string
get:
tags:
- User Request
description: Get the log trace of an user request
responses:
'200':
$ref: '#/components/responses/TraceResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
summary: Get requests by id trace
x-summary-source: derived
operationId: getRequestsByIdTrace
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
components:
responses:
NotFound:
description: The specified resource was not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
404:
$ref: '#/components/examples/404'
BadRequestForRequestDeletion:
description: User provided data is not correct
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
400-Incorrect State:
$ref: '#/components/examples/400-IncorrectState'
RetryResponse:
description: User provided data is not correct
content:
application/json:
schema:
$ref: '#/components/schemas/ResponseCode'
examples:
200:
$ref: '#/components/examples/RetryResponseExample'
BadRequest:
description: User provided data is not correct
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
400:
$ref: '#/components/examples/400'
TraceResponse:
description: Trace for the given user requests fetched successfully
content:
application/json:
schema:
$ref: '#/components/schemas/Trace'
examples:
200:
$ref: '#/components/examples/TraceExample'
UserRequestListResponse:
description: List of user requests fetched successfully
content:
application/json:
schema:
$ref: '#/components/schemas/UserRequestList'
examples:
200-APPLICATION_CREATION_REQUEST:
$ref: '#/components/examples/ApplicationCreationUserRequestListExample'
200-SUBSCRIPTION_CREATION_REQUEST:
$ref: '#/components/examples/SubscriptionCreationUserRequestListExample'
Unauthorized:
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
401:
$ref: '#/components/examples/401'
PendingUserRequestListResponse:
description: List of pending user requests fetched successfully
content:
application/json:
schema:
$ref: '#/components/schemas/UserRequestList'
examples:
200:
$ref: '#/components/examples/PendingUserRequestsListExample'
Forbidden:
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
403:
$ref: '#/components/examples/403'
UserRequest:
description: User request fetched successfully
content:
application/json:
schema:
$ref: '#/components/schemas/UserRequest'
examples:
200:
$ref: '#/components/examples/UserRequest'
UserRequestCreatedResponse:
description: User request created successfully
content:
application/json:
schema:
$ref: '#/components/schemas/UserRequestCreated'
examples:
201:
$ref: '#/components/examples/UserRequestCreatedExample'
examples:
SubscriptionCreationUserRequestListExample:
value:
result:
- owner: cdb82d56-4739-3164-9525-fbbd1d5dab56
id: 12896841-d85c-4a6c-88c9-632e927dee3d
type: SUBSCRIPTION_CREATION_REQUEST
status: WAITING_THIRDPARTY
application: 5097cc01-bd6d-443c-b356-0788af0666b7
state:
69c8ccc7-4ffa-4612-b097-8a27194bc63c: WAITING_THIRDPARTY
count: 1
_links:
_self: /rest/v1/requests?type=SUBSCRIPTION_CREATION_REQUEST&page=0
'400':
value:
code: 400
message: User provided data is not correct
TraceExample:
value:
owner: cdb82d56-4739-3164-9525-fbbd1d5dab56
id: c94b8964-7177-4ed7-ac64-c0981499aba1
modified: 2021-03-26 10:14 UTC
created: 2021-03-26 10:14 UTC
type: SUBSCRIPTION_CREATION_REQUEST
status: WAITING_THIRDPARTY
application: d0d2ef67-d338-4662-a0cb-d1a69c5fac96
state:
543d37d9-a160-4785-8d29-f07666b04e5e: WAITING_THIRDPARTY
trace:
Gold package:
- id: 0a378fcc-0036-4394-9a5d-5c944e8b64a0
modified: 2021-03-26 14:12 UTC
created: 2021-03-26 14:12 UTC
type: USER_REQUEST_RETRY_EVENT
- id: 2b52f609-a633-4688-a445-411466718150
modified: 2021-03-26 14:11 UTC
created: 2021-03-26 14:11 UTC
type: USER_REQUEST_RETRY_EVENT
- id: 42d91d1a-0eee-44e4-9129-e9aa51351eeb
modified: 2021-03-26 13:55 UTC
created: 2021-03-26 13:55 UTC
type: USER_REQUEST_RETRY_EVENT
- id: 84b48602-c128-46d2-bf94-daf18af6dfe5
modified: 2021-03-26 10:14 UTC
created: 2021-03-26 10:14 UTC
type: GATEWAY_APPLICATION_CREATION_REQUEST_EVENT
status: INPROGRESS
reason: Delivered to gateway
code: '200'
- id: 27333bc9-d537-407b-913b-5ec86a450266
modified: 2021-03-26 10:14 UTC
created: 2021-03-26 10:14 UTC
type: APPLICATION_REQUEST_APPROVED_EVENT
status: COMPLETED
- id: 2b3e57a3-76f1-4126-8c65-0d5221b1c008
modified: 2021-03-26 10:14 UTC
created: 2021-03-26 10:14 UTC
type: APPLICATION_REQUEST_PENDING_EVENT
_link: /rest/v1/approvals/instance/f6118be5-007f-4382-af43-ce00cebb4033/trace
- id: 543d37d9-a160-4785-8d29-f07666b04e5e
modified: 2021-03-26 10:14 UTC
created: 2021-03-26 10:14 UTC
type: PORTAL_APPLICATION_CREATION_REQUEST_EVENT
SubscriptionCreationUserRequest:
value:
context:
name: SubscriptionForGoldPlan
description: This application is used for building Hotel app
plan: 5f5947f7-ffb5-4534-bf44-360aceca9b24
package: 532e53ef-3b2a-45af-b859-2456dca1bb1f
redirect_uris:
- http://localhost:8080
type: SUBSCRIPTION_CREATION_REQUEST
RetryResponseExample:
value:
code: 200
message: User request retried successfully
UserRequest:
value:
owner: cdb82d56-4739-3164-9525-fbbd1d5dab56
id: b5fdeb4c-b177-4556-b4d8-eaac1ee2dd2a
type: APPLICATION_CREATION_REQUEST
status: COMPLETED
application: 2642db97-bfa5-4c4c-8452-dcbd0fda2d6a
state:
79fc987d-144b-47ad-9bd6-fdd6240d2e71: COMPLETED
'403':
value:
code: 403
message: Insufficient privileges
UserRequestCreatedExample:
value:
id: c94b8964-7177-4ed7-ac64-c0981499aba1
_self: /rest/v1/userrequests/c94b8964-7177-4ed7-ac64-c0981499aba1
'401':
value:
code: 401
message: Invalid credentials
ApplicationCreationUserRequest:
value:
context:
name: Petstore Application
description: This application is used for building petstore app
apis:
- 8294372b-5037-4501-b5da-95dad13fcf96
redirect_uris:
- http://localhost:8080
type: APPLICATION_CREATION_REQUEST
ApplicationCreationUserRequestListExample:
value:
result:
- owner: cdb82d56-4739-3164-9525-fbbd1d5dab56
id: b5fdeb4c-b177-4556-b4d8-eaac1ee2dd2a
type: APPLICATION_CREATION_REQUEST
status: COMPLETED
application: 2642db97-bfa5-4c4c-8452-dcbd0fda2d6a
state:
79fc987d-144b-47ad-9bd6-fdd6240d2e71: COMPLETED
count: 1
_links:
_self: /rest/v1/requests?type=APPLICATION_CREATION_REQUEST&page=0
PendingUserRequestsListExample:
value:
result:
- owner: 200ceb26-807d-3bf9-9fd6-f4f0d1ca54d4
id: d8d9e6b8-6015-415b-89f1-e728b29ac1a4
type: APPLICATION_CREATION_REQUEST
status: APPROVAL_PENDING
application: 4ef059a7-a32d-434b-b501-19bd5b12dd3f
state:
d7621234-9e82-4b9f-9edb-efa6efbf6501: APPROVAL_PENDING
count: 1
_links:
_self: /rest/v1/requests/pending?type=APPLICATION_CREATION_REQUEST&page=0
400-IncorrectState:
value:
code: 400
message: Unable to delete the user request in status [COMPLETED]
'404':
value:
code: 404
message: Unable to find the User Request
schemas:
UserRequestStatus:
type: string
description: Indicates the overall status of the user request.
enum:
- NEW
- APPROVAL_PENDING
- APPROVED
- WAITING_THIRDPARTY
- COMPLETED
- FAILED
- REJECTED
Trace:
type: object
properties:
request:
$ref: '#/components/schemas/UserRequest'
trace:
type: object
properties:
packageName:
type: array
items:
$ref: '#/components/schemas/AuditEventRepositoryObject'
AuditEventRepositoryObject:
allOf:
- $ref: '#/components/schemas/RepositoryObject'
type: object
properties:
parameters:
description: Event meta data
type: object
additionalProperties:
type: object
example:
api_name: AccuWeather
type:
description: Type of the event
type: object
enum:
- $ref: '#/components/schemas/EventType'
EventType:
type: string
enum:
- API_PUBLISH_EVENT
- API_REPUBLISH_EVENT
- API_UN_PUBLISH_EVENT
- PROVIDER_PUBLISH_EVENT
- PROVIDER_REPUBLISH_EVENT
- PROVIDER_UNPUBLISH_EVENT
- SIGN_UP_EVENT
- APPLICATION_REQUEST_EVENT
- APPLICATION_CREATION_REQUEST_EVENT
- APPLICATION_REQUEST_APPROVED_EVENT
- APPLICATION_REQUEST_REJECTED_EVENT
- COMMUNITY_CREATION_EVENT
- COMMUNITY_DELETION_EVENT
- COMMUNITY_MEMBERSHIP_CHANGE_EVENT
- COMMUNITY_SCOPE_CHANGE_EVENT
- IN_APP_NOTIFICATION_EVENT
- EMAIL_NOTIFICATION_EVENT
RepositoryObject:
type: object
properties:
id:
type: string
format: uuid
description: Identifier of the object
name:
type: string
description: Name of the object
summary:
type: string
description: Summary of the object
description:
type: string
description: Description of the object
owner:
type: string
description: Owner id of the object
modified:
type: string
format: yyyy-MM-dd HH:mm
description: Modified date time
created:
type: string
format: yyyy-MM-dd HH:mm
description: Created date time
UserRequestList:
type: object
properties:
result:
description: Result list
type: array
items:
$ref: '#/components/schemas/UserRequest'
_links:
description: Links of current and next page
$ref: '#/components/schemas/Pagination'
count:
type: integer
format: int32
description: Total result count
UserRequestCreated:
required:
- id
- _self
type: object
properties:
id:
type: string
description: Identifier of newly created request
_self:
description: Self reference of the newly created request
type: string
UserRequestType:
type: string
enum:
- APPLICATION_CREATION_REQUEST
- APPLICATION_API_REGISTRATION_REQUEST
- APPLICATION_API_DEREGISTRATION_REQUEST
- APPLICATION_UPDATE_REQUEST
- SUBSCRIPTION_REVOKE_REQUEST
- SUBSCRIPTION_CREATION_REQUEST
- APPLICATION_DELETION_REQUEST
UserRequest:
type: object
properties:
owner:
type: string
description: Id of the user who created the request
application:
type: string
description: Id of the application
context:
type: object
description: 'Has all details required for application creation.
e.g Name and description of the application, API and re-direct url.
'
additionalProperties:
type: string
id:
type: string
description: Unique identification of User Request. Refers to the GUID of the user request. For example `12896841-d85c-4a6c-88c9-632e927dee3d`
state:
type: object
description: Indicates the request state of each API/Subscription in the user request.
additionalProperties:
type: string
type:
$ref: '#/components/schemas/UserRequestType'
status:
$ref: '#/components/schemas/UserRequestStatus'
Pagination:
required:
- _self
type: object
properties:
_self:
description: Link of the current page
type: string
_next:
description: Link to the next page
type: string
Error:
required:
- code
- message
type: object
properties:
code:
description: Error code
type: integer
format: int32
message:
type: string
description: Error message
ResponseCode:
required:
- code
- message
type: object
properties:
code:
type: integer
format: int32
description: Error code
message:
type: string
description: Error message
x-refined-from:
- devportal-userrequests.yaml
- web-methods-developer-portal-userrequests-openapi.yml