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. |
|
| 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. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"InvoiceID": 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-16T23:43:34.7894514-06:00",
"PaymentMethodID": 1,
"Active": 1,
"IsDeleted": 1,
"CreatedBy": 1,
"CreatedOn": "2025-12-16T23:43:34.7894514-06:00",
"ModifiedBy": 1,
"ModifiedOn": "2025-12-16T23:43:34.7894514-06:00"
}
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-16T23:43:34.7894514-06:00</CreatedOn> <Description>sample string 2</Description> <ID>1</ID> <InvoiceID>1</InvoiceID> <InvoiceValueAfter>1</InvoiceValueAfter> <InvoiceValueBefore>1</InvoiceValueBefore> <IsDeleted>1</IsDeleted> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-12-16T23:43:34.7894514-06:00</ModifiedOn> <PaymentMethodID>1</PaymentMethodID> <PaymentReceived>1</PaymentReceived> <PaymentReceivedDate>2025-12-16T23:43:34.7894514-06:00</PaymentReceivedDate> </tbl_Payment_Received_VM>
application/x-www-form-urlencoded
Sample:
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>