Request Protocol Transformation Policy
General Information
Policy Type
policy-request-protocol-transformation
Important: This policy is automatically managed by the system. It is added to the API Proxy when SOAP/REST transformation is enabled during API Proxy creation. It cannot be added, updated, or deleted via API. It is only visible in the List Policies response.
List Policies
This policy appears in the List Policies response when an API Proxy has SOAP/REST transformation enabled.
Endpoint
GET /apiops/projects/{projectName}/apiProxies/{apiProxyName}/policies/
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer {token} |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| apiProxyName | string | Yes | API Proxy name |
Response
Success Response (200 OK)
{
"status": "SUCCESS",
"resultList": [
{
"apiProxy": {
"name": "MyAPI",
"requestPolicyList": [
{
"type": "policy-request-protocol-transformation",
"name": "rest-to-soap-transformation",
"description": "Transform REST requests to SOAP",
"active": true,
"policyCondition": null,
"errorMessageList": []
}
],
"responsePolicyList": [],
"errorPolicyList": []
}
}
],
"resultCount": 1
}
Policy Object Fields
| Field | Type | Description |
|---|---|---|
| type | string | "policy-request-protocol-transformation" |
| name | string | Policy name |
| description | string | Policy description |
| active | boolean | Whether the policy is active |
| policyCondition | object | Policy condition (null if not set) |
| errorMessageList | array | List of error messages |
Note: This policy has no specific configuration fields beyond the base policy fields. The transformation mapping is managed automatically by the system based on the API Proxy's SOAP/REST configuration.
cURL Example
curl -X GET \
'https://api.apinizer.com/apiops/projects/my-project/apiProxies/my-api/policies/' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
Add / Update / Delete Policy
Not Supported: This policy cannot be added, updated, or deleted via API. It is automatically managed by the system and is tied to the SOAP/REST transformation configuration of the API Proxy.
To enable or disable this policy, configure SOAP/REST transformation settings in the API Proxy configuration.
Related Documentation
- List Policies - List all policies
- Response Protocol Transformation Policy - Transform SOAP responses to REST