ARChargeAccount
PUT api/Payment/{systemID}/PaymentMethods/ARChargeAccount?chargeAccountID={chargeAccountID}
Update Charge Account - Only allows for update of Frozen, AutoPost and AccountLimit. *All other updates will be ignored
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| systemID | The SystemID of the pharmacy system. |
Define this parameter in the request URI. |
| chargeAccountID | Unique ID of charge account. [*Required] |
Define this parameter in the request URI. |
| chargeAcct | ChargeAccount object
Frozen - Freeze account? (Y or N).
AutoPost - Auto post account? (Y, N, or NS = Not Specified).
AccountLimit - Account limit (Include two (2) decimal places).
PrevBalanceAmt - Previous balance amount [IGNORED ON UPDATE].
LastDatePaid - Last date paid [IGNORED ON UPDATE].
CurrBalanceAmt - Current balance amount [IGNORED ON UPDATE].
CurrentCharges - Current charges [IGNORED ON UPDATE].
CurrentPayments - Current payments [IGNORED ON UPDATE]. |
Define this parameter in the request body. |
Response Codes
- OK (200)
- NotFound (404)
- InternalServerError (500)
- BadRequest (400)
Request body formats
application/json, text/json
Sample:
{
"ChargeAccountID": "sample string 1",
"Frozen": "sample string 2",
"AutoPost": "sample string 3",
"LastDatePaid": "sample string 4",
"PrevBalanceAmt": "sample string 5",
"CurrBalanceAmt": "sample string 6",
"AccountLimit": "sample string 7",
"YTDAdjustments": "sample string 8",
"CurrentCharges": "sample string 9",
"CurrentPayments": "sample string 10",
"EmployeeCode": "sample string 11"
}
text/javascript
Sample:
{"ChargeAccountID":"sample string 1","Frozen":"sample string 2","AutoPost":"sample string 3","LastDatePaid":"sample string 4","PrevBalanceAmt":"sample string 5","CurrBalanceAmt":"sample string 6","AccountLimit":"sample string 7","YTDAdjustments":"sample string 8","CurrentCharges":"sample string 9","CurrentPayments":"sample string 10","EmployeeCode":"sample string 11"}
application/xml, text/xml
Sample:
<ChargeAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QCFWebAPI.Models"> <AccountLimit>sample string 7</AccountLimit> <AutoPost>sample string 3</AutoPost> <ChargeAccountID>sample string 1</ChargeAccountID> <CurrBalanceAmt>sample string 6</CurrBalanceAmt> <CurrentCharges>sample string 9</CurrentCharges> <CurrentPayments>sample string 10</CurrentPayments> <EmployeeCode>sample string 11</EmployeeCode> <Frozen>sample string 2</Frozen> <LastDatePaid>sample string 4</LastDatePaid> <PrevBalanceAmt>sample string 5</PrevBalanceAmt> <YTDAdjustments>sample string 8</YTDAdjustments> </ChargeAccount>