Create only security details for an existing application Id
/PASService/rest/services/v1/outboundApplications/{outboundApplicationId}/outboundSecurities
Request
-
outboundApplicationId(required): string(guid)
Outbound Application Id
- application/json
string
Response
201 Response
Examples
Post only security details for an existing application id. For more information on Downstream Message Push parameters, refer to Downstream Message Push Parameters.
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -X POST \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \ -L "http://server:port/PASService/rest/services/v1/outboundApplications/{outboundApplicationId}/outboundSecurities" \ -d '{"Use this placeholder to plug-in the example request body given below"}'
Example Request Body
The following shows an example of the request body in JSON format for JMS:
{ "outboundSecurity":{ "authType":"BASIC", "authentication":{ "userName":"qatester3", "password":"cWF0ZXN0ZXIz" } } }
Example Response Body
The following shows an example of the response body in JSON format for JMS:
{ "outboundSecurity": [ "F697D6DF-A2DE-43E3-8394-B0BFF37E5C75" ] }
Example Request Body
The following shows an example of the request body in JSON format for SOAP:
{ "outboundSecurity":{ "authType":"BASIC", "authentication":{ "userName":"qatester3", "password":"cWF0ZXN0ZXIz" } } }
Example Response Body
The following shows an example of the response body in JSON format for SOAP:
{ "outboundApplication": [ "DAD4A7AB-3E44-4C21-A81E-83D8B59E06C0" ] }
Example Request Body
The following shows an example of the request body in JSON format for REST:
{ "outboundSecurity": { "authType": "BASIC", "authentication": { "token": "cWF0ZXN0ZXIzOnFhdGVzdGVyMw==" } } }
Example Response Body
The following shows an example of the response body in JSON format for REST:
{ "outboundSecurity": [ "235EEFDD-061E-4EFF-9044-5A48B13B8692" ] }