Partially update outbound application

patch

/PASService/rest/services/v1/outboundApplications/{outboundApplicationId}

Partially updates the details of outbound application

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: string
Back to Top

Response

204 Response

successful operation
Back to Top

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"
    }
  }
}
Back to Top