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": "2ef84fe4-6863-4056-8ed4-ddb303e07ff3",
"StoreId": "6bdac8fe-0afc-4244-9cc1-b66aff55707a",
"SaleDate": "2026-07-16T06:04:39.46119-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": "4e1b0f5a-3270-4585-9a61-ea3a0387b3d0",
"SaleId": "88035d51-59af-4617-9d40-7d3d7baa42cd",
"ProductId": "32aa7c69-73dc-4231-b853-addf4a867975",
"PackingSizeId": "cca44fb1-9f2c-4527-8219-75c92c772835",
"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": "8872a39f-0965-4a92-b2e5-ab26f13d5e46",
"SaleDate": "2026-07-16T06:04:39.46219-05:00",
"ProductIdName": "sample string 12",
"CreatedBy": "56c25b51-7d87-4db8-9a18-91c415fe1fe3",
"CreatedDate": "2026-07-16T06:04:39.46219-05:00",
"EditedBy": "2dea9b7a-1181-467e-ac2e-fecc55849d17",
"EditedDate": "2026-07-16T06:04:39.46219-05:00",
"IsActive": true,
"IsDelete": true
},
{
"SaleDetailId": "4e1b0f5a-3270-4585-9a61-ea3a0387b3d0",
"SaleId": "88035d51-59af-4617-9d40-7d3d7baa42cd",
"ProductId": "32aa7c69-73dc-4231-b853-addf4a867975",
"PackingSizeId": "cca44fb1-9f2c-4527-8219-75c92c772835",
"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": "8872a39f-0965-4a92-b2e5-ab26f13d5e46",
"SaleDate": "2026-07-16T06:04:39.46219-05:00",
"ProductIdName": "sample string 12",
"CreatedBy": "56c25b51-7d87-4db8-9a18-91c415fe1fe3",
"CreatedDate": "2026-07-16T06:04:39.46219-05:00",
"EditedBy": "2dea9b7a-1181-467e-ac2e-fecc55849d17",
"EditedDate": "2026-07-16T06:04:39.46219-05:00",
"IsActive": true,
"IsDelete": true
}
],
"CreatedBy": "06080c9d-49a1-40de-99bf-0d5e9360fa2a",
"CreatedDate": "2026-07-16T06:04:39.46219-05:00",
"EditedBy": "0fcf4002-3115-491f-9e56-3edb4745ba3e",
"EditedDate": "2026-07-16T06:04:39.46219-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">06080c9d-49a1-40de-99bf-0d5e9360fa2a</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T06:04:39.46219-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">0fcf4002-3115-491f-9e56-3edb4745ba3e</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T06:04:39.46219-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-07-16T06:04:39.46119-05:00</SaleDate>
<SaleDetailList>
<SaleDetail>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">56c25b51-7d87-4db8-9a18-91c415fe1fe3</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T06:04:39.46219-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2dea9b7a-1181-467e-ac2e-fecc55849d17</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T06:04:39.46219-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>cca44fb1-9f2c-4527-8219-75c92c772835</PackingSizeId>
<PackingSizeIdName>sample string 9</PackingSizeIdName>
<PricePerPack>5</PricePerPack>
<ProductId>32aa7c69-73dc-4231-b853-addf4a867975</ProductId>
<ProductIdName>sample string 12</ProductIdName>
<Qty>6</Qty>
<Return>8</Return>
<SaleDate>2026-07-16T06:04:39.46219-05:00</SaleDate>
<SaleDetailId>4e1b0f5a-3270-4585-9a61-ea3a0387b3d0</SaleDetailId>
<SaleId>88035d51-59af-4617-9d40-7d3d7baa42cd</SaleId>
<StoreId>8872a39f-0965-4a92-b2e5-ab26f13d5e46</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">56c25b51-7d87-4db8-9a18-91c415fe1fe3</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T06:04:39.46219-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2dea9b7a-1181-467e-ac2e-fecc55849d17</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T06:04:39.46219-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>cca44fb1-9f2c-4527-8219-75c92c772835</PackingSizeId>
<PackingSizeIdName>sample string 9</PackingSizeIdName>
<PricePerPack>5</PricePerPack>
<ProductId>32aa7c69-73dc-4231-b853-addf4a867975</ProductId>
<ProductIdName>sample string 12</ProductIdName>
<Qty>6</Qty>
<Return>8</Return>
<SaleDate>2026-07-16T06:04:39.46219-05:00</SaleDate>
<SaleDetailId>4e1b0f5a-3270-4585-9a61-ea3a0387b3d0</SaleDetailId>
<SaleId>88035d51-59af-4617-9d40-7d3d7baa42cd</SaleId>
<StoreId>8872a39f-0965-4a92-b2e5-ab26f13d5e46</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>2ef84fe4-6863-4056-8ed4-ddb303e07ff3</SaleId>
<StoreId>6bdac8fe-0afc-4244-9cc1-b66aff55707a</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.