AAPM Management
10 min
searchAapmAccount
POST
http://{{hostname}}/aioc-rest-web/rest/sc/aapm/searchAapmAccounts
var client = new RestClient("http://{{hostname }}/aioc-rest-web/rest/sc/aapm/searchAapmAccounts");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n \"dbId\": null,\n\n \"osType\": null,\n \"osCredentialType\": null,\n \"recordLimit4Search\": null,\n \"token\": \"40ad90fe-6e96-466d-9262-5ac9973de358\",\n \"applicationName\": null,\n \"applicationIp\": null\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);searchAapmTrigger
POST
http://{{hostname}}/aioc-rest-web/rest/sc/aapm/searchAapmTrigger
var client = new RestClient("http://{{hostname }}/aioc-rest-web/rest/sc/aapm/searchAapmTrigger");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n \"dbId\": null,\n \"elementTypeId\": null,\n \"recordLimit4Search\": null,\n \"deviceIp4Search\": null,\n \"deviceGroupName4Search\": null,\n \"sapmAccount\": null,\n \"strategy\": \"WINDOWS_SERVICE\",\n \"targetType\": null\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);searchAapmTriggerProcess
POST
http://{{hostname}}/aioc-rest-web/rest/sc/aapm/searchAapmTriggerProcess
var client = new RestClient("http://{{hostname }}/aioc-rest-web/rest/sc/aapm/searchAapmTriggerProcess");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n \"creationTimeBegin4Search\": 1606393445800,\n \"creationTimeEnd4Search\": null,\n \"sapmAccount4Search\": {\n \"dbId\": 566585\n },\n \"processStatus\": \"WAITING\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);saveAapmAccount
POST
http://{{hostname}}/aioc-rest-web/rest/sc/aapm/saveAapmAccount
var client = new RestClient("http://{{hostname }}/aioc-rest-web/rest/sc/aapm/saveAapmAccount");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n \n \"applicationName\": \"restapisave4\",\n \"applicationIp\": \"10.xx.xx.xx\",\n \"eventUser\": {\n \"id\": \"25e53f47-ce66-4df2-9abc-6961dc668264\"\n },\n \"sapmAccount\": null,\n \"secretDataVault\": {\n \"dbId\": \"4163316\"\n },\n \"osType\": null,\n \"osCredentialType\": null,\n \"osCredentialSAPM\": null,\n \"osCredentialSecretDataVault\": null,\n \"appHash\": null,\n \"appPath\": null,\n \"pinPort\": 0,\n \"securityLevel\": \"BASIC\",\n \"hashAlgorithmType\": null,\n \"manuelUserName\": null,\n \"manuelPassword\": null,\n \"sendSDVUsernameInResponse\": true,\n \"accessViaLoadBalancer\": false,\n \"loadBalancerIp\": null\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);saveAapmAccount (Update)
POST
http://{{hostname}}/aioc-rest-web/rest/sc/aapm/saveAapmAccount
var client = new RestClient("http://{{hostname }}/aioc-rest-web/rest/sc/aapm/saveAapmAccount");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{ \n \"dbId\": \"4165795\",\n \"applicationName\": \"rest_update\",\n \"applicationIp\": \"10.xx.xx.xx\",\n \"eventUser\": {\n \"id\": \"25e53f47-ce66-4df2-9abc-6961dc668264\"\n },\n \"sapmAccount\": null,\n \"secretDataVault\": {\n \"dbId\": \"4163316\"\n },\n \"token\":\"6ef61df8-7b52-4e81-a045-cf69d1752f93\",\n \"osType\": null,\n \"osCredentialType\": null,\n \"osCredentialSAPM\": null,\n \"osCredentialSecretDataVault\": null,\n \"appHash\": null,\n \"appPath\": null,\n \"pinPort\": 0,\n \"securityLevel\": \"BASIC\",\n \"hashAlgorithmType\": null,\n \"manuelUserName\": null,\n \"manuelPassword\": null,\n \"sendSDVUsernameInResponse\": true,\n \"accessViaLoadBalancer\": false,\n \"loadBalancerIp\": null\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);deleteAapmAccount
POST
http://{{hostname}}/aioc-rest-web/rest/sc/aapm/deleteAapmAccount
var client = new RestClient("http://{{hostname }}/aioc-rest-web/rest/sc/aapm/deleteAapmAccount");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n \"dbId\" : 4165795\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);getPassword (SAPM)
POST
http://{{hostname}}/aioc-rest-web/rest/sc/aapm/getPassword
var client = new RestClient("http://{{hostname }}/aioc-rest-web/rest/sc/aapm/getPassword");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n \"token\": \"dbbd13fc-0aa3-4f2e-9672-b20a6701a68b\",\n \"passwordExpirationInMinute\": 5,\n \"comment\": \"ksgsrgr\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);getPassword (Secret Data Vault)
GET
http://{{hostname }}/sc-aapm-ui/rest/aapm/secretData?token={token}
var client = new RestClient("http://{{hostname }}/sc-aapm-ui/rest/aapm/secretData?token=a9200cd6-77c9-4138-b42e-add207cebcaa");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);saveAapmTrigger
POST
http://{{hostname}}/aioc-rest-web/rest/sc/aapm/saveAapmTrigger
var client = new RestClient("http://{{hostname }}/aioc-rest-web/rest/sc/aapm/saveAapmTrigger");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n \"sapmAccount\": {\n \"dbId\": 3927684\n },\n \"strategy\": \"WINDOWS_SERVICE\",\n \"targetType\": \"SINGLE_DEVICE\",\n \"device\": {\n \"dbId\": 971511\n },\n \"deviceGroup\": null\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);deleteAapmTrigger
POST
http://{{hostname}}/aioc-rest-web/rest/sc/aapm/deleteAapmTrigger
var client = new RestClient("http://{{hostname }}/aioc-rest-web/rest/sc/aapm/deleteAapmTrigger");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n \"dbId\": 7436023\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);deleteAapmTriggerProcess
POST
http://{{hostname}}/aioc-rest-web/rest/sc/aapm/deleteAapmTriggerProcess
var client = new RestClient("http://{{hostname }}/aioc-rest-web/rest/sc/aapm/deleteAapmTriggerProcess");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n \"dbId\": 12345\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);runAapmTriggerProcess
POST
http://{{hostname}}/aioc-rest-web/rest/sc/aapm/runAapmTriggerProcess
var client = new RestClient("http://{{hostname }}/aioc-rest-web/rest/sc/aapm/runAapmTriggerProcess");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "4166081", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);cancelAapmTriggerProcess
POST
http://{{hostname}}/aioc-rest-web/rest/sc/aapm/cancelAapmTriggerProcess
var client = new RestClient("http://{{hostname }}/aioc-rest-web/rest/sc/aapm/cancelAapmTriggerProcess");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "4166081", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);getSecurityLevelTypes
GET
http://{{hostname}}/aioc-rest-web/rest/sc/aapm/getPropertyTypes/securitylevel
var client = new RestClient("http://{{hostname }}/aioc-rest-web/rest/sc/aapm/getPropertyTypes/securitylevel");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);getTriggerTargetTypes
GET
http://{{hostname}}/aioc-rest-web/rest/sc/aapm/getPropertyTypes/target
var client = new RestClient("http://{{hostname }}/aioc-rest-web/rest/sc/aapm/getPropertyTypes/target");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);getTriggerStrategyTypes
GET
http://{{hostname}}/aioc-rest-web/rest/sc/aapm/getPropertyTypes/strategy
var client = new RestClient("http://{{hostname }}/aioc-rest-web/rest/sc/aapm/getPropertyTypes/strategy");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);getOSTypes
GET
http://{{hostname}}/aioc-rest-web/rest/sc/aapm/getPropertyTypes/os
var client = new RestClient("http://{{hostname }}/aioc-rest-web/rest/sc/aapm/getPropertyTypes/os");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);getOSCredentialTypes
GET
http://{{hostname}}/aioc-rest-web/rest/sc/aapm/getPropertyTypes/oscredential
var client = new RestClient("http://{{hostname }}/aioc-rest-web/rest/sc/aapm/getPropertyTypes/oscredential");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);getProcessStatusTypes
GET
http://{{hostname}}/aioc-rest-web/rest/sc/aapm/getPropertyTypes/processstatus
var client = new RestClient("http://{{hostname }}/aioc-rest-web/rest/sc/aapm/getPropertyTypes/processstatus");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);