SINGLE CONNECT
...
API Guide
Assigned Credential
3 min
{ "tab" "examples", "url" "http //{{hostname}}/aioc rest web/rest/assignedcredential/search", "name" "search sapm account id", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "rtsjdkgp4fxjix20s2fqn", "code" "\[\n {\n \\"dbid\\" 4979851,\n \\"assignedcredentialuser\\" {\n \\"id\\" \\"25e53f47 ce66 4df2 9abc 6961dc668264\\",\n \\"eid\\" \\"admin\\",\n \\"personelid\\" null,\n \\"name\\" \\"administrator\\",\n \\"passwordalgorithm\\" null,\n \\"password\\" \\"f0b33b0821f883caf74c8d855c2ea996\\",\n \\"email\\" \\"admin\@kron com tr\\",\n \\"surname\\" \\"administrator\\",\n \\"internal\\" true,\n \\"properties\\" {\n \\"ubathreshold\\" \\"50\\"\n },\n \\"groups\\" \[\n \\"default group sysyem users\\",\n \\"default group sysyem admins\\"\n ],\n \\"managergroups\\" \[\n \\"default group sysyem admins\\"\n ],\n \\"lastlogin\\" 1606086958775,\n \\"lastloginip\\" \\"0 0 0 0 0 0 0 1\\",\n \\"grouppropertykey4search\\" null,\n \\"grouppropertyvalue4search\\" null,\n \\"recordlimit4search\\" null,\n \\"passworddirty\\" false,\n \\"passwordautogenerated\\" false,\n \\"filterfunctionname\\" null,\n \\"filtermembershipuserid\\" null,\n \\"filtermanagerid\\" null,\n \\"filtereidlist\\" null,\n \\"filtermanagerofuserid\\" null,\n \\"tempuser\\" false,\n \\"tempuserstarttime\\" null,\n \\"tempuserendtime\\" null,\n \\"phonenumber\\" null,\n \\"forcechangepasswordonnextlogin\\" false,\n \\"lockreason\\" null,\n \\"unlockonpasswordchanged\\" false,\n \\"unlocktime\\" null,\n \\"externaldirectorysource\\" null,\n \\"userpropertykey4search\\" null,\n \\"userpropertyvalue4search\\" null,\n \\"locked\\" false\n },\n \\"credentialsource\\" \\"sapm\\",\n \\"sapmaccount\\" {\n \\"dbid\\" 566585,\n \\"device\\" {\n \\"dbid\\" 1,\n \\"id\\" \\"127 0 0 1\\",\n \\"name\\" \\"127 0 0 1\\",\n \\"accessprotocol\\" \\"sshv2\\",\n \\"managementip\\" \\"127 0 0 1\\",\n \\"elementtype\\" {\n \\"dbid\\" 203638,\n \\"elementtypeid\\" \\"sc proxy\\",\n \\"elementtypename\\" \\"sc proxy\\",\n \\"vendor\\" null,\n \\"category\\" null,\n \\"elementtypeproperties\\" \[]\n },\n \\"discoverytime\\" 1530205124000,\n \\"properties\\" {\n \\"hostname\\" \\"127 0 0 1\\",\n \\"pseudodevice\\" \\"true\\"\n },\n \\"devicegroups\\" \[\n \\"dg sc proxy\\"\n ],\n \\"availability\\" null,\n \\"currentmaintenancewindow\\" null,\n \\"interfacename\\" null,\n \\"namemanagementip\\" \\"127 0 0 1 127 0 0 1\\",\n \\"regionname\\" null,\n \\"filterrecordlimit\\" null,\n \\"filtersearchphrase\\" null,\n \\"filtergroupid\\" null,\n \\"filterrolegroupids\\" null,\n \\"filteronlyunassigneddevices\\" null,\n \\"pseudodevice\\" true,\n \\"portnum\\" null,\n \\"domaincontroller\\" null,\n \\"discoverysource\\" null\n },\n \\"config\\" {\n \\"configid\\" 9077,\n \\"name\\" \\"linux\\",\n \\"description\\" \\"linux\\",\n \\"strategy\\" \\"ssh\\",\n \\"properties\\" {\n \\"new\ user found action\\" \\"log\\",\n \\"username parser\\" \\"( ?) \\",\n \\"change password command template\\" \\"passwd\\\\\\\n${oldpassword}\\\\\\\n${newpassword}\\\\\\\n${newpassword}\\\\\\\nlogout\\",\n \\"user list command\\" \\"cat /etc/passwd\\"\n },\n \\"exactmatch4search\\" false,\n \\"recordlimit4search\\" null\n },\n \\"changeperiod\\" 28800,\n \\"username\\" \\"kron1\\",\n \\"password\\" \\"0e4pzy2byshg26pozsbfja==\\",\n \\"previouspassword\\" \\"3hxmdrxt1olki/cblhei5g==\\",\n \\"lastchangetime\\" 1604823540077,\n \\"nextchangetime\\" 1606551540077,\n \\"nextchangetimestart4search\\" null,\n \\"nextchangetimeend4search\\" null,\n \\"passwordseenstatus\\" \\"unseen\\",\n \\"validationstatus\\" \\"valid\\",\n \\"changestatus\\" null,\n \\"lastattemptstatus\\" true,\n \\"masteraccountid\\" null,\n \\"permissions\\" {},\n \\"identicalsapmaccounts\\" \[],\n \\"recordlimit4search\\" null,\n \\"validationstatus4search\\" null,\n \\"checkpermission4search\\" true,\n \\"exactmatch4search\\" false,\n \\"acceptedsapmconfiglist\\" null,\n \\"masteraccountid4search\\" null,\n \\"searchonlymasteraccounts\\" false,\n \\"searchonlyownregion\\" false,\n \\"deviceip4search\\" null,\n \\"secondpartseenusername\\" null,\n \\"firstpartseenusername\\" null,\n \\"errormessage\\" null,\n \\"successful\\" true,\n \\"changeperiodformatted\\" \\"20d 00h 00m\\"\n },\n \\"secretdatavault\\" null,\n \\"device\\" null,\n \\"devicegroup\\" null,\n \\"recordlimit4search\\" null\n },\n {\n \\"dbid\\" 7268915,\n \\"assignedcredentialuser\\" {\n \\"id\\" \\"65646c8a 21f1 4f6e 8a3e 50f89c54ad39\\",\n \\"eid\\" \\"test\\",\n \\"personelid\\" null,\n \\"name\\" \\"test\\",\n \\"passwordalgorithm\\" \\"md5\\",\n \\"password\\" \\"996b67f0bb66b6c87ed4b9d880c00501\\",\n \\"email\\" \\"test\@test com\\",\n \\"surname\\" \\"test\\",\n \\"internal\\" true,\n \\"properties\\" {\n \\"ubathreshold\\" \\"50\\"\n },\n \\"groups\\" \[\n \\"default group sysyem users\\"\n ],\n \\"managergroups\\" \[],\n \\"lastlogin\\" null,\n \\"lastloginip\\" null,\n \\"grouppropertykey4search\\" null,\n \\"grouppropertyvalue4search\\" null,\n \\"recordlimit4search\\" null,\n \\"passworddirty\\" false,\n \\"passwordautogenerated\\" false,\n \\"filterfunctionname\\" null,\n \\"filtermembershipuserid\\" null,\n \\"filtermanagerid\\" null,\n \\"filtereidlist\\" null,\n \\"filtermanagerofuserid\\" null,\n \\"tempuser\\" false,\n \\"tempuserstarttime\\" null,\n \\"tempuserendtime\\" null,\n \\"phonenumber\\" null,\n \\"forcechangepasswordonnextlogin\\" false,\n \\"lockreason\\" null,\n \\"unlockonpasswordchanged\\" false,\n \\"unlocktime\\" null,\n \\"externaldirectorysource\\" null,\n \\"userpropertykey4search\\" null,\n \\"userpropertyvalue4search\\" null,\n \\"locked\\" false\n },\n \\"credentialsource\\" \\"sapm\\",\n \\"sapmaccount\\" {\n \\"dbid\\" 566585,\n \\"device\\" {\n \\"dbid\\" 1,\n \\"id\\" \\"127 0 0 1\\",\n \\"name\\" \\"127 0 0 1\\",\n \\"accessprotocol\\" \\"sshv2\\",\n \\"managementip\\" \\"127 0 0 1\\",\n \\"elementtype\\" {\n \\"dbid\\" 203638,\n \\"elementtypeid\\" \\"sc proxy\\",\n \\"elementtypename\\" \\"sc proxy\\",\n \\"vendor\\" null,\n \\"category\\" null,\n \\"elementtypeproperties\\" \[]\n },\n \\"discoverytime\\" 1530205124000,\n \\"properties\\" {\n \\"hostname\\" \\"127 0 0 1\\",\n \\"pseudodevice\\" \\"true\\"\n },\n \\"devicegroups\\" \[\n \\"dg sc proxy\\"\n ],\n \\"availability\\" null,\n \\"currentmaintenancewindow\\" null,\n \\"interfacename\\" null,\n \\"namemanagementip\\" \\"127 0 0 1 127 0 0 1\\",\n \\"regionname\\" null,\n \\"filterrecordlimit\\" null,\n \\"filtersearchphrase\\" null,\n \\"filtergroupid\\" null,\n \\"filterrolegroupids\\" null,\n \\"filteronlyunassigneddevices\\" null,\n \\"pseudodevice\\" true,\n \\"portnum\\" null,\n \\"domaincontroller\\" null,\n \\"discoverysource\\" null\n },\n \\"config\\" {\n \\"configid\\" 9077,\n \\"name\\" \\"linux\\",\n \\"description\\" \\"linux\\",\n \\"strategy\\" \\"ssh\\",\n \\"properties\\" {\n \\"new\ user found action\\" \\"log\\",\n \\"username parser\\" \\"( ?) \\",\n \\"change password command template\\" \\"passwd\\\\\\\n${oldpassword}\\\\\\\n${newpassword}\\\\\\\n${newpassword}\\\\\\\nlogout\\",\n \\"user list command\\" \\"cat /etc/passwd\\"\n },\n \\"exactmatch4search\\" false,\n \\"recordlimit4search\\" null\n },\n \\"changeperiod\\" 28800,\n \\"username\\" \\"kron1\\",\n \\"password\\" \\"0e4pzy2byshg26pozsbfja==\\",\n \\"previouspassword\\" \\"3hxmdrxt1olki/cblhei5g==\\",\n \\"lastchangetime\\" 1604823540077,\n \\"nextchangetime\\" 1606551540077,\n \\"nextchangetimestart4search\\" null,\n \\"nextchangetimeend4search\\" null,\n \\"passwordseenstatus\\" \\"unseen\\",\n \\"validationstatus\\" \\"valid\\",\n \\"changestatus\\" null,\n \\"lastattemptstatus\\" true,\n \\"masteraccountid\\" null,\n \\"permissions\\" {},\n \\"identicalsapmaccounts\\" \[],\n \\"recordlimit4search\\" null,\n \\"validationstatus4search\\" null,\n \\"checkpermission4search\\" true,\n \\"exactmatch4search\\" false,\n \\"acceptedsapmconfiglist\\" null,\n \\"masteraccountid4search\\" null,\n \\"searchonlymasteraccounts\\" false,\n \\"searchonlyownregion\\" false,\n \\"deviceip4search\\" null,\n \\"secondpartseenusername\\" null,\n \\"firstpartseenusername\\" null,\n \\"errormessage\\" null,\n \\"successful\\" true,\n \\"changeperiodformatted\\" \\"20d 00h 00m\\"\n },\n \\"secretdatavault\\" null,\n \\"device\\" null,\n \\"devicegroup\\" null,\n \\"recordlimit4search\\" null\n }\n]", "language" "200" }, { "id" "g2zatbemwmqqlod2zx89s", "code" "you cannot search the sapm and secret vault data at the same time ", "language" "400" } ], "selectedlanguageid" "rtsjdkgp4fxjix20s2fqn" }, "examples" { "languages" \[ { "id" "zuvxvsnrwnayx8wfzbnc ", "code" "var client = new restclient(\\"http //{{hostname}}/aioc rest web/rest/assignedcredential/search?sapmaccountid=566585\\");\r\nclient timeout = 1;\r\nvar request = new restrequest(method get);\r\nrequest addheader(\\"content type\\", \\"application/json\\");\r\nirestresponse response = client execute(request);\r\nconsole writeline(response content);", "language" "csharp" }, { "id" "b32gtzdoe0ztxc2awtyqs", "code" "curl location g request get 'http //{{hostname}}/aioc rest web/rest/assignedcredential/search?sapmaccountid=566585' \\\\\n header 'content type application/json'", "language" "curl" }, { "id" "1hjqmi zgx4g8c2yjrxwx", "code" "var settings = {\r\n \\"url\\" \\"http //{{hostname}}/aioc rest web/rest/assignedcredential/search?sapmaccountid=566585\\",\r\n \\"method\\" \\"get\\",\r\n \\"timeout\\" 0,\r\n \\"headers\\" {\r\n \\"content type\\" \\"application/json\\"\r\n },\r\n};\r\n\r\n$ ajax(settings) done(function (response) {\r\n console log(response);\r\n});", "language" "javascript" } ], "selectedlanguageid" "zuvxvsnrwnayx8wfzbnc " }, "description" " ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } { "tab" "examples", "url" "http //{{hostname}}/aioc rest web/rest/assignedcredential/search?userid=68f84f67 3ad2 47c3 80cd dda69fd327e3\&source=secret data vault", "name" "search by user id and cred source", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "qvl8g a02xqm7nqa6heg", "code" "\[\n {\n \\"dbid\\" 1777540,\n \\"assignedcredentialuser\\" {\n \\"id\\" \\"68f84f67 3ad2 47c3 80cd dda69fd327e3\\",\n \\"eid\\" \\"test\\",\n \\"personelid\\" \\"1\\",\n \\"name\\" \\"test\\",\n \\"passwordalgorithm\\" \\"md5\\",\n \\"password\\" \\"c4ca4238a0b923820dcc509a6f75849b\\",\n \\"email\\" \\"test\@kron com tr\\",\n \\"surname\\" \\"test\\",\n \\"internal\\" true,\n \\"properties\\" {\n \\"ubathreshold\\" \\"50\\"\n },\n \\"groups\\" \[\n \\"default group sysyem users\\",\n \\"5a91c44f 30fc 450c b913 ce5437f33f33\\"\n ],\n \\"managergroups\\" \[\n \\"5a91c44f 30fc 450c b913 ce5437f33f33\\"\n ],\n \\"lastlogin\\" 1605091187945,\n \\"lastloginip\\" \\"10 xx xx xx\\",\n \\"grouppropertykey4search\\" null,\n \\"grouppropertyvalue4search\\" null,\n \\"recordlimit4search\\" null,\n \\"passworddirty\\" false,\n \\"passwordautogenerated\\" false,\n \\"filterfunctionname\\" null,\n \\"filtermembershipuserid\\" null,\n \\"filtermanagerid\\" null,\n \\"filtereidlist\\" null,\n \\"filtermanagerofuserid\\" null,\n \\"tempuser\\" false,\n \\"tempuserstarttime\\" null,\n \\"tempuserendtime\\" null,\n \\"phonenumber\\" null,\n \\"forcechangepasswordonnextlogin\\" false,\n \\"lockreason\\" null,\n \\"unlockonpasswordchanged\\" false,\n \\"unlocktime\\" null,\n \\"externaldirectorysource\\" null,\n \\"userpropertykey4search\\" null,\n \\"userpropertyvalue4search\\" null,\n \\"locked\\" false\n },\n \\"credentialsource\\" \\"secret data vault\\",\n \\"sapmaccount\\" null,\n \\"secretdatavault\\" {\n \\"dbid\\" 1777537,\n \\"name\\" \\"windows\\",\n \\"description\\" null,\n \\"type\\" \\"user credential\\",\n \\"ipaddress\\" \\"10 xx xx xx\\",\n \\"secretdata\\" \\"oowjqvouivvvzidzeatkeq==\\",\n \\"secretdata2\\" null,\n \\"permissions\\" {},\n \\"usercreate\\" \\"admin\\",\n \\"username\\" \\"sercan\\",\n \\"errormessage\\" null,\n \\"successful\\" true,\n \\"privatetype\\" \\"no\\",\n \\"userpermissionlevel\\" null\n },\n \\"device\\" {\n \\"dbid\\" 510313,\n \\"id\\" \\"4eef1637 1dee 429d 92f0 860b8193bde5\\",\n \\"name\\" \\"windows test\\",\n \\"accessprotocol\\" \\"rdp\\",\n \\"managementip\\" \\"10 xx xx xx\\",\n \\"elementtype\\" {\n \\"dbid\\" 123,\n \\"elementtypeid\\" \\"windows\\",\n \\"elementtypename\\" \\"windows\\",\n \\"vendor\\" null,\n \\"category\\" null,\n \\"elementtypeproperties\\" \[]\n },\n \\"discoverytime\\" 1581502986745,\n \\"properties\\" {\n \\"remotedesktop server layout\\" \\"tr tr qwerty\\",\n \\"remotedesktop security\\" \\"any\\",\n \\"pseudodevice\\" \\"true\\",\n \\"remotedesktop enable printing\\" \\"true\\",\n \\"remotedesktop enable drive\\" \\"true\\",\n \\"remotedesktop ignore cert\\" \\"true\\"\n },\n \\"devicegroups\\" \[\n \\"99a7a80d cf62 440f a9eb 3e99eb0539bc\\"\n ],\n \\"availability\\" null,\n \\"currentmaintenancewindow\\" null,\n \\"interfacename\\" null,\n \\"namemanagementip\\" \\"windows test 10 xx xx xx\\",\n \\"regionname\\" null,\n \\"filterrecordlimit\\" null,\n \\"filtersearchphrase\\" null,\n \\"filtergroupid\\" null,\n \\"filterrolegroupids\\" null,\n \\"filteronlyunassigneddevices\\" null,\n \\"pseudodevice\\" true,\n \\"portnum\\" null,\n \\"domaincontroller\\" null,\n \\"discoverysource\\" null\n },\n \\"devicegroup\\" null,\n \\"recordlimit4search\\" null\n }\n]", "language" "200" }, { "id" " dwcug8vzk1nwvyqwoerm", "code" "you cannot search the sapm and secret vault data at the same time ", "language" "400" } ], "selectedlanguageid" "qvl8g a02xqm7nqa6heg" }, "examples" { "languages" \[ { "id" "yyynvwspsulbizaceqorn", "code" "var client = new restclient(\\"http //{{hostname}}/aioc rest web/rest/assignedcredential/search?userid=68f84f67 3ad2 47c3 80cd dda69fd327e3\&source=secret data vault\\");\r\nclient timeout = 1;\r\nvar request = new restrequest(method get);\r\nrequest addheader(\\"content type\\", \\"application/json\\");\r\nirestresponse response = client execute(request);\r\nconsole writeline(response content);", "language" "csharp" }, { "id" "djiyqp6dprbpye9iyek8k", "code" "curl location g request get 'http //{{hostname}}/aioc rest web/rest/assignedcredential/search?userid=68f84f67 3ad2 47c3 80cd dda69fd327e3\&source=secret data vault' \\\\\n header 'content type application/json'", "language" "curl" }, { "id" "sz1m6tbbzoqc7jh7e oe", "code" "var settings = {\r\n \\"url\\" \\"http //{{hostname}}/aioc rest web/rest/assignedcredential/search?userid=68f84f67 3ad2 47c3 80cd dda69fd327e3\&source=secret data vault\\",\r\n \\"method\\" \\"get\\",\r\n \\"timeout\\" 0,\r\n \\"headers\\" {\r\n \\"content type\\" \\"application/json\\"\r\n },\r\n};\r\n\r\n$ ajax(settings) done(function (response) {\r\n console log(response);\r\n});", "language" "javascript" } ], "selectedlanguageid" "yyynvwspsulbizaceqorn" }, "description" " ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } { "tab" "examples", "url" "http //{{hostname}}/aioc rest web/rest/assignedcredential/search?secretvaultid=1777537\&userid=65646c8a 21f1 4f6e 8a3e 50f89c54ad39\&deviceordevicegroupid=4eef1637 1dee 429d 92f0 860b8193bde5", "name" "search by user id and secret data vault id device or device group id", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "mmllv8asi4plmeciz3ims", "code" "\[\n {\n \\"dbid\\" 7268971,\n \\"assignedcredentialuser\\" {\n \\"id\\" \\"65646c8a 21f1 4f6e 8a3e 50f89c54ad39\\",\n \\"eid\\" \\"test\\",\n \\"personelid\\" null,\n \\"name\\" \\"test\\",\n \\"passwordalgorithm\\" \\"md5\\",\n \\"password\\" \\"996b67f0bb66b6c87ed4b9d880c00501\\",\n \\"email\\" \\"test\@test com\\",\n \\"surname\\" \\"test\\",\n \\"internal\\" true,\n \\"properties\\" {\n \\"ubathreshold\\" \\"50\\"\n },\n \\"groups\\" \[\n \\"default group sysyem users\\"\n ],\n \\"managergroups\\" \[],\n \\"lastlogin\\" null,\n \\"lastloginip\\" null,\n \\"grouppropertykey4search\\" null,\n \\"grouppropertyvalue4search\\" null,\n \\"recordlimit4search\\" null,\n \\"passworddirty\\" false,\n \\"passwordautogenerated\\" false,\n \\"filterfunctionname\\" null,\n \\"filtermembershipuserid\\" null,\n \\"filtermanagerid\\" null,\n \\"filtereidlist\\" null,\n \\"filtermanagerofuserid\\" null,\n \\"tempuser\\" false,\n \\"tempuserstarttime\\" null,\n \\"tempuserendtime\\" null,\n \\"phonenumber\\" null,\n \\"forcechangepasswordonnextlogin\\" false,\n \\"lockreason\\" null,\n \\"unlockonpasswordchanged\\" false,\n \\"unlocktime\\" null,\n \\"externaldirectorysource\\" null,\n \\"userpropertykey4search\\" null,\n \\"userpropertyvalue4search\\" null,\n \\"locked\\" false\n },\n \\"credentialsource\\" \\"secret data vault\\",\n \\"sapmaccount\\" null,\n \\"secretdatavault\\" {\n \\"dbid\\" 1777537,\n \\"name\\" \\"windows\\",\n \\"description\\" null,\n \\"type\\" \\"user credential\\",\n \\"ipaddress\\" \\"10 xx xx xx\\",\n \\"secretdata\\" \\"oowjqvouivvvzidzeatkeq==\\",\n \\"secretdata2\\" null,\n \\"permissions\\" {},\n \\"usercreate\\" \\"admin\\",\n \\"username\\" \\"test\\",\n \\"errormessage\\" null,\n \\"successful\\" true,\n \\"privatetype\\" \\"no\\",\n \\"userpermissionlevel\\" null\n },\n \\"device\\" null,\n \\"devicegroup\\" null,\n \\"recordlimit4search\\" null\n }\n]", "language" "200" } ], "selectedlanguageid" "mmllv8asi4plmeciz3ims" }, "examples" { "languages" \[ { "id" "tb74 j5bkp5rjwqjzlbdb", "code" "var client = new restclient(\\"http //{{hostname}}/aioc rest web/rest/assignedcredential/search?secretvaultid=1777537\&userid=65646c8a 21f1 4f6e 8a3e 50f89c54ad39\&deviceordevicegroupid=4eef1637 1dee 429d 92f0 860b8193bde5\\");\r\nclient timeout = 1;\r\nvar request = new restrequest(method get);\r\nrequest addheader(\\"content type\\", \\"application/json\\");\r\nirestresponse response = client execute(request);\r\nconsole writeline(response content);", "language" "csharp" }, { "id" "njcjuzv6 htlhsxxbsu12", "code" "curl location g request get 'http //{{hostname}}/aioc rest web/rest/assignedcredential/search?secretvaultid=1777537\&userid=65646c8a 21f1 4f6e 8a3e 50f89c54ad39\&deviceordevicegroupid=4eef1637 1dee 429d 92f0 860b8193bde5' \\\\\n header 'content type application/json'", "language" "curl" }, { "id" "0kqjkm9na32gufrjymdwk", "code" "var settings = {\r\n \\"url\\" \\"http //{{hostname}}/aioc rest web/rest/assignedcredential/search?secretvaultid=1777537\&userid=65646c8a 21f1 4f6e 8a3e 50f89c54ad39\&deviceordevicegroupid=4eef1637 1dee 429d 92f0 860b8193bde5\\",\r\n \\"method\\" \\"get\\",\r\n \\"timeout\\" 0,\r\n \\"headers\\" {\r\n \\"content type\\" \\"application/json\\"\r\n },\r\n};\r\n\r\n$ ajax(settings) done(function (response) {\r\n console log(response);\r\n});", "language" "javascript" } ], "selectedlanguageid" "tb74 j5bkp5rjwqjzlbdb" }, "description" " ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } { "tab" "examples", "url" "http //{{hostname}}/aioc rest web/rest/assignedcredential/delete?id=7383274", "name" "delete", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "8bsmps2xvklumpb3znabx", "code" " {\n \\"dbid\\" 7268915,\n \\"assignedcredentialuser\\" {\n \\"id\\" \\"65646c8a 21f1 4f6e 8a3e 50f89c54ad39\\",\n \\"eid\\" \\"test\\",\n \\"personelid\\" null,\n \\"name\\" \\"test\\",\n \\"passwordalgorithm\\" \\"md5\\",\n \\"password\\" \\"996b67f0bb66b6c87ed4b9d880c00501\\",\n \\"email\\" \\"test\@test com\\",\n \\"surname\\" \\"test\\",\n \\"internal\\" true,\n \\"properties\\" {\n \\"ubathreshold\\" \\"50\\"\n },\n \\"groups\\" \[\n \\"default group sysyem users\\"\n ],\n \\"managergroups\\" \[],\n \\"lastlogin\\" null,\n \\"lastloginip\\" null,\n \\"grouppropertykey4search\\" null,\n \\"grouppropertyvalue4search\\" null,\n \\"recordlimit4search\\" null,\n \\"passworddirty\\" false,\n \\"passwordautogenerated\\" false,\n \\"filterfunctionname\\" null,\n \\"filtermembershipuserid\\" null,\n \\"filtermanagerid\\" null,\n \\"filtereidlist\\" null,\n \\"filtermanagerofuserid\\" null,\n \\"tempuser\\" false,\n \\"tempuserstarttime\\" null,\n \\"tempuserendtime\\" null,\n \\"phonenumber\\" null,\n \\"forcechangepasswordonnextlogin\\" false,\n \\"lockreason\\" null,\n \\"unlockonpasswordchanged\\" false,\n \\"unlocktime\\" null,\n \\"externaldirectorysource\\" null,\n \\"userpropertykey4search\\" null,\n \\"userpropertyvalue4search\\" null,\n \\"locked\\" false\n },\n \\"credentialsource\\" \\"sapm\\",\n \\"sapmaccount\\" {\n \\"dbid\\" 566585,\n \\"device\\" {\n \\"dbid\\" 1,\n \\"id\\" \\"127 0 0 1\\",\n \\"name\\" \\"127 0 0 1\\",\n \\"accessprotocol\\" \\"sshv2\\",\n \\"managementip\\" \\"127 0 0 1\\",\n \\"elementtype\\" {\n \\"dbid\\" 203638,\n \\"elementtypeid\\" \\"sc proxy\\",\n \\"elementtypename\\" \\"sc proxy\\",\n \\"vendor\\" null,\n \\"category\\" null,\n \\"elementtypeproperties\\" \[]\n },\n \\"discoverytime\\" 1530205124000,\n \\"properties\\" {\n \\"hostname\\" \\"127 0 0 1\\",\n \\"pseudodevice\\" \\"true\\"\n },\n \\"devicegroups\\" \[\n \\"dg sc proxy\\"\n ],\n \\"availability\\" null,\n \\"currentmaintenancewindow\\" null,\n \\"interfacename\\" null,\n \\"namemanagementip\\" \\"127 0 0 1 127 0 0 1\\",\n \\"regionname\\" null,\n \\"filterrecordlimit\\" null,\n \\"filtersearchphrase\\" null,\n \\"filtergroupid\\" null,\n \\"filterrolegroupids\\" null,\n \\"filteronlyunassigneddevices\\" null,\n \\"pseudodevice\\" true,\n \\"domaincontroller\\" null,\n \\"portnum\\" null,\n \\"discoverysource\\" null\n },\n \\"config\\" {\n \\"configid\\" 9077,\n \\"name\\" \\"linux\\",\n \\"description\\" \\"linux\\",\n \\"strategy\\" \\"ssh\\",\n \\"properties\\" {\n \\"new\ user found action\\" \\"log\\",\n \\"username parser\\" \\"( ?) \\",\n \\"change password command template\\" \\"passwd\\\\\\\n${oldpassword}\\\\\\\n${newpassword}\\\\\\\n${newpassword}\\\\\\\nlogout\\",\n \\"user list command\\" \\"cat /etc/passwd\\"\n },\n \\"exactmatch4search\\" false,\n \\"recordlimit4search\\" null\n },\n \\"changeperiod\\" 28800,\n \\"username\\" \\"kron1\\",\n \\"password\\" \\"0e4pzy2byshg26pozsbfja==\\",\n \\"previouspassword\\" \\"3hxmdrxt1olki/cblhei5g==\\",\n \\"lastchangetime\\" 1604823540077,\n \\"nextchangetime\\" 1606551540077,\n \\"nextchangetimestart4search\\" null,\n \\"nextchangetimeend4search\\" null,\n \\"passwordseenstatus\\" \\"unseen\\",\n \\"validationstatus\\" \\"valid\\",\n \\"changestatus\\" null,\n \\"lastattemptstatus\\" true,\n \\"masteraccountid\\" null,\n \\"permissions\\" {},\n \\"identicalsapmaccounts\\" \[],\n \\"recordlimit4search\\" null,\n \\"validationstatus4search\\" null,\n \\"checkpermission4search\\" true,\n \\"exactmatch4search\\" false,\n \\"acceptedsapmconfiglist\\" null,\n \\"masteraccountid4search\\" null,\n \\"searchonlymasteraccounts\\" false,\n \\"searchonlyownregion\\" false,\n \\"deviceip4search\\" null,\n \\"secondpartseenusername\\" null,\n \\"firstpartseenusername\\" null,\n \\"errormessage\\" null,\n \\"successful\\" true,\n \\"changeperiodformatted\\" \\"20d 00h 00m\\"\n },\n \\"secretdatavault\\" null,\n \\"device\\" null,\n \\"devicegroup\\" null,\n \\"recordlimit4search\\" null\n }", "language" "200" }, { "id" "f9eb9n4knj6jjkzyfrwgl", "code" "there is no assigned credential with this id ", "language" "400" } ], "selectedlanguageid" "8bsmps2xvklumpb3znabx" }, "examples" { "languages" \[ { "id" "eesszfbth708xry cubrx", "code" "var client = new restclient(\\"http //{{hostname}}/aioc rest web/rest/assignedcredential/delete?id=7383274\\");\r\nclient timeout = 1;\r\nvar request = new restrequest(method post);\r\nrequest addheader(\\"content type\\", \\"application/json\\");\r\nrequest addparameter(\\"application/json\\", \\"{\\\n \\\\\\"dbid\\\\\\" 7268922,\\\n \\\\\\"assignedcredentialuser\\\\\\" {\\\n \\\\\\"id\\\\\\" \\\\\\"65646c8a 21f1 4f6e 8a3e 50f89c54ad39\\\\\\",\\\n \\\\\\"eid\\\\\\" \\\\\\"test\\\\\\",\\\n \\\\\\"personelid\\\\\\" null,\\\n \\\\\\"name\\\\\\" \\\\\\"test\\\\\\",\\\n \\\\\\"passwordalgorithm\\\\\\" \\\\\\"md5\\\\\\",\\\n \\\\\\"password\\\\\\" \\\\\\"996b67f0bb66b6c87ed4b9d880c00501\\\\\\",\\\n \\\\\\"email\\\\\\" \\\\\\"test\@test com\\\\\\",\\\n \\\\\\"surname\\\\\\" \\\\\\"test\\\\\\",\\\n \\\\\\"internal\\\\\\" true,\\\n \\\\\\"properties\\\\\\" {\\\n \\\\\\"ubathreshold\\\\\\" \\\\\\"50\\\\\\"\\\n },\\\n \\\\\\"groups\\\\\\" \[\\\n \\\\\\"default group sysyem users\\\\\\"\\\n ],\\\n \\\\\\"managergroups\\\\\\" \[],\\\n \\\\\\"lastlogin\\\\\\" null,\\\n \\\\\\"lastloginip\\\\\\" null,\\\n \\\\\\"grouppropertykey4search\\\\\\" null,\\\n \\\\\\"grouppropertyvalue4search\\\\\\" null,\\\n \\\\\\"recordlimit4search\\\\\\" null,\\\n \\\\\\"passworddirty\\\\\\" false,\\\n \\\\\\"passwordautogenerated\\\\\\" false,\\\n \\\\\\"filterfunctionname\\\\\\" null,\\\n \\\\\\"filtermembershipuserid\\\\\\" null,\\\n \\\\\\"filtermanagerid\\\\\\" null,\\\n \\\\\\"filtereidlist\\\\\\" null,\\\n \\\\\\"filtermanagerofuserid\\\\\\" null,\\\n \\\\\\"tempuser\\\\\\" false,\\\n \\\\\\"tempuserstarttime\\\\\\" null,\\\n \\\\\\"tempuserendtime\\\\\\" null,\\\n \\\\\\"lockreason\\\\\\" null,\\\n \\\\\\"unlockonpasswordchanged\\\\\\" false,\\\n \\\\\\"unlocktime\\\\\\" null,\\\n \\\\\\"externaldirectorysource\\\\\\" null,\\\n \\\\\\"userpropertykey4search\\\\\\" null,\\\n \\\\\\"userpropertyvalue4search\\\\\\" null,\\\n \\\\\\"phonenumber\\\\\\" null,\\\n \\\\\\"forcechangepasswordonnextlogin\\\\\\" false,\\\n \\\\\\"locked\\\\\\" false\\\n },\\\n \\\\\\"credentialsource\\\\\\" \\\\\\"secret data vault\\\\\\",\\\n \\\\\\"sapmaccount\\\\\\" null,\\\n \\\\\\"secretdatavault\\\\\\" {\\\n \\\\\\"dbid\\\\\\" 1777537,\\\n \\\\\\"name\\\\\\" \\\\\\"windows test\\\\\\",\\\n \\\\\\"description\\\\\\" null,\\\n \\\\\\"type\\\\\\" \\\\\\"user credential\\\\\\",\\\n \\\\\\"ipaddress\\\\\\" \\\\\\"10 xx xx xx\\\\\\",\\\n \\\\\\"secretdata\\\\\\" \\\\\\"oowjqvouivvvzidzeatkeq==\\\\\\",\\\n \\\\\\"secretdata2\\\\\\" null,\\\n \\\\\\"permissions\\\\\\" {},\\\n \\\\\\"usercreate\\\\\\" \\\\\\"admin\\\\\\",\\\n \\\\\\"username\\\\\\" \\\\\\"test\\\\\\",\\\n \\\\\\"errormessage\\\\\\" null,\\\n \\\\\\"successful\\\\\\" true,\\\n \\\\\\"privatetype\\\\\\" \\\\\\"no\\\\\\",\\\n \\\\\\"userpermissionlevel\\\\\\" null\\\n },\\\n \\\\\\"devicegroup\\\\\\" null,\\\n \\\\\\"recordlimit4search\\\\\\" null\\\n }\\", parametertype requestbody);\r\nirestresponse response = client execute(request);\r\nconsole writeline(response content);", "language" "csharp" }, { "id" "27ygciiu6p31qmxrz vny", "code" "curl location g request post 'http //{{hostname}}/aioc rest web/rest/assignedcredential/delete?id=7383274' \\\\\n header 'content type application/json' \\\\\n data raw '{\n \\"dbid\\" 7268922,\n \\"assignedcredentialuser\\" {\n \\"id\\" \\"65646c8a 21f1 4f6e 8a3e 50f89c54ad39\\",\n \\"eid\\" \\"test\\",\n \\"personelid\\" null,\n \\"name\\" \\"test\\",\n \\"passwordalgorithm\\" \\"md5\\",\n \\"password\\" \\"996b67f0bb66b6c87ed4b9d880c00501\\",\n \\"email\\" \\"test\@test com\\",\n \\"surname\\" \\"test\\",\n \\"internal\\" true,\n \\"properties\\" {\n \\"ubathreshold\\" \\"50\\"\n },\n \\"groups\\" \[\n \\"default group sysyem users\\"\n ],\n \\"managergroups\\" \[],\n \\"lastlogin\\" null,\n \\"lastloginip\\" null,\n \\"grouppropertykey4search\\" null,\n \\"grouppropertyvalue4search\\" null,\n \\"recordlimit4search\\" null,\n \\"passworddirty\\" false,\n \\"passwordautogenerated\\" false,\n \\"filterfunctionname\\" null,\n \\"filtermembershipuserid\\" null,\n \\"filtermanagerid\\" null,\n \\"filtereidlist\\" null,\n \\"filtermanagerofuserid\\" null,\n \\"tempuser\\" false,\n \\"tempuserstarttime\\" null,\n \\"tempuserendtime\\" null,\n \\"lockreason\\" null,\n \\"unlockonpasswordchanged\\" false,\n \\"unlocktime\\" null,\n \\"externaldirectorysource\\" null,\n \\"userpropertykey4search\\" null,\n \\"userpropertyvalue4search\\" null,\n \\"phonenumber\\" null,\n \\"forcechangepasswordonnextlogin\\" false,\n \\"locked\\" false\n },\n \\"credentialsource\\" \\"secret data vault\\",\n \\"sapmaccount\\" null,\n \\"secretdatavault\\" {\n \\"dbid\\" 1777537,\n \\"name\\" \\"windows\\",\n \\"description\\" null,\n \\"type\\" \\"user credential\\",\n \\"ipaddress\\" \\"10 xx xx xx\\",\n \\"secretdata\\" \\"oowjqvouivvvzidzeatkeq==\\",\n \\"secretdata2\\" null,\n \\"permissions\\" {},\n \\"usercreate\\" \\"admin\\",\n \\"username\\" \\"test\\",\n \\"errormessage\\" null,\n \\"successful\\" true,\n \\"privatetype\\" \\"no\\",\n \\"userpermissionlevel\\" null\n },\n \\"devicegroup\\" null,\n \\"recordlimit4search\\" null\n }'", "language" "curl" }, { "id" "zaw1bpev0pz9qfdj9wmpp", "code" "var settings = {\r\n \\"url\\" \\"http //{{hostname}}/aioc rest web/rest/assignedcredential/delete?id=7383274\\",\r\n \\"method\\" \\"post\\",\r\n \\"timeout\\" 0,\r\n \\"headers\\" {\r\n \\"content type\\" \\"application/json\\"\r\n },\r\n \\"data\\" json stringify({\\"dbid\\" 7268922,\\"assignedcredentialuser\\" {\\"id\\" \\"65646c8a 21f1 4f6e 8a3e 50f89c54ad39\\",\\"eid\\" \\"test\\",\\"personelid\\"\ null,\\"name\\" \\"test\\",\\"passwordalgorithm\\" \\"md5\\",\\"password\\" \\"996b67f0bb66b6c87ed4b9d880c00501\\",\\"email\\" \\"test\@test com\\",\\"surname\\" \\"test\\",\\"internal\\"\ true,\\"properties\\" {\\"ubathreshold\\" \\"50\\"},\\"groups\\" \[\\"default group sysyem users\\"],\\"managergroups\\" \[],\\"lastlogin\\"\ null,\\"lastloginip\\"\ null,\\"grouppropertykey4search\\"\ null,\\"grouppropertyvalue4search\\"\ null,\\"recordlimit4search\\"\ null,\\"passworddirty\\"\ false,\\"passwordautogenerated\\"\ false,\\"filterfunctionname\\"\ null,\\"filtermembershipuserid\\"\ null,\\"filtermanagerid\\"\ null,\\"filtereidlist\\"\ null,\\"filtermanagerofuserid\\"\ null,\\"tempuser\\"\ false,\\"tempuserstarttime\\"\ null,\\"tempuserendtime\\"\ null,\\"lockreason\\"\ null,\\"unlockonpasswordchanged\\"\ false,\\"unlocktime\\"\ null,\\"externaldirectorysource\\"\ null,\\"userpropertykey4search\\"\ null,\\"userpropertyvalue4search\\"\ null,\\"phonenumber\\"\ null,\\"forcechangepasswordonnextlogin\\"\ false,\\"locked\\"\ false},\\"credentialsource\\" \\"secret data vault\\",\\"sapmaccount\\"\ null,\\"secretdatavault\\" {\\"dbid\\" 1777537,\\"name\\" \\"windows test\\",\\"description\\"\ null,\\"type\\" \\"user credential\\",\\"ipaddress\\" \\"10 xx xx xx\\",\\"secretdata\\" \\"oowjqvouivvvzidzeatkeq==\\",\\"secretdata2\\"\ null,\\"permissions\\" {},\\"usercreate\\" \\"admin\\",\\"username\\" \\"test\\",\\"errormessage\\"\ null,\\"successful\\"\ true,\\"privatetype\\" \\"no\\",\\"userpermissionlevel\\"\ null},\\"devicegroup\\"\ null,\\"recordlimit4search\\"\ null}),\r\n};\r\n\r\n$ ajax(settings) done(function (response) {\r\n console log(response);\r\n});", "language" "javascript" } ], "selectedlanguageid" "eesszfbth708xry cubrx" }, "description" " ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } { "tab" "examples", "url" "http //{{hostname}}/aioc rest web/rest/assignedcredential/save", "name" "save sapm", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "o1a16baltfnhayaisrmit", "code" "{\n \\"dbid\\" 7371984,\n \\"assignedcredentialuser\\" {\n \\"id\\" \\"65646c8a 21f1 4f6e 8a3e 50f89c54ad39\\",\n \\"eid\\" \\"test\\",\n \\"personelid\\" null,\n \\"name\\" \\"test\\",\n \\"passwordalgorithm\\" \\"md5\\",\n \\"password\\" \\"996b67f0bb66b6c87ed4b9d880c00501\\",\n \\"email\\" \\"test\@test com\\",\n \\"surname\\" \\"test\\",\n \\"internal\\" true,\n \\"properties\\" {\n \\"ubathreshold\\" \\"50\\"\n },\n \\"groups\\" \[\n \\"default group sysyem users\\"\n ],\n \\"managergroups\\" \[],\n \\"lastlogin\\" null,\n \\"lastloginip\\" null,\n \\"grouppropertykey4search\\" null,\n \\"grouppropertyvalue4search\\" null,\n \\"recordlimit4search\\" null,\n \\"passworddirty\\" false,\n \\"passwordautogenerated\\" false,\n \\"filterfunctionname\\" null,\n \\"filtermembershipuserid\\" null,\n \\"filtermanagerid\\" null,\n \\"filtereidlist\\" null,\n \\"filtermanagerofuserid\\" null,\n \\"tempuser\\" false,\n \\"tempuserstarttime\\" null,\n \\"tempuserendtime\\" null,\n \\"phonenumber\\" null,\n \\"forcechangepasswordonnextlogin\\" false,\n \\"lockreason\\" null,\n \\"unlockonpasswordchanged\\" false,\n \\"unlocktime\\" null,\n \\"externaldirectorysource\\" null,\n \\"userpropertykey4search\\" null,\n \\"userpropertyvalue4search\\" null,\n \\"locked\\" false\n },\n \\"credentialsource\\" \\"sapm\\",\n \\"sapmaccount\\" {\n \\"dbid\\" 566585,\n \\"device\\" {\n \\"dbid\\" 1,\n \\"id\\" \\"127 0 0 1\\",\n \\"name\\" \\"127 0 0 1\\",\n \\"accessprotocol\\" \\"sshv2\\",\n \\"managementip\\" \\"127 0 0 1\\",\n \\"elementtype\\" {\n \\"dbid\\" 203638,\n \\"elementtypeid\\" \\"sc proxy\\",\n \\"elementtypename\\" \\"sc proxy\\",\n \\"vendor\\" null,\n \\"category\\" null,\n \\"elementtypeproperties\\" \[]\n },\n \\"discoverytime\\" 1530205124000,\n \\"properties\\" {\n \\"hostname\\" \\"127 0 0 1\\",\n \\"pseudodevice\\" \\"true\\"\n },\n \\"devicegroups\\" \[\n \\"dg sc proxy\\"\n ],\n \\"availability\\" null,\n \\"currentmaintenancewindow\\" null,\n \\"interfacename\\" null,\n \\"namemanagementip\\" \\"127 0 0 1 127 0 0 1\\",\n \\"regionname\\" null,\n \\"filterrecordlimit\\" null,\n \\"filtersearchphrase\\" null,\n \\"filtergroupid\\" null,\n \\"filterrolegroupids\\" null,\n \\"filteronlyunassigneddevices\\" null,\n \\"pseudodevice\\" true,\n \\"domaincontroller\\" null,\n \\"portnum\\" null,\n \\"discoverysource\\" null\n },\n \\"config\\" {\n \\"configid\\" 9077,\n \\"name\\" \\"linux\\",\n \\"description\\" \\"linux\\",\n \\"strategy\\" \\"ssh\\",\n \\"properties\\" {\n \\"new\ user found action\\" \\"log\\",\n \\"username parser\\" \\"( ?) \\",\n \\"change password command template\\" \\"passwd\\\\\\\n${oldpassword}\\\\\\\n${newpassword}\\\\\\\n${newpassword}\\\\\\\nlogout\\",\n \\"user list command\\" \\"cat /etc/passwd\\"\n },\n \\"exactmatch4search\\" false,\n \\"recordlimit4search\\" null\n },\n \\"changeperiod\\" 28800,\n \\"username\\" \\"kron1\\",\n \\"password\\" \\"0e4pzy2byshg26pozsbfja==\\",\n \\"previouspassword\\" \\"3hxmdrxt1olki/cblhei5g==\\",\n \\"lastchangetime\\" 1604823540077,\n \\"nextchangetime\\" 1606551540077,\n \\"nextchangetimestart4search\\" null,\n \\"nextchangetimeend4search\\" null,\n \\"passwordseenstatus\\" \\"unseen\\",\n \\"validationstatus\\" \\"valid\\",\n \\"changestatus\\" null,\n \\"lastattemptstatus\\" true,\n \\"masteraccountid\\" null,\n \\"permissions\\" {},\n \\"identicalsapmaccounts\\" \[],\n \\"recordlimit4search\\" null,\n \\"validationstatus4search\\" null,\n \\"checkpermission4search\\" true,\n \\"exactmatch4search\\" false,\n \\"acceptedsapmconfiglist\\" null,\n \\"masteraccountid4search\\" null,\n \\"searchonlymasteraccounts\\" false,\n \\"searchonlyownregion\\" false,\n \\"deviceip4search\\" null,\n \\"secondpartseenusername\\" null,\n \\"firstpartseenusername\\" null,\n \\"errormessage\\" null,\n \\"successful\\" true,\n \\"changeperiodformatted\\" \\"20d 00h 00m\\"\n },\n \\"secretdatavault\\" null,\n \\"device\\" null,\n \\"devicegroup\\" null,\n \\"recordlimit4search\\" null\n}", "language" "200" }, { "id" "fuzcczywu1ao4okrnef18", "code" "not found id 65646c8a 21f1 4f6e 8a3e 50f8", "language" "400" } ], "selectedlanguageid" "o1a16baltfnhayaisrmit" }, "examples" { "languages" \[ { "id" "vvsyzhkis5gqpq fvfniu", "code" "var client = new restclient(\\"http //{{hostname}}/aioc rest web/rest/assignedcredential/save\\");\r\nclient timeout = 1;\r\nvar request = new restrequest(method post);\r\nrequest addheader(\\"content type\\", \\"application/json\\");\r\nrequest addparameter(\\"application/json\\", \\"{\\\n \\\\\\"credentialsource\\\\\\" \\\\\\"sapm\\\\\\",\\\n \\\\\\"userid\\\\\\" \\\\\\"65646c8a 21f1 4f6e 8a3e 50f89c54ad39\\\\\\",\\\n \\\\\\"id\\\\\\" \\\\\\"566585\\\\\\"\\\n}\\", parametertype requestbody);\r\nirestresponse response = client execute(request);\r\nconsole writeline(response content);", "language" "csharp" }, { "id" "dhtiq8muewugw4ln1c267", "code" "curl location g request post 'http //{{hostname}}/aioc rest web/rest/assignedcredential/save' \\\\\n header 'content type application/json' \\\\\n data raw '{\n \\"credentialsource\\" \\"sapm\\",\n \\"userid\\" \\"65646c8a 21f1 4f6e 8a3e 50f89c54ad39\\",\n \\"id\\" \\"566585\\"\n}'", "language" "curl" }, { "id" "twkesyodraw621 xu3098", "code" "var settings = {\r\n \\"url\\" \\"http //{{hostname}}/aioc rest web/rest/assignedcredential/save\\",\r\n \\"method\\" \\"post\\",\r\n \\"timeout\\" 0,\r\n \\"headers\\" {\r\n \\"content type\\" \\"application/json\\"\r\n },\r\n \\"data\\" json stringify({\\"credentialsource\\" \\"sapm\\",\\"userid\\" \\"65646c8a 21f1 4f6e 8a3e 50f89c54ad39\\",\\"id\\" \\"566585\\"}),\r\n};\r\n\r\n$ ajax(settings) done(function (response) {\r\n console log(response);\r\n});", "language" "javascript" } ], "selectedlanguageid" "vvsyzhkis5gqpq fvfniu" }, "description" " ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } { "tab" "examples", "url" "http //{{hostname}}/aioc rest web/rest/assignedcredential/save", "name" "save secret data vault", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "b3gsjxoiztgf03ltfhoqi", "code" "{\n \\"dbid\\" 7383274,\n \\"assignedcredentialuser\\" {\n \\"id\\" \\"65646c8a 21f1 4f6e 8a3e 50f89c54ad39\\",\n \\"eid\\" \\"test\\",\n \\"personelid\\" null,\n \\"name\\" \\"test\\",\n \\"passwordalgorithm\\" \\"md5\\",\n \\"password\\" \\"996b67f0bb66b6c87ed4b9d880c00501\\",\n \\"email\\" \\"test\@test com\\",\n \\"surname\\" \\"test\\",\n \\"internal\\" true,\n \\"properties\\" {\n \\"ubathreshold\\" \\"50\\"\n },\n \\"groups\\" \[\n \\"default group sysyem users\\"\n ],\n \\"managergroups\\" \[],\n \\"lastlogin\\" null,\n \\"lastloginip\\" null,\n \\"grouppropertykey4search\\" null,\n \\"grouppropertyvalue4search\\" null,\n \\"recordlimit4search\\" null,\n \\"passworddirty\\" false,\n \\"passwordautogenerated\\" false,\n \\"filterfunctionname\\" null,\n \\"filtermembershipuserid\\" null,\n \\"filtermanagerid\\" null,\n \\"filtereidlist\\" null,\n \\"filtermanagerofuserid\\" null,\n \\"tempuser\\" false,\n \\"tempuserstarttime\\" null,\n \\"tempuserendtime\\" null,\n \\"unlocktime\\" null,\n \\"externaldirectorysource\\" null,\n \\"userpropertykey4search\\" null,\n \\"userpropertyvalue4search\\" null,\n \\"unlockonpasswordchanged\\" false,\n \\"phonenumber\\" null,\n \\"forcechangepasswordonnextlogin\\" false,\n \\"lockreason\\" null,\n \\"locked\\" false\n },\n \\"credentialsource\\" \\"secret data vault\\",\n \\"sapmaccount\\" null,\n \\"secretdatavault\\" {\n \\"dbid\\" 1777537,\n \\"name\\" \\"windows test\\",\n \\"description\\" null,\n \\"type\\" \\"user credential\\",\n \\"ipaddress\\" \\"10 xx xx xx\\",\n \\"secretdata\\" \\"oowjqvouivvvzidzeatkeq==\\",\n \\"secretdata2\\" null,\n \\"permissions\\" {},\n \\"usercreate\\" \\"admin\\",\n \\"username\\" \\"test\\",\n \\"errormessage\\" null,\n \\"successful\\" true,\n \\"privatetype\\" \\"no\\",\n \\"userpermissionlevel\\" null\n },\n \\"device\\" null,\n \\"devicegroup\\" null,\n \\"recordlimit4search\\" null\n}", "language" "200" }, { "id" "5lxjkfohdmm2nfmx10qv2", "code" "sapmaccount account not found by id 1777537", "language" "400" } ], "selectedlanguageid" "b3gsjxoiztgf03ltfhoqi" }, "examples" { "languages" \[ { "id" "t wt 7ewnsjrcbomid 0e", "code" "var client = new restclient(\\"http //{{hostname}}/aioc rest web/rest/assignedcredential/save\\");\r\nclient timeout = 1;\r\nvar request = new restrequest(method post);\r\nrequest addheader(\\"content type\\", \\"application/json\\");\r\nrequest addparameter(\\"application/json\\", \\"{\\\n \\\\\\"credentialsource\\\\\\" \\\\\\"secret data vault\\\\\\",\\\n \\\\\\"userid\\\\\\" \\\\\\"65646c8a 21f1 4f6e 8a3e 50f89c54ad39\\\\\\",\\\n \\\\\\"id\\\\\\" \\\\\\"1777537\\\\\\",\\\n \\\\\\"deviceordevicegroupid\\\\\\" \\\\\\"4eef1637 1dee 429d 92f0 860b8193bde5\\\\\\"\\\n \\\n}\\", parametertype requestbody);\r\nirestresponse response = client execute(request);\r\nconsole writeline(response content);", "language" "csharp" }, { "id" "hwh0cc0ay9n jwrbopknk", "code" "curl location g request post 'http //{{hostname}}/aioc rest web/rest/assignedcredential/save' \\\\\n header 'content type application/json' \\\\\n data raw '{\n \\"credentialsource\\" \\"secret data vault\\",\n \\"userid\\" \\"65646c8a 21f1 4f6e 8a3e 50f89c54ad39\\",\n \\"id\\" \\"1777537\\",\n \\"deviceordevicegroupid\\" \\"4eef1637 1dee 429d 92f0 860b8193bde5\\"\n \n}'", "language" "curl" }, { "id" "tmmmu9clvd07g efklzkh", "code" "var settings = {\r\n \\"url\\" \\"http //{{hostname}}/aioc rest web/rest/assignedcredential/save\\",\r\n \\"method\\" \\"post\\",\r\n \\"timeout\\" 0,\r\n \\"headers\\" {\r\n \\"content type\\" \\"application/json\\"\r\n },\r\n \\"data\\" json stringify({\\"credentialsource\\" \\"secret data vault\\",\\"userid\\" \\"65646c8a 21f1 4f6e 8a3e 50f89c54ad39\\",\\"id\\" \\"1777537\\",\\"deviceordevicegroupid\\" \\"4eef1637 1dee 429d 92f0 860b8193bde5\\"}),\r\n};\r\n\r\n$ ajax(settings) done(function (response) {\r\n console log(response);\r\n});", "language" "javascript" } ], "selectedlanguageid" "t wt 7ewnsjrcbomid 0e" }, "description" " ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }