Skip to main content
Solved

how to get account name and account balance in Acoounts 

  • August 10, 2022
  • 1 reply
  • 113 views

Forum|alt.badge.img

how to get account name and account balance in Acoounts through rest Api

Best answer by Boravan Ung

Hi @DharmandarKumar , 

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

View original
Did this topic help you find an answer to your question?

1 reply

  • Acumatica Moderator
  • 3 replies
  • Answer
  • August 10, 2022

Hi @DharmandarKumar , 

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings