Partially update outbound application
patch
/PASService/rest/services/v1/outboundApplications/{outboundApplicationId}
Partially updates the details of outbound application
Request
Path Parameters
-
outboundApplicationId(required): string(guid)
OutboundApplication Id
Supported Media Types
- application/json
Root Schema : schema
Type:
stringResponse
204 Response
successful operation
Examples
This example describes how to update an outbound application partially for the fields given in request body for a specified outbound application by outboundApplicationId.
Note
Below is the list of Fields that are not allowed for update using PATCH.
- outBoundApplicationGuid
- protocolType
- createGmt
- updatedGmt
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -X PUT \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-L "http://server:port/PASService/rest/services/v1/outboundApplications/7D03B0C3-D2B5-4555-93A5-B39BAEB0C611" \
-d '{"Use this placeholder to plug-in the example request body given below"}'
Example Request Body
The following shows the examples of the request body for JmsOutboundApplication, SoapOutboundApplication, and RestOutboundApplication in JSON format:
Request payload for JmsOutboundApplication:
{
"outboundApplications":
{
"environment": "TEST79",
"outBoundConfiguration": {
"providerUrl": "http://alamere:port/"
}
}
}
Request payload for SoapOutboundApplication:
{
"outboundApplications": {
"outBoundConfiguration": {
"wsdlLocation": "http://localhost:9090/PASJava?wsdl",
"serviceName": "billing"
}
}
}
Request payload for RestOutboundApplication:
{
"outboundApplications": {
"outBoundConfiguration": {
"applicationUri": "http://fsgbu-mum-743.snbomprshared1.gbucdsint02bom.oraclevcn.com:7009/PASService/rest/services/policies",
"contentType": "application/JSON"
}
}
}