POST api/CashCollectoin/Create
Request Information
URI Parameters
None.
Body Parameters
CashCollection| Name | Description | Type | Additional information |
|---|---|---|---|
| CashCollectionId | globally unique identifier |
None. |
|
| StoreId | globally unique identifier |
None. |
|
| SaleId | globally unique identifier |
None. |
|
| DateofSale | date |
None. |
|
| InvoiceAmount | decimal number |
None. |
|
| AmountPaid | decimal number |
None. |
|
| RemainingAmount | decimal number |
None. |
|
| PaymentStatus | string |
None. |
|
| response | Response |
None. |
|
| CreatedBy | globally unique identifier |
None. |
|
| CreatedDate | date |
None. |
|
| EditedBy | globally unique identifier |
None. |
|
| EditedDate | date |
None. |
|
| IsActive | boolean |
None. |
|
| IsDelete | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"CashCollectionId": "ff1d167f-5f61-47cb-a38a-1f65d4001c6b",
"StoreId": "41c4145e-f9dc-4998-86b4-62d0bd4c9487",
"SaleId": "9b2cbfa9-aced-4ec9-8493-d7b44c655686",
"DateofSale": "2026-07-16T07:27:51.0911918-05:00",
"InvoiceAmount": 5.0,
"AmountPaid": 6.0,
"RemainingAmount": 7.0,
"PaymentStatus": "sample string 8",
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"CreatedBy": "d0a35092-618d-45cc-9a62-db73c9e9a7de",
"CreatedDate": "2026-07-16T07:27:51.0911918-05:00",
"EditedBy": "90540dba-4ae5-409f-b7f3-e722a0a12106",
"EditedDate": "2026-07-16T07:27:51.0911918-05:00",
"IsActive": true,
"IsDelete": true
}
application/xml, text/xml
Sample:
<CashCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core2.Model">
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">d0a35092-618d-45cc-9a62-db73c9e9a7de</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T07:27:51.0911918-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">90540dba-4ae5-409f-b7f3-e722a0a12106</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T07:27:51.0911918-05:00</EditedDate>
<IsActive xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">true</IsActive>
<IsDelete xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">true</IsDelete>
<AmountPaid>6</AmountPaid>
<CashCollectionId>ff1d167f-5f61-47cb-a38a-1f65d4001c6b</CashCollectionId>
<DateofSale>2026-07-16T07:27:51.0911918-05:00</DateofSale>
<InvoiceAmount>5</InvoiceAmount>
<PaymentStatus>sample string 8</PaymentStatus>
<RemainingAmount>7</RemainingAmount>
<SaleId>9b2cbfa9-aced-4ec9-8493-d7b44c655686</SaleId>
<StoreId>41c4145e-f9dc-4998-86b4-62d0bd4c9487</StoreId>
<response xmlns:d2p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
<d2p1:Error>sample string 1</d2p1:Error>
<d2p1:Success>sample string 2</d2p1:Success>
</response>
</CashCollection>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.