Read Account Balance
Retrieves the account balance of a Account object that has been previously created.
Parameters
Path Params | |
---|---|
yourCompany: | string |
accountId: | string |
Header Params | |
---|---|
Accept: | string |
Query Auth | |
---|---|
key: | string |
Header Auth | |
---|---|
apiKey: | string |
Sample Code
{
"Accounts": {
"Account": [{
"AccountID": "151346",
"AccountBalance": "200.00"
}]
}
}
<Accounts>
<Account>
<AccountID>151346</AccountID>
<AccountBalance>200.00</ParentCompany>
</Account>
</Accounts>
WADL
<?xml version="1.0" encoding="utf-8"?>
<application>
<resources base="https://{yourCompany}.agiliron.net/agiliron/api-40/">
<resource path="AccountBalance">
<method name="GET">
<resource path="{AccountID}">
<request>
<param name="key" type="xsd:string" style="query" required="true"/>
</request>
<response status="200">
<representation mediaType="application/xml" element="yn:ResultSet"/>
</response>
<response status="400">
<representation mediaType="application/xml" element="ya:Error"/>
</response>
</method>
</resource>
</resources>
</application>
Updated about 22 hours ago