Sample Request/Response for IPlanet Server

Sample Request

 {
 "certificateDetails": {
 "isManualPush":true,
 "certificateType": "PKCS12-.pfx",
 "dbPath": "/opt/automation/db",
 "dbPassword": "YXBwd==26",
 "isRestartRequired":false,
 "privateKeyInDevice": true,
 "privateKeyLocation":"/opt/automation/keys",
 },
 "certificateId": "605dbd66ccb1c49e108e67e6",
 "selectedProfiles": [
 "iPlanet:@8443:@localhost:@localhost:"
 ]
 } 

Sample Response

 {
 "response":[
 {
 "requestId":"60",
 "connectorId":"iPlanet:@8443:@localhost:@localhost:@51fb6d24534926ea1d89d32bfe59b25c26d84b5e"
 }
 ],
 "message":"1 connector(s) saved and push operation has been triggered.",
 "appStatusCode":null,
 "tags":{
 },
 "headers":null
 } 
Note: Above given sample request and response can be followed for PKCS12 certificate type (PKCS12-.pfx) for the IPlanet server. certificateId in the above request can be found using the search API using commonName, serial No. or other search parameters. resourceIdpresent in Search API response is equivalent to certificateId here.