Field | Description |
Invoke service | Specifies the webMethods Integration Server service to be invoked. Note: The webMethods Integration Server service must be running on the same Integration Server as API Gateway. |
Run as user | Type the user name you want API Gateway to use to invoke the IS service. |
Field | Description |
Header key | Specify the HTTP header key that would be contained in the header of HTTP response. |
Header value | Specify the HTTP header value that would be contained in the header of HTTP response. |
Field | Description |
Content type | Select the content-type to be added to the selected status code from the drop-down list. |
Mock payloads | Specify a mock response payload for the content-type selected. |
Field | Description |
Condition name | Specify the name for the condition. |
Condition parameter | Select the type to which the condition is to be applied. The available options are: Body Header Query parameter (Applicable only for REST APIs) |
Key | The key can be a string for the header and query parameter and for body it can be a JSON path or an XML path. Note: The XML path must not contain namespace prefixes. |
Value | The value of the condition. Additionally, you can type an * (asterisk) to ignore the value specified in this parameter and the condition is satisfied based on the value specified in the Key parameter. |
Status code | Select the status code from the drop-down list. Note: You must enable the property Send native provider fault in the Administration > General > API fault section in order to have correct mock response for status code 506. This field is not applicable for APIs when they participate in API mashups. While invoking an API remember to use the query parameter expectedStatusCode in order to have correct mock responses for status codes 100 and 202. |
+ Add Response Header | Add a response header to the resource selected by providing the following information: Header key. Specify the HTTP header key that would be contained in the header of HTTP response Header value. Specify the HTTP header value that would be contained in the header of HTTP response. |
+ Add Content-type | Add a content-type to the status code selected by providing the following information: Content type. Select the content-type to be added to the selected status code from the drop-down list. Mock payload. Specify a mock response payload for the content-type selected. |