POST api/Sale/Edit
Request Information
URI Parameters
None.
Body Parameters
Sale| Name | Description | Type | Additional information |
|---|---|---|---|
| SaleId | globally unique identifier |
None. |
|
| StoreId | globally unique identifier |
None. |
|
| SaleDate | date |
None. |
|
| StoreIdName | string |
None. |
|
| InvoiceAmount | decimal number |
None. |
|
| AmountPaid | decimal number |
None. |
|
| RemainingAmount | decimal number |
None. |
|
| PaymentStatus | string |
None. |
|
| response | Response |
None. |
|
| SaleDetailList | Collection of SaleDetail |
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:
{
"SaleId": "7536fdff-a88f-4344-96a9-fc52d3ebfeac",
"StoreId": "bfad5b1a-8a32-4253-985c-740d6b70f5b9",
"SaleDate": "2026-03-23T11:33:19.8859474-05:00",
"StoreIdName": "sample string 4",
"InvoiceAmount": 5.0,
"AmountPaid": 6.0,
"RemainingAmount": 7.0,
"PaymentStatus": "sample string 8",
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"SaleDetailList": [
{
"SaleDetailId": "8dcca630-24b6-42d2-a9ee-d94715d7b6cd",
"SaleId": "9c60ae3f-1531-4312-9b98-d01413e6bfa4",
"ProductId": "9269a04a-d235-4fc1-b260-3fc5aa00f2e5",
"PackingSizeId": "9c19c28f-4fe9-4de8-9e8c-f647f87b2840",
"PricePerPack": 5.0,
"Qty": 6.0,
"FreeQty": 7.0,
"Return": 8.0,
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"PackingSizeIdName": "sample string 9",
"StoreId": "fbd738d8-cfbf-4c1f-8fb3-75449ac942fc",
"SaleDate": "2026-03-23T11:33:19.8859474-05:00",
"ProductIdName": "sample string 12",
"CreatedBy": "db6ed1a4-0c19-4ad7-a67f-8b5cf971052b",
"CreatedDate": "2026-03-23T11:33:19.8859474-05:00",
"EditedBy": "bb0eb17f-4cc1-4ec3-871a-a6f7ae540c1a",
"EditedDate": "2026-03-23T11:33:19.8859474-05:00",
"IsActive": true,
"IsDelete": true
},
{
"SaleDetailId": "8dcca630-24b6-42d2-a9ee-d94715d7b6cd",
"SaleId": "9c60ae3f-1531-4312-9b98-d01413e6bfa4",
"ProductId": "9269a04a-d235-4fc1-b260-3fc5aa00f2e5",
"PackingSizeId": "9c19c28f-4fe9-4de8-9e8c-f647f87b2840",
"PricePerPack": 5.0,
"Qty": 6.0,
"FreeQty": 7.0,
"Return": 8.0,
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"PackingSizeIdName": "sample string 9",
"StoreId": "fbd738d8-cfbf-4c1f-8fb3-75449ac942fc",
"SaleDate": "2026-03-23T11:33:19.8859474-05:00",
"ProductIdName": "sample string 12",
"CreatedBy": "db6ed1a4-0c19-4ad7-a67f-8b5cf971052b",
"CreatedDate": "2026-03-23T11:33:19.8859474-05:00",
"EditedBy": "bb0eb17f-4cc1-4ec3-871a-a6f7ae540c1a",
"EditedDate": "2026-03-23T11:33:19.8859474-05:00",
"IsActive": true,
"IsDelete": true
}
],
"CreatedBy": "d02b1c6e-3dbc-4491-b5dc-d9fbb2cb3ccd",
"CreatedDate": "2026-03-23T11:33:19.8859474-05:00",
"EditedBy": "44d7a406-6e33-4a2d-ae33-8ff33529eec8",
"EditedDate": "2026-03-23T11:33:19.8859474-05:00",
"IsActive": true,
"IsDelete": true
}
application/xml, text/xml
Sample:
<Sale 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">d02b1c6e-3dbc-4491-b5dc-d9fbb2cb3ccd</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:33:19.8859474-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">44d7a406-6e33-4a2d-ae33-8ff33529eec8</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:33:19.8859474-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>
<InvoiceAmount>5</InvoiceAmount>
<PaymentStatus>sample string 8</PaymentStatus>
<RemainingAmount>7</RemainingAmount>
<SaleDate>2026-03-23T11:33:19.8859474-05:00</SaleDate>
<SaleDetailList>
<SaleDetail>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">db6ed1a4-0c19-4ad7-a67f-8b5cf971052b</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:33:19.8859474-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">bb0eb17f-4cc1-4ec3-871a-a6f7ae540c1a</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:33:19.8859474-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>
<FreeQty>7</FreeQty>
<PackingSizeId>9c19c28f-4fe9-4de8-9e8c-f647f87b2840</PackingSizeId>
<PackingSizeIdName>sample string 9</PackingSizeIdName>
<PricePerPack>5</PricePerPack>
<ProductId>9269a04a-d235-4fc1-b260-3fc5aa00f2e5</ProductId>
<ProductIdName>sample string 12</ProductIdName>
<Qty>6</Qty>
<Return>8</Return>
<SaleDate>2026-03-23T11:33:19.8859474-05:00</SaleDate>
<SaleDetailId>8dcca630-24b6-42d2-a9ee-d94715d7b6cd</SaleDetailId>
<SaleId>9c60ae3f-1531-4312-9b98-d01413e6bfa4</SaleId>
<StoreId>fbd738d8-cfbf-4c1f-8fb3-75449ac942fc</StoreId>
<response xmlns:d4p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
<d4p1:Error>sample string 1</d4p1:Error>
<d4p1:Success>sample string 2</d4p1:Success>
</response>
</SaleDetail>
<SaleDetail>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">db6ed1a4-0c19-4ad7-a67f-8b5cf971052b</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:33:19.8859474-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">bb0eb17f-4cc1-4ec3-871a-a6f7ae540c1a</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:33:19.8859474-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>
<FreeQty>7</FreeQty>
<PackingSizeId>9c19c28f-4fe9-4de8-9e8c-f647f87b2840</PackingSizeId>
<PackingSizeIdName>sample string 9</PackingSizeIdName>
<PricePerPack>5</PricePerPack>
<ProductId>9269a04a-d235-4fc1-b260-3fc5aa00f2e5</ProductId>
<ProductIdName>sample string 12</ProductIdName>
<Qty>6</Qty>
<Return>8</Return>
<SaleDate>2026-03-23T11:33:19.8859474-05:00</SaleDate>
<SaleDetailId>8dcca630-24b6-42d2-a9ee-d94715d7b6cd</SaleDetailId>
<SaleId>9c60ae3f-1531-4312-9b98-d01413e6bfa4</SaleId>
<StoreId>fbd738d8-cfbf-4c1f-8fb3-75449ac942fc</StoreId>
<response xmlns:d4p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
<d4p1:Error>sample string 1</d4p1:Error>
<d4p1:Success>sample string 2</d4p1:Success>
</response>
</SaleDetail>
</SaleDetailList>
<SaleId>7536fdff-a88f-4344-96a9-fc52d3ebfeac</SaleId>
<StoreId>bfad5b1a-8a32-4253-985c-740d6b70f5b9</StoreId>
<StoreIdName>sample string 4</StoreIdName>
<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>
</Sale>
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.