Web Methods Subscriptions API

The Subscriptions API from Web Methods — 4 operation(s) for subscriptions.

GitHub OpenAPI

Operations 7

GET /subscriptions Get all subscriptions #
POST /subscriptions Create subscription #
GET /subscriptions/usage Get all subscription usage #
GET /subscriptions/{applicationId} Get subscription by subscription ID #
PUT /subscriptions/{applicationId} Update subscription #
DELETE /subscriptions/{applicationId} Delete subscription by subscription ID #
GET /subscriptions/{applicationId}/usage Get usage by subscription ID #

Specifications

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/web-methods:web-methods-subscriptions-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

web-methods-subscriptions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Web Methods Subscriptions API
  version: '11.0'
  description: 'Operations tagged Subscriptions across 2 of this provider''s published API definitions: apigateway-MonetizationSwagger.json, web-methods-api-gateway-monetization-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:5555/{gateway}
tags:
- name: Subscriptions
paths:
  /subscriptions:
    get:
      description: The method retrieves all subscriptions or set of subscriptions for the specified package id and plan id specified. The response will contain the list of application details. The API key inside all the application will be masked even though the API invoker have permission to view the key.
      operationId: getAllSubscriptions
      parameters:
      - name: packageId
        in: query
        description: Specify the package id for which the subscription details is requested
        required: false
        x-example: a17beba9-9701-46c2-aef6-e54d2fefe44c
        schema:
          type: string
      - name: planId
        in: query
        description: Specify the plan id for which the subscription details is requested
        required: false
        x-example: eb135dfc-6ad4-41a3-9c34-4c005037cb8b
        schema:
          type: string
      responses:
        '200':
          description: All the subscription details will be retrieved. The api key will be masked in the response even though the invoker is the owner of some or all of the application.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Application'
              example: "[\n    {\n        \"applicationID\": \"923bd0b4-ee59-44be-b13f-85c761e5114c\",\n        \"name\": \"Subscription1\",\n        \"description\": \"subscribing API1\",\n        \"owner\": \"Administrator\",\n        \"identifiers\": [],\n        \"accessTokens\": {\n            \"apiAccessKey\": {\n                \"apiAccessKey\": \"********************************\"\n            }\n        },\n        \"creationDate\": \"2021-07-30 05:48:02 GMT\",\n        \"lastModified\": \"2021-07-30 08:30:22 GMT\",\n        \"lastUpdated\": 1627633822085,\n        \"siteURLs\": [],\n        \"jsOrigins\": [],\n        \"version\": \"1.0\",\n        \"packageName\": \"Package2\",\n        \"packageId\": \"bf799f44-1479-4af4-a594-065a2c4c23b9\",\n        \"planName\": \"Plan2\",\n        \"planId\": \"fa1a5343-40e6-41ef-932e-98cd55026ac5\",\n        \"provider\": \"APIGateway\",\n        \"isSuspended\": false,\n        \"authStrategyIds\": [\n            \"5530e2ad-3e30-41c4-84b7-55a9b2b79a12\"\n        ],\n        \"subscription\": true,\n        \"shell\": false\n    }\n]"
        '401':
          description: This status shows either user didn't provide any user credential or user does not exists in API Gateway
        '404':
          description: This status code shows that the subscription is not available for provided packageId or planId
      security:
      - Basic: []
      tags:
      - Subscriptions
      summary: Get all subscriptions
      x-summary-source: derived
    post:
      description: This endpoint is used to create subscription for specified package and plan in the request. If the approval is enabled, the response will not contain the API key but the application id will be available to retrieve the API key later. A approval request will be created in API gateway to approve the subscription. Once the request is approved the application will be provided with an API key. Then you can use subscriptions/{applicationId} GET HTTP method to get the API key
      operationId: createSubscription
      responses:
        '201':
          description: The response will display the application details that is created. Generally it will display the api key in the response. If the request and invoker of this api is different then the api key will be masked. Only that user or if team work is enabled any of the team member can view the key by invoking /subscriptions/{applicationId}. If the response doesnt have any information about the key then it might be waiting for approval or auto approved if the invoker have approval permission
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Application'
              example: '{"applicationID":"923bd0b4-ee59-44be-b13f-85c761e5114c","name":"Subscription1","description":"subscribing API1","owner":"Administrator","identifiers":[],"accessTokens":{"apiAccessKey":{"apiAccessKey":"ee6f218e-e769-4fa4-80c4-820752c76f09"}},"creationDate":"2021-07-30 05:48:02 GMT","lastUpdated":1627624082883,"siteURLs":[],"jsOrigins":[],"version":"1.0","packageName":"Package1","packageId":"b40eb752-2f79-4a70-870f-41de7896548d","planName":"Plan1","planId":"e802f52d-c7ae-4f24-b7e2-b2ff0c40d778","provider":"APIGateway","isSuspended":false,"authStrategyIds":["5530e2ad-3e30-41c4-84b7-55a9b2b79a12"],"primaryNode":{"hostId":"46fb7722-0ea8-4be6-a4f0-37b1b037a108","replica":0},"subscription":true,"shell":false}'
        '400':
          description: If the any of the details provided is not sufficient you will get this error.
          content:
            application/json:
              example: '{"errorDetails":"Application name is needed to create subscription"}'
        '401':
          description: If the REST API invoking user does not exists or doesnt have manage application permission, then you will get this error
          content:
            application/json:
              example: '{"errorDetails":"The user: nonAdminUser is not authorized to perform: POST on the resource: subscriptions"}'
      security:
      - Basic: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubscriptionRequest'
      tags:
      - Subscriptions
      summary: Create subscription
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/{gateway}
  /subscriptions/usage:
    get:
      description: This endpoint is used to list the aggregated details of each active subscription for current cycle. This can be used with filters mentioned as query parameter to fine grain the result. For example, if you want to fetch the list of usage of active subscription for package GoldPackage, then you can specify package=GoldPackage in query parameter. The result will contain usage details of subscription belongs to GoldPackage alone. You can either fetch all the records at once or use the from and size query parameter to fetch subset of details.
      operationId: getAllSubscriptionUsage
      parameters:
      - name: name
        in: query
        description: Subscription name to search for usage
        required: false
        x-example: subscription1
        schema:
          type: string
      - name: package
        in: query
        description: Package name to search for usage
        required: false
        x-example: package1
        schema:
          type: string
      - name: plan
        in: query
        description: Plan name to search for usage
        required: false
        x-example: plan1
        schema:
          type: string
      - name: from
        in: query
        description: Starting index number of the usage result to fetch
        required: false
        x-example: 12
        schema:
          type: integer
      - name: size
        in: query
        description: Number of results to be fetched for the usage result
        required: false
        x-example: 12
        schema:
          type: integer
      - name: count
        in: query
        description: true to get the count for the search or all the usages available
        required: false
        x-example: 'true'
        schema:
          type: string
          enum:
          - 'true'
          - 'false'
          default: 'false'
      responses:
        '200':
          description: This returns all the usage details of active subscriptions for current cycle after applying the filters if any
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Usage'
              example: "[\n    {\n        \"successCount\": 0,\n        \"failureCount\": 0,\n        \"planId\": \"fa1a5343-40e6-41ef-932e-98cd55026ac5\",\n        \"planName\": \"Plan2\",\n        \"packageId\": \"bf799f44-1479-4af4-a594-065a2c4c23b9\",\n        \"packageName\": \"Package2\",\n        \"applicationId\": \"923bd0b4-ee59-44be-b13f-85c761e5114c\",\n        \"applicationName\": \"Subscription1\",\n        \"quotaAllowed\": 4,\n        \"usedQuota\": 0,\n        \"interval\": \"3\",\n        \"intervalUnit\": \"minutes\",\n        \"startTime\": 1627889239330,\n        \"endTime\": 1627889419330,\n        \"remainingPeriod\": \"Less than 1 Minute left\",\n        \"quota\": \"4 / 3 Minutes\",\n        \"remainingPeriodInMillis\": 52738\n    }\n]"
        '401':
          description: This indicates that the invoker does not exists in API Gateway
      security:
      - Basic: []
      tags:
      - Subscriptions
      summary: Get all subscription usage
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/{gateway}
  /subscriptions/{applicationId}:
    get:
      description: This endpoint is used to fetch the application details of the subscription.
      operationId: getSubscriptionBySubscriptionID
      parameters:
      - name: applicationId
        in: path
        description: Application id to view the details of the application
        required: true
        x-example: 923bd0b4-ee59-44be-b13f-85c761e5114c
        schema:
          type: string
      responses:
        '200':
          description: This will return the application details of the subscription. The API access key will be in plain text only when the user or the team if team work enabled have permission to view or manage the application.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Application'
              example: "{\n    \"applicationID\": \"923bd0b4-ee59-44be-b13f-85c761e5114c\",\n    \"name\": \"Subscription1\",\n    \"description\": \"subscribing API1\",\n    \"owner\": \"Administrator\",\n    \"identifiers\": [],\n    \"accessTokens\": {\n        \"apiAccessKey\": {\n            \"apiAccessKey\": \"ee6f218e-e769-4fa4-80c4-820752c76f09\"\n        }\n    },\n    \"creationDate\": \"2021-07-30 05:48:02 GMT\",\n    \"lastModified\": \"2021-07-30 08:30:22 GMT\",\n    \"lastUpdated\": 1627633822085,\n    \"siteURLs\": [],\n    \"jsOrigins\": [],\n    \"version\": \"1.0\",\n    \"packageName\": \"Package2\",\n    \"packageId\": \"bf799f44-1479-4af4-a594-065a2c4c23b9\",\n    \"planName\": \"Plan2\",\n    \"planId\": \"fa1a5343-40e6-41ef-932e-98cd55026ac5\",\n    \"provider\": \"APIGateway\",\n    \"isSuspended\": false,\n    \"authStrategyIds\": [\n        \"5530e2ad-3e30-41c4-84b7-55a9b2b79a12\"\n    ],\n    \"subscription\": true,\n    \"shell\": false\n}"
        '401':
          description: This status shows either user didn't provide any user credential or user does not exists in API Gateway or user doesnt have permission to manage the application
          content:
            application/json:
              example: "{\n    \"errorDetails\": \"User doesn't have permission to manage this application\"\n}"
        '404':
          description: This status code shows that the subscription is not available. If team work is enabled, then the application id will be validated for your permission to manage. If not it will show 401 instead of 404 due to restriction.
          content:
            application/json:
              example: ''
      security:
      - Basic: []
      tags:
      - Subscriptions
      summary: Get subscription by subscription ID
      x-summary-source: derived
    put:
      description: This is used switch the subscription from one package and plan to another package and plan combination. If approval is enabled, then the request will return old application detail as response and will create a request for approver to approve the switch. Till the request get approved the user can invoke old package APIs only. After the subscription is switched, the quota for the subscription will be reset and will be able to invoke the new APIs using the same API Key. To get the history of the subscription usage use the /transactionalEvents/_search endpoint
      operationId: updateSubscription
      parameters:
      - name: applicationId
        in: path
        description: Application id to update the subscription details
        required: true
        x-example: 923bd0b4-ee59-44be-b13f-85c761e5114c
        schema:
          type: string
      responses:
        '200':
          description: After the subscription is successfully switched to the mentioned new package and plan id the application details will be returned as response. If approval is enabled, the application detail returned will have reference old package and old plan reference, since the request will be triggered and will be pending in the approver queue for approval. After the approval, you can query /subscriptions/{applicationId} GET HTTP method to get the latest application details. If the owner of the application and invoking user is different the API key will be masked in the response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Application'
              example: "{\n    \"applicationID\": \"923bd0b4-ee59-44be-b13f-85c761e5114c\",\n    \"name\": \"Subscription1\",\n    \"description\": \"subscribing API1\",\n    \"owner\": \"Administrator\",\n    \"identifiers\": [],\n    \"accessTokens\": {\n        \"apiAccessKey\": {\n            \"apiAccessKey\": \"ee6f218e-e769-4fa4-80c4-820752c76f09\"\n        }\n    },\n    \"creationDate\": \"2021-07-30 05:48:02 GMT\",\n    \"lastModified\": \"2021-07-30 08:30:22 GMT\",\n    \"lastUpdated\": 1627633822085,\n    \"siteURLs\": [],\n    \"jsOrigins\": [],\n    \"version\": \"1.0\",\n    \"packageName\": \"Package2\",\n    \"packageId\": \"bf799f44-1479-4af4-a594-065a2c4c23b9\",\n    \"planName\": \"Plan2\",\n    \"planId\": \"fa1a5343-40e6-41ef-932e-98cd55026ac5\",\n    \"provider\": \"APIGateway\",\n    \"isSuspended\": false,\n    \"authStrategyIds\": [\n        \"5530e2ad-3e30-41c4-84b7-55a9b2b79a12\"\n    ],\n    \"subscription\": true,\n    \"shell\": false\n}"
        '400':
          description: If any of the provided details is not valid to enough to make the switch, then this status code will be returned
          content:
            application/json:
              example: "{\n    \"errorDetails\": \"Package Id - bf799f44-1479-4af4-a594-065a2c4c23b9 is not active\"\n}"
        '401':
          description: If the REST API invoking user does not exists or doesnt have manage application permission, then this error will be returned
          content:
            application/json:
              example: "{\n    \"errorDetails\": \" The user: subusernonmanageapp is not authorized to perform: PUT on the resource: subscriptions\"\n}"
        '404':
          description: If the subscription is not available, then this error will be returned
          content:
            application/json:
              example: "{\n    \"errorDetails\": \"Application Id - 923bd0b4-ee59-44be-b13f-85c761e5114c1 does not exist\"\n}"
      security:
      - Basic: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubscriptionUpdateRequest'
      tags:
      - Subscriptions
      summary: Update subscription
      x-summary-source: derived
    delete:
      description: This endpoint is used to deleted subscriptions created in API Gateway. If approval is enabled for deletion of subscription then the a request will be created to approve. Till the request get approved the application will be suspended. If the delete request is approved then the application will be deleted and if the delete request is rejected then the application will be resumed from suspend state.
      operationId: deleteSubscriptionBySubscriptionID
      parameters:
      - name: applicationId
        in: path
        description: Application id to delete the application
        required: true
        x-example: 923bd0b4-ee59-44be-b13f-85c761e5114c
        schema:
          type: string
      responses:
        '204':
          description: The response will not have any data and application will be deleted. If approval is enabled, still the response will be same actual deletion but the request for deletion of application will be triggered. In the mean time the application will be suspended and user will not be able to use the application. If the approver rejects the request, the application will be enabled again.
        '400':
          description: If the subscription mentioned to delete is not a subscription then this error will be returned.
          content:
            application/json:
              example: "{\n    \"errorDetails\": \"Application Id - 4a92a5c3-e19e-423f-9064-92c8d0a1a881 is not a subscription\"\n}"
        '401':
          description: If the REST API invoking user does not exists or doesnt have manage application permission, then you will get this error
          content:
            application/json:
              example: "{\n    \"errorDetails\": \" The user: nonAdminUser is not authorized to perform: DELETE on the resource: subscriptions\"\n}"
        '404':
          description: If the subscription is not available, then this error will be returned
          content:
            application/json:
              example: '{}'
      security:
      - Basic: []
      tags:
      - Subscriptions
      summary: Delete subscription by subscription ID
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/{gateway}
  /subscriptions/{applicationId}/usage:
    get:
      description: This end point is used to fetch the aggregated usage of the application id for current cycle. This will return the usage only if the subscription is active. For the historic or detailed transaction wise usage details use /transactionalEvents/_search API.
      operationId: getUsageBySubscriptionID
      parameters:
      - name: applicationId
        in: path
        description: Application id to view the usage details of the application
        required: true
        x-example: 923bd0b4-ee59-44be-b13f-85c761e5114c
        schema:
          type: string
      responses:
        '200':
          description: This return the aggregated usage details of subscription for current cycle
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Usage'
              example: "{\n    \"successCount\": 0,\n    \"failureCount\": 0,\n    \"planId\": \"fa1a5343-40e6-41ef-932e-98cd55026ac5\",\n    \"planName\": \"Plan2\",\n    \"packageId\": \"bf799f44-1479-4af4-a594-065a2c4c23b9\",\n    \"packageName\": \"Package2\",\n    \"applicationId\": \"923bd0b4-ee59-44be-b13f-85c761e5114c\",\n    \"applicationName\": \"Subscription1\",\n    \"quotaAllowed\": 4,\n    \"usedQuota\": 0,\n    \"interval\": \"3\",\n    \"intervalUnit\": \"minutes\",\n    \"startTime\": 1627888159330,\n    \"endTime\": 1627888339330,\n    \"remainingPeriod\": \"Less than 1 Minute left\",\n    \"quota\": \"4 / 3 Minutes\",\n    \"remainingPeriodInMillis\": 35939\n}"
        '401':
          description: 'This indicates that the invoker does not exists in API Gateway or the invoker doesnt have permission to manage the application. '
          content:
            application/json:
              example: ''
        '404':
          description: This indicates that the application specified is not found or the usage is not available for application
          content:
            application/json:
              example: ''
      security:
      - Basic: []
      tags:
      - Subscriptions
      summary: Get usage by subscription ID
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/{gateway}
components:
  schemas:
    OAuth2Token:
      type: object
      properties:
        clientId:
          type: string
          description: unique identifier of the oauth2 client
        clientName:
          type: string
          description: the name of the client
        clientSecret:
          type: string
          description: the client secret
        expirationInterval:
          type: string
          description: the expiration interval
        redirectUris:
          type: array
          description: list of redirect uris
          items:
            type: string
        refreshCount:
          type: string
          description: number of times an access token can be refreshed
        scopes:
          type: array
          description: the scopes associated with the client
          items:
            type: string
        type:
          type: string
          description: type of the oauth2 client
    ApplicationIdentifier:
      type: object
      properties:
        id:
          type: string
          description: unique identifier of the application identifier
        key:
          type: string
          description: identifier type
        name:
          type: string
          description: name of the identifier
        value:
          type: array
          description: list of identifier values
          items:
            type: string
    Application:
      type: object
      properties:
        accessTokens:
          $ref: '#/components/schemas/ApplicationToken'
        applicationID:
          type: string
          description: unique identifier of an application
        authStrategyIds:
          type: array
          description: Contains a list of JWT/Oauth/OpenID authentication strategy ids associated to the application
          uniqueItems: true
          items:
            type: string
        contactEmails:
          type: array
          description: list of email contacts
          items:
            type: string
        creationDate:
          type: string
          description: application creation time
        customFields:
          type: object
          description: list of all custom fields
          additionalProperties:
            type: object
        description:
          type: string
          description: description of the application
        iconbyteArray:
          type: string
          description: application icon byte array
        identifiers:
          type: array
          description: list of all application identifiers
          items:
            $ref: '#/components/schemas/ApplicationIdentifier'
        isSuspended:
          type: boolean
          description: holds the suspended state of an application
        jsOrigins:
          type: array
          description: list of all javascript origins
          items:
            type: string
        lastModified:
          type: string
          description: last modified time of the application
        lastUpdated:
          type: integer
          format: int64
          description: last modified time of the application in milliseconds
        name:
          type: string
          description: name of the application
        owner:
          type: string
          description: owner of the application
        ownerType:
          type: string
          description: The application's owner type can be user or a team. By default, its the user who created the application.
        primaryNode:
          $ref: '#/components/schemas/Node'
        shell:
          type: boolean
        siteURLs:
          type: array
          description: list of all site URLs
          items:
            type: string
        subscription:
          type: boolean
        version:
          type: string
    ApplicationToken:
      type: object
      properties:
        apiAccessKey:
          $ref: '#/components/schemas/APIAccessKey'
        oauth2Token:
          $ref: '#/components/schemas/OAuth2Token'
    Node:
      type: object
      properties:
        hostId:
          type: string
        replica:
          type: integer
          format: int32
    Usage:
      type: object
      properties:
        applicationId:
          type: string
          description: Application id of the subscription
          readOnly: true
        applicationName:
          type: string
          description: Application name of the subscription
          readOnly: true
        configuredQuota:
          type: string
          description: Quota (number of invokes) of the subscription as text for the current interval
          readOnly: true
        endTime:
          type: integer
          format: int64
          description: End time of the subscription in milli seconds for the current interval
          readOnly: true
        failureCount:
          type: integer
          format: int32
          description: This will show the number of failure invokes for the current subscription in the current interval
          readOnly: true
        interval:
          type: string
          description: Interval value of the subscription for current interval
          readOnly: true
        intervalUnit:
          type: string
          description: Interval Unit of the subscription for the current interval
          readOnly: true
        packageId:
          type: string
          description: Package id of the subscription
          readOnly: true
        packageName:
          type: string
          description: Package name of the subscription
          readOnly: true
        planId:
          type: string
          description: Plan id of the subscription
          readOnly: true
        planName:
          type: string
          description: Plan name of the subscription
          readOnly: true
        quotaAllowed:
          type: integer
          format: int64
          description: Quota (number of invokes) allowed for the subscription for current interval
          readOnly: true
        remainingPeriod:
          type: string
          description: Remaining period of the subscription as text for the current interval
          readOnly: true
        remainingPeriodInMillis:
          type: integer
          format: int64
          description: Remaining period of the subscription in milli seconds for the current interval
          readOnly: true
        restoredIntervalInSeconds:
          type: integer
          format: int32
          description: This value shows the elapses time of subscription in case of restart of the server. This end time and remaining time will be calculated based on start time, interval and restored interval.
          readOnly: true
        startDayOfTheWeek:
          type: string
          description: Start of the week configured in API gateway
          readOnly: true
        startTime:
          type: integer
          format: int64
          description: Start time of the subscription for current interval in milli seconds
          readOnly: true
        successCount:
          type: integer
          format: int32
          description: This will show the number of successful invokes for the current subscription in the current interval
          readOnly: true
        usedQuota:
          type: integer
          format: int64
          description: Quota (number of invokes) used count for the subscription for current interval
          readOnly: true
      description: This is used to show the current usage of a subscription for the current tenure
    SubscriptionUpdateRequest:
      type: object
      required:
      - newPackageId
      - newPlanId
      properties:
        newPackageId:
          type: string
          description: Package id to which the subscription needs to be switched
        newPlanId:
          type: string
          description: Plan id to which the subscription needs to be switched
        requesterComment:
          type: string
          description: Requester comment to use in the update subscription approval request.
        requesterName:
          type: string
          description: Name of the requester to whom the subscription is requested. This will be used as requester name in update subscription approval request. If not specified the name of the invoking user will be used in approval request
    APIAccessKey:
      type: object
      properties:
        apiAccessKey:
          type: string
          description: API access key
        expirationDate:
          type: string
          description: expiration date of the api key
        expirationInterval:
          type: string
          description: expiration interval of the api key
    SubscriptionRequest:
      type: object
      required:
      - applicationName
      - packageId
      - planId
      - requesterId
      properties:
        applicationDescription:
          type: string
          description: Application description of the subscription requested
        applicationName:
          type: string
          description: Application name of the subscription requested
        otherRequesterDetails:
          type: object
          description: Any other information to use it in the create subscription approval request
          additionalProperties:
            type: string
        packageId:
          type: string
          description: Package id to which the subscription is requested
        planId:
          type: string
          description: Plan id to which the subscription is requested
        redirectURIs:
          type: array
          description: Redirect URIs to use in application created for this subscription.
          items:
            type: string
        requesterComment:
          type: string
          description: Requester comment to use in the create subscription approval request.
        requesterEmail:
          type: string
          description: Email id of the requester to use in the create subscription approval request.
        requesterFirstName:
          type: string
          description: First name of the requester to use in the  create subscription approval request.
        requesterId:
          type: string
          description: User id of the requester to whom the subscription is requested. This will be used as owner for Application created
        requesterLastName:
          type: string
          description: Last name of the requester to use in the create subscription approval request.
        requesterName:
          type: string
          description: Name of the requester to whom the subscription is requested. This will be used as requester name in create subscription approval request. If not specified the name of the invoking user will be used in approval request
      description: This model is used to get the required details to create a subscription for the specified package and plan
  securitySchemes:
    Basic:
      type: http
      scheme: basic
      description: API Gateway Administrator
x-refined-from:
- apigateway-MonetizationSwagger.json
- web-methods-api-gateway-monetization-openapi.yml