AbodeONE

<back to all web services

UpdateBillingRegister

Requires Authentication
Required role:Admin
The following routes are available for this service:
PATCH/billing_register/{BillingId}
UpdateBillingRegister Parameters:
NameParameterData TypeRequiredDescription
BillingIdpathintYes
StudentIdqueryint?No
Amountquerydecimal?No
AccountRefquerystringNo
ChargeDtqueryDateTime?No
ChargeTypequeryChargeTypeEnum?No
Lockedquerybool?No
Refundedquerybool?No
Refundablequerybool?No
TermIdqueryint?No
ResidentIdqueryint?No
BuildingIdqueryint?No
RoomIdqueryint?No
DisciplineIdqueryint?No
BillingRentIdqueryint?No
DescriptionquerystringNo
ChargeTypeEnum Enum:
DEPOSIT
RENT
FINE
OTHER
UpdateBillingRegisterResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformBillingRegisterDTONo
ResponseStatusformResponseStatusNo
BillingRegisterDTO Parameters:
NameParameterData TypeRequiredDescription
BillingIdformintNo
TermIdformint?No
StudentIdformintNo
ResidentIdformint?No
BuildingIdformint?No
DisciplineIdformint?No
BillingRentIdformint?No
ChargeDtformDateTimeNo
AmountformdecimalNo
DescriptionformstringNo
ChargeTypeformstringNo
PostBatchIdformint?No
PostDtformDateTime?No
AccountRefformstringNo
RefundableformboolNo
RefundedformboolNo
LockedformboolNo
RelatedRowformint?No
CreatedDtformDateTime?No
CreatedByformstringNo
LastModifiedDtformDateTime?No
LastModifiedByformstringNo
BuildingNameformstringNo
TotalBilledformdecimal?No
SchoolIdformstringNo
FirstnameformstringNo
LastnameformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PATCH //billing_register/{BillingId} HTTP/1.1 
Host: api.lsu-staging.abodehms.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"billingId":0,"studentId":0,"amount":0,"accountRef":"String","chargeDt":"0001-01-01T00:00:00.0000000","chargeType":"DEPOSIT","locked":false,"refunded":false,"refundable":false,"termId":0,"residentId":0,"buildingId":0,"roomId":0,"disciplineId":0,"billingRentId":0,"description":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"result":{"billingId":0,"termId":0,"studentId":0,"residentId":0,"buildingId":0,"disciplineId":0,"billingRentId":0,"chargeDt":"0001-01-01T00:00:00.0000000","amount":0,"description":"String","chargeType":"String","postBatchId":0,"postDt":"0001-01-01T00:00:00.0000000","accountRef":"String","refundable":false,"refunded":false,"locked":false,"relatedRow":0,"createdDt":"0001-01-01T00:00:00.0000000","createdBy":"String","lastModifiedDt":"0001-01-01T00:00:00.0000000","lastModifiedBy":"String","buildingName":"String","totalBilled":0,"schoolId":"String","firstname":"String","lastname":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}