how to get account name and account balance in Acoounts through rest Api
Solved
how to get account name and account balance in Acoounts
Best answer by Boravan Ung
Hi
You can get the Account’s information though a PUT request to the AccountSummaryInquiry Endpoint, and by specifying the params in the body.
Here is an example :
PUT request
URL : (mywebsite)/entity/Default/20.200.001/AccountSummaryInquiry?$expand=Results
Request Body :
{
"AccountClass": {
"value": "AP"
},
"Branch": {
"value": "YOGIFON"
},
"Ledger": {
"value": "ACTUALYOGI"
},
"Period": {
"value": "08-2022"
},
"Subaccount": {
"value": "TES-T1-23"
}
}
In the Result Body, you will get the data that you requested, such as the Account’s name and balance.
Here is a link with more information regarding retrieving data from an inquiry form :
https://help.acumatica.com/(W(3))/Help?ScreenId=ShowWiki&pageid=6340cff3-4732-4231-9e42-5d1e5e65b5dd
Hope it helped clarify the matter a bit.
-Bora
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.