Web Methods Policy Action Templates API
The PolicyActionTemplates API from Web Methods — 2 operation(s) for policyactiontemplates.
The PolicyActionTemplates API from Web Methods — 2 operation(s) for policyactiontemplates.
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-policyactiontemplates-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 Policy Action Templates API
version: '11.0'
description: 'Operations tagged PolicyActionTemplates across 2 of this provider''s published API definitions: apigateway-PolicyManagement.json, web-methods-api-gateway-policymanagement-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:5555/rest/apigateway
tags:
- name: PolicyActionTemplates
paths:
/policyActionTemplates:
get:
description: This REST Request is used to get the template detail for list of policy action.
parameters:
- name: policyActionTemplates
in: query
description: This is a query parameter. It will be used to fetch policy action templates for list of policy action.
required: false
x-example: policyActionTemplates=setMediaType,entryProtocolPolicy
schema:
type: string
responses:
'200':
description: This status code indicates the server has processed the request. The response body will contain the policy action templates for valid policy actions. If any of the policy action template specified is invalid, it will ommit that policy action template and return the response with remaining valid policy action template.
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/PolicyActionTemplate'
example: "{\n \"policyActionTemplates\": [\n {\n \"templateKey\": \"setMediaType\",\n \"names\": [\n {\n \"value\": \"Set Media Type\",\n \"locale\": \"en\"\n }\n ],\n \"descriptions\": [\n {\n \"value\": \"This policy is used to configure the default media type values for Content-Type and Accept headers. These values shall be used as the Content-Type or Accept-Header respectively, if no Content-Type or Accept-Header is specified in the run-time invoke request.\",\n \"locale\": \"en\"\n }\n ],\n \"applicableServiceTypes\": [\n \"REST\"\n ],\n \"parameterTemplatesReference\": [],\n \"parameterTemplates\": [\n {\n \"templateKey\": \"defaultContentType\",\n \"names\": [\n {\n \"value\": \"Default Content-Type\",\n \"locale\": \"en\"\n }\n ],\n \"descriptions\": [\n {\n \"value\": \"The Media Type value configured in this parameter will be sent as the Content-Type if no Content-Type is specified in the run-time invoke request.\",\n \"locale\": \"en\"\n }\n ],\n \"type\": \"STRING\",\n \"isArray\": false,\n \"isRequired\": false,\n \"canRender\": true\n },\n {\n \"templateKey\": \"defaultAccept\",\n \"names\": [\n {\n \"value\": \"Default Accept Header\",\n \"locale\": \"en\"\n }\n ],\n \"descriptions\": [\n {\n \"value\": \"The Media Type value configured in this parameter will be used as the Accept header if no Accept header is specified in the run-time invoke request.\",\n \"locale\": \"en\"\n }\n ],\n \"type\": \"STRING\",\n \"isArray\": false,\n \"isRequired\": false,\n \"canRender\": true\n }\n ],\n \"occurence\": \"once\",\n \"stageSpecific\": null,\n \"dependentActions\": [],\n \"dependentActionsConnector\": null,\n \"mutuallyExclusiveActions\": null,\n \"order\": {\n \"sequence\": [\n \"insequence\"\n ],\n \"orderPosition\": \"last\",\n \"isCustomOrderSupported\": false,\n \"policyTemplateIDs\": null\n },\n \"requiredParametersKeys\": [],\n \"canAppliedAtResourceMethodLevel\": false\n },\n {\n \"templateKey\": \"entryProtocolPolicy\",\n \"names\": [\n {\n \"value\": \"Require HTTP / HTTPS\",\n \"locale\": \"en\"\n }\n ],\n \"descriptions\": [\n {\n \"value\": \"Encapsulates the access protocol (HTTP and/or HTTPS) which will be used by client for communicating to the API-Gateway.\",\n \"locale\": \"en\"\n }\n ],\n \"applicableServiceTypes\": [\n \"REST\",\n \"SOAP\"\n ],\n \"parameterTemplatesReference\": [],\n \"parameterTemplates\": [\n {\n \"templateKey\": \"protocol\",\n \"names\": [\n {\n \"value\": \"Protocol\",\n \"locale\": \"en\"\n }\n ],\n \"descriptions\": [\n {\n \"value\": \"Access protocol for bridging between the client and API-Gateway.\",\n \"locale\": \"en\"\n }\n ],\n \"type\": \"STRING\",\n \"isArray\": true,\n \"isRequired\": true,\n \"canRender\": true,\n \"defaultValues\": [\n \"http\"\n ],\n \"possibleValues\": [\n {\n \"names\": [\n {\n \"value\": \"HTTP\",\n \"locale\": \"en\"\n }\n ],\n \"value\": \"http\"\n },\n {\n \"names\": [\n {\n \"value\": \"HTTPS\",\n \"locale\": \"en\"\n }\n ],\n \"value\": \"https\"\n }\n ]\n },\n {\n \"templateKey\": \"soapVersion\",\n \"names\": [\n {\n \"value\": \"SOAP version\",\n \"locale\": \"en\"\n }\n ],\n \"descriptions\": [\n {\n \"value\": \"Supported SOAP Version.\",\n \"locale\": \"en\"\n }\n ],\n \"type\": \"STRING\",\n \"isArray\": false,\n \"isRequired\": false,\n \"canRender\": true,\n \"defaultValues\": [\n \"soap\"\n ],\n \"possibleValues\": [\n {\n \"names\": [\n {\n \"value\": \"SOAP 1.1\",\n \"locale\": \"en\"\n }\n ],\n \"value\": \"soap\"\n },\n {\n \"names\": [\n {\n \"value\": \"SOAP 1.2\",\n \"locale\": \"en\"\n }\n ],\n \"value\": \"soap12\"\n }\n ],\n \"applicableServiceTypes\": [\n \"SOAP\"\n ]\n }\n ],\n \"occurence\": \"once\",\n \"stageSpecific\": null,\n \"dependentActions\": null,\n \"dependentActionsConnector\": null,\n \"mutuallyExclusiveActions\": null,\n \"order\": {\n \"sequence\": [\n \"insequence\"\n ],\n \"orderPosition\": \"first\",\n \"isCustomOrderSupported\": false,\n \"policyTemplateIDs\": null\n },\n \"requiredParametersKeys\": [\n \"protocol\"\n ],\n \"canAppliedAtResourceMethodLevel\": false\n }\n ]\n}"
'401':
description: This status code indicates that the user did not provide any user credential or user does not have API Gateway Administrator or API Gateway provider access to get policy action template.
security:
- Basic: []
tags:
- PolicyActionTemplates
summary: Get policy action templates
x-summary-source: derived
operationId: getPolicyActionTemplates
x-operation-id-source: derived
servers:
- url: http://localhost:5555/rest/apigateway
/policyActionTemplates/{policyActionTemplateId}:
get:
description: This REST Request is used to get the template details of a policy action.. To retrieve the policy action template for a particular policy action, specify the policy action template name as a path parameter
parameters:
- name: policyActionTemplateId
in: path
description: This is a path parameter. It will be used to fetch policy action template of a particular template.
required: true
x-example: entryProtocolPolicy
schema:
type: string
responses:
'200':
description: This status code indicates policy action template is available and the response body will contain the policy action template details
content:
application/json:
schema:
$ref: '#/components/schemas/PolicyActionTemplate'
example: "{\n \"policyActionTemplates\": {\n \"templateKey\": \"entryProtocolPolicy\",\n \"names\": [\n {\n \"value\": \"Require HTTP / HTTPS\",\n \"locale\": \"en\"\n }\n ],\n \"descriptions\": [\n {\n \"value\": \"Encapsulates the access protocol (HTTP and/or HTTPS) which will be used by client for communicating to the API-Gateway.\",\n \"locale\": \"en\"\n }\n ],\n \"applicableServiceTypes\": [\n \"REST\",\n \"SOAP\"\n ],\n \"parameterTemplatesReference\": [],\n \"parameterTemplates\": [\n {\n \"templateKey\": \"protocol\",\n \"names\": [\n {\n \"value\": \"Protocol\",\n \"locale\": \"en\"\n }\n ],\n \"descriptions\": [\n {\n \"value\": \"Access protocol for bridging between the client and API-Gateway.\",\n \"locale\": \"en\"\n }\n ],\n \"type\": \"STRING\",\n \"isArray\": true,\n \"isRequired\": true,\n \"canRender\": true,\n \"defaultValues\": [\n \"http\"\n ],\n \"possibleValues\": [\n {\n \"names\": [\n {\n \"value\": \"HTTP\",\n \"locale\": \"en\"\n }\n ],\n \"value\": \"http\"\n },\n {\n \"names\": [\n {\n \"value\": \"HTTPS\",\n \"locale\": \"en\"\n }\n ],\n \"value\": \"https\"\n }\n ]\n },\n {\n \"templateKey\": \"soapVersion\",\n \"names\": [\n {\n \"value\": \"SOAP version\",\n \"locale\": \"en\"\n }\n ],\n \"descriptions\": [\n {\n \"value\": \"Supported SOAP Version.\",\n \"locale\": \"en\"\n }\n ],\n \"type\": \"STRING\",\n \"isArray\": false,\n \"isRequired\": false,\n \"canRender\": true,\n \"defaultValues\": [\n \"soap\"\n ],\n \"possibleValues\": [\n {\n \"names\": [\n {\n \"value\": \"SOAP 1.1\",\n \"locale\": \"en\"\n }\n ],\n \"value\": \"soap\"\n },\n {\n \"names\": [\n {\n \"value\": \"SOAP 1.2\",\n \"locale\": \"en\"\n }\n ],\n \"value\": \"soap12\"\n }\n ],\n \"applicableServiceTypes\": [\n \"SOAP\"\n ]\n }\n ],\n \"occurence\": \"once\",\n \"stageSpecific\": null,\n \"dependentActions\": null,\n \"dependentActionsConnector\": null,\n \"mutuallyExclusiveActions\": null,\n \"order\": {\n \"sequence\": [\n \"insequence\"\n ],\n \"orderPosition\": \"first\",\n \"isCustomOrderSupported\": false,\n \"policyTemplateIDs\": null\n },\n \"requiredParametersKeys\": [\n \"protocol\"\n ],\n \"canAppliedAtResourceMethodLevel\": false\n }\n}"
'401':
description: This status code indicates that the user did not provide any user credential or user does not have API Gateway Administrator or API Gateway provider access to get the policy action template details.
'404':
description: This status code indicates that the policy action template specified is not found
content:
application/json:
example: "{\n \"errorDetails\": \" Unable to find the resource: nonExisitingProtocol\"\n}"
security:
- Basic: []
tags:
- PolicyActionTemplates
summary: Get policy action templates by policy action template id
x-summary-source: derived
operationId: getPolicyActionTemplatesByPolicyActionTemplateId
x-operation-id-source: derived
servers:
- url: http://localhost:5555/rest/apigateway
components:
schemas:
InternationalizedString:
type: object
properties:
locale:
type: string
description: This property will have the localization information of the property 'value'.
value:
type: string
description: This property will hold the actual string
description: This model is used to store a string with its corresponding locale
PolicyActionOrder:
type: object
properties:
isCustomOrderSupported:
type: boolean
orderPosition:
type: string
description: "Order of the policy enforcement. \n 1. First - policy enforcement needs to be added in its respective stage. \n 2. Last - policy enforcement needs to be added as last in its respective stage. \n 3. Before First occurrence - Policy needs to be added before the first occurrence of policyTemplateIds specified. \n 4. After last occurrence - Policy needs to be added after last occurrence of policyTemplateIds specified"
enum:
- first
- last
- beforeFirstOccurence
- afterLastOccurence
policyTemplateIDs:
type: array
description: List of policy template ids needed to process the order before first occurrence and after last occurrence
items:
type: string
sequence:
type: array
description: "Sequence of the policy enforcement.\n 1. insequence - Stages or policies marked with this sequence will be executed when the request comes to API Gateway and before the request dispatched to native service. \n 2. outsequence - Stages or policies marked with this sequence will be executed when the request goes out of API Gateway to the invoker. \n 3. faultsequence - Stages or policies marked with this sequence will be executed when native service return any error"
items:
type: string
enum:
- insequence
- outsequence
- faultsequence
description: PolicyActionOrder is used to specify the policy enforcement order in its respective stage
PolicyActionParameterTemplate:
type: object
properties:
applicableServiceTypes:
type: array
description: List of Service type applicable for this policy action parameter
items:
type: string
canRender:
type: boolean
description: UI specific property. This property infer it can be rendered on UI
defaultValues:
type: array
description: This contains the list of default values for this policy action parameter
items:
type: object
descriptions:
type: array
description: Policy action parameter template description
items:
$ref: '#/components/schemas/InternationalizedString'
isArray:
type: boolean
description: This property infers whether this policy action parameter can be an array
isRequired:
type: boolean
description: This property infers if it is added to a policy enforcement then it is mandate to provide value for this policy action parameter
names:
type: array
description: Policy action parameter template name
items:
$ref: '#/components/schemas/InternationalizedString'
parameterTemplatesReference:
type: array
items:
type: string
policyParaeterTemplates:
type: array
items:
$ref: '#/components/schemas/PolicyActionParameterTemplate'
possibleValues:
type: array
items:
$ref: '#/components/schemas/PossibleValue'
requiredChildParameterKeys:
type: array
items:
type: string
templateKey:
type: string
description: Unique id for policy action parameter
type:
type: string
description: Policy Action parameter data type.
enum:
- STRING
- TEXT
- INT
- LONG
- DOUBLE
- BOOLEAN
- XPATH
- FILE
- ESB
- OBJECT
- SECURESTRING
description: A policy action parameter template defines the schema for a policy enforcement parameter. A policy enforcement can have one or more policy action parameters.
PossibleValue:
type: object
properties:
names:
type: array
description: Descriptive name for the value
items:
$ref: '#/components/schemas/InternationalizedString'
value:
type: string
description: value that need to be used when providing value for the respective policy action parameter
description: For policy action parameter we can define the list of possible values.
PolicyActionTemplate:
type: object
properties:
applicableServiceTypes:
type: array
description: Policy enforcement only applicable for the list of service type specified here
items:
type: string
canAppliedAtResourceMethodLevel:
type: boolean
description: This property infers that the policy action can be applied at resource/operation or method level.
dependentActions:
type: array
description: Dependent list of policy enforcements. This policy enforcement can't be added with out the specified list of policy enforcement templates
items:
type: string
dependentActionsConnector:
type: string
descriptions:
type: array
description: Description for the policy enforcement
readOnly: true
items:
$ref: '#/components/schemas/InternationalizedString'
mutuallyExclusiveActions:
type: array
description: The list contains the mutually exclusive policy enforcements with this policy enforcement
items:
type: string
names:
type: array
description: Name of the policy enforcement along with the corresponding locale information
readOnly: true
items:
$ref: '#/components/schemas/InternationalizedString'
occurrence:
type: string
description: "Allowed occurrence for the respective policy enforcement. \n 1. Once - Policy enforcement can be added only once on the respective stage. \n 2. Multiple - Policy enforcement can be added multiple times on the respective stage."
enum:
- once
- multiple
order:
$ref: '#/components/schemas/PolicyActionOrder'
parameterTemplates:
type: array
items:
$ref: '#/components/schemas/PolicyActionParameterTemplate'
requiredParametersKeys:
type: array
items:
type: string
stageSpecific:
type: string
description: Some policy enforcement can be added in multiple stages. This property specify it needs to be processed based on the stage it added.
templateKey:
type: string
description: A unique id for this policy enforcement
readOnly: true
description: 'A policy action template represents the schema for a policy enforcement. '
securitySchemes:
Basic:
type: http
scheme: basic
description: API Gateway Administrator and API Gateway provider
x-refined-from:
- apigateway-PolicyManagement.json
- web-methods-api-gateway-policymanagement-openapi.yml