Add / Update Account - V1 API -> for 10606

Add / Update Account - V1 API -> for 10606


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",

 "EmailId": "anc@ak.com",

 "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?

                    • 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 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 ...
                    • 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
                    • Request add attachment_Python script-API

                      Steps for adding attachment to the request through python script-API. Extract the attached  "Attachment_Python_Script.zip" >> Edit attachmentscript.py >>Mention product installed url in the base url ; update the api key; update the request id that ...
                    • API -Listing Account Specific Requesters

                      1. Encode (Used for GET calls alone) the below values thereby replacing the Account Name as per yours : { "operation":{ "details":{ "accountname": "Sample Account", "sitename": "0" } } } 2. The site name value is set as "0", which will list the ...