REST Web Services - For adding an account using API command in POSTMAN tool. I have used the command : "https://10.179.24.200/PasswordVault/WebServices/PIMServices.svc/Account", provided auth credentials in POSTMAN and with below details..

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

REST Web Services - For adding an account using API command in POSTMAN tool. I have used the command : "https://10.179.24.200/PasswordVault/WebServices/PIMServices.svc/Account", provided auth credentials in POSTMAN and with below details..

L4 Transporter
4 REPLIES 4

L4 Transporter

"account" : {

"safe":"COE_Windows_safe",

"platformID":"Win-Domain-Account-COE",

"address":"10.179.25.200

"accountName":"<Object name (leave empty to auto generate)>",

"password":"xyz@123",

"username":"EUDemo2",

"disableAutoMgmt":"<true to disable account management by the CPM,

false to permit automatic management>",

"disableAutoMgmtReason":"<The reason for disabling CPM

management>",

"groupName":"<Name of the group with which the account will be

associated>",

"groupPlatformID":"<Group platform to base created group ID on, if ID

doesn't exist>",

"properties":

[

{"Key":"Port", "Value":"<port>"},

{"Key":"ExtraPass1Name", "Value":"Logon account name"},

{"Key":"ExtraPass1Folder", "Value":"Full pathname"},

{"Key":"ExtraPass1Safe", "Value":"Safename"},

{"Key":"ExtraPass3Name", "Value":"Reconcile account name"},

{"Key":"ExtraPass3Folder", "Value":"Full pathname"},

{"Key":"ExtraPass3Safe", "Value":"Safename"},

{"Key":"ParamName", "Value":"Parameter value"}

]

}

}

But getting an error : "An unexpected error occurred. Click here to return to the home page".

 

Can anyone help me on this ?

L4 Transporter

Don't share IP data. Can you share your logs?

L1 Bithead

Try and fill in an object name(accountName). I have had the API not automatically generate one when i have used it in the past.

 

Everything you have below username its all not valid data for the API. those are all comments from the documentation on how to use specific JSON KV pairs

 

Try this as a json body in postman

 

{

 "account" : {

  "safe":"COE_Windows_safe",

  "platformID":"Win-Domain-Account-COE",

  "address":"10.179.25.200

  "accountName":"10.179.25.200_EUDemo2",

  "password":"xyz@123",

  "username":"EUDemo2",

  "disableAutoMgmt":"false",

  "disableAutoMgmtReason":"N/A",

  "groupName":"",

  "groupPlatformID":"",

 }

}

 

otherwise as Imath said share your postman console log

L4 Transporter

Now it is working by following your instructions. Thank you.

  • 335 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!