POST api/bill/addpaymentreceived
Request Information
URI Parameters
None.
Body Parameters
tbl_Payment_Received_VM| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| InvoiceID | integer |
None. |
|
| businessAccountID | integer |
None. |
|
| CaseID | integer |
None. |
|
| PaymentReceived | decimal number |
None. |
|
| InvoiceValueBefore | decimal number |
None. |
|
| InvoiceValueAfter | decimal number |
None. |
|
| ClientValueBefore | decimal number |
None. |
|
| ClientValueAfter | decimal number |
None. |
|
| Description | string |
None. |
|
| PaymentReceivedDate | date |
None. |
|
| PaymentMethodID | integer |
None. |
|
| Active | integer |
None. |
|
| IsDeleted | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| ModifiedOn | date |
None. |
|
| Title | string |
None. |
|
| InvoiceNumber | string |
None. |
|
| FullDescription | string |
None. |
|
| PaymentMethod | string |
None. |
|
| TotalPaymentReceived | decimal number |
None. |
|
| TotalBalance | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"InvoiceID": 1,
"businessAccountID": 1,
"CaseID": 1,
"PaymentReceived": 1.0,
"InvoiceValueBefore": 1.0,
"InvoiceValueAfter": 1.0,
"ClientValueBefore": 1.0,
"ClientValueAfter": 1.0,
"Description": "sample string 2",
"PaymentReceivedDate": "2025-12-20T14:10:30.796728-06:00",
"PaymentMethodID": 1,
"Active": 1,
"IsDeleted": 1,
"CreatedBy": 1,
"CreatedOn": "2025-12-20T14:10:30.796728-06:00",
"ModifiedBy": 1,
"ModifiedOn": "2025-12-20T14:10:30.796728-06:00",
"Title": "sample string 3",
"InvoiceNumber": "sample string 4",
"FullDescription": "sample string 5",
"PaymentMethod": "sample string 6",
"TotalPaymentReceived": 1.0,
"TotalBalance": 1.0
}
application/xml, text/xml
Sample:
<tbl_Payment_Received_VM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Case_Management_DAL.ViewModel"> <Active>1</Active> <CaseID>1</CaseID> <ClientValueAfter>1</ClientValueAfter> <ClientValueBefore>1</ClientValueBefore> <CreatedBy>1</CreatedBy> <CreatedOn>2025-12-20T14:10:30.796728-06:00</CreatedOn> <Description>sample string 2</Description> <FullDescription>sample string 5</FullDescription> <ID>1</ID> <InvoiceID>1</InvoiceID> <InvoiceNumber>sample string 4</InvoiceNumber> <InvoiceValueAfter>1</InvoiceValueAfter> <InvoiceValueBefore>1</InvoiceValueBefore> <IsDeleted>1</IsDeleted> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-12-20T14:10:30.796728-06:00</ModifiedOn> <PaymentMethod>sample string 6</PaymentMethod> <PaymentMethodID>1</PaymentMethodID> <PaymentReceived>1</PaymentReceived> <PaymentReceivedDate>2025-12-20T14:10:30.796728-06:00</PaymentReceivedDate> <Title>sample string 3</Title> <TotalBalance>1</TotalBalance> <TotalPaymentReceived>1</TotalPaymentReceived> <businessAccountID>1</businessAccountID> </tbl_Payment_Received_VM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ErrorClass| Name | Description | Type | Additional information |
|---|---|---|---|
| Msg | string |
None. |
|
| Status | string |
None. |
|
| IsSuccess | boolean |
None. |
|
| retrn | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Msg": "sample string 1",
"Status": "sample string 2",
"IsSuccess": true,
"retrn": {}
}
application/xml, text/xml
Sample:
<ErrorClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMC_WebAPI.Utilities"> <IsSuccess>true</IsSuccess> <Msg>sample string 1</Msg> <Status>sample string 2</Status> <retrn /> </ErrorClass>