Add / Update Account - V1 API

Below works in 10606 Build MSP.
Account Add API
URL: http://<servername>:<portnumber>/sdpapi/admin/account/
HTTP Method: POST
data=
{
"operation": {
"details": {
"AccountName": "Account 7",
"LoginURL": "test",
"Description": "Testing",
"DoorNumber": "12",
"Street": "44",
"City": "Delhi",
"Landmark": "Nothing",
"State": "Delhi",
"Country": "India",
"Landline": "12423",
"Fax": "546465",
"Web_Url": "iuerygi",
"BusinessImpact": "high",
"domainname":["sdpmsplinmail.com","gmail.com"],
"additional field Attribute_1": "abc",
}
}
}
Example :
Update Account Details :
URL: http://<servername>:<portnumber>/sdpapi/admin/account/<Account ID>
HTTP Method: PUT

Please note : We are also working on V3 Account API's. Once its released in our future release builds by next year (2023) , this API's will not work.
New to ADSelfService Plus?
Resources
Related Articles
Add request API Using Postman
You need to send the technician_key and format in Params and the data in Body. Also, you have to encode the body and send it. Please refer to the below for your reference which is sent using postman. Attached is the SAMPLE JSON file Example : ...
Add attachments using API
Attachment cannot be added when a request is created, it can be only added after request creation URL : http://localhost:8080/api/v3/attachments?TECHNICIAN_KEY=XXXXXXXXX Body
CMDB API - Add CI along with users name
<?xml version="1.0" encoding="UTF-8"?> <API version="1.0" locale="en"> <records> <record> <parameter> <name>CI Name</name> <value>saharsh</value> </parameter> <parameter> ...
Unable to add / edit technician / delete site (Internal error)
13:08:31:069]|[08-04-2022]|[com.manageengine.sdpod.v3api.message.EntityMessages]|[SEVERE]|[155940]: Unknown Error in v3 api| com.adventnet.persistence.DataAccessException: [UserSiteMapping] The INSERT statement conflicted with the FOREIGN KEY ...
Add Attachment API assistance for other tools
Our sample html to test Add Attachment API works well. However many customers are having trouble converting it to code/other tools (Powershell, python, Postman, Curl). Hence we are posting this article to get it using Postman for other tools. We can ...