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": "0a40e1d7-d444-48b2-82ca-39b172b781f2",
"StoreId": "c18a8cf3-06df-4575-a800-6633042b3f9f",
"SaleId": "5567a5da-06b1-414d-9ffe-d9fcd4b40f8b",
"DateofSale": "2026-02-01T10:25:30.2152801-06:00",
"InvoiceAmount": 5.0,
"AmountPaid": 6.0,
"RemainingAmount": 7.0,
"PaymentStatus": "sample string 8",
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"CreatedBy": "c70ed398-2ed5-4ca8-992c-b3dc545085ca",
"CreatedDate": "2026-02-01T10:25:30.2152801-06:00",
"EditedBy": "24c51ab5-d6d5-47f5-9029-936f56f712ce",
"EditedDate": "2026-02-01T10:25:30.2152801-06: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">c70ed398-2ed5-4ca8-992c-b3dc545085ca</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T10:25:30.2152801-06:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">24c51ab5-d6d5-47f5-9029-936f56f712ce</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T10:25:30.2152801-06: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>0a40e1d7-d444-48b2-82ca-39b172b781f2</CashCollectionId>
<DateofSale>2026-02-01T10:25:30.2152801-06:00</DateofSale>
<InvoiceAmount>5</InvoiceAmount>
<PaymentStatus>sample string 8</PaymentStatus>
<RemainingAmount>7</RemainingAmount>
<SaleId>5567a5da-06b1-414d-9ffe-d9fcd4b40f8b</SaleId>
<StoreId>c18a8cf3-06df-4575-a800-6633042b3f9f</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.