POST api/SaleDetail/Edit
Request Information
URI Parameters
None.
Body Parameters
SaleDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| SaleDetailId | globally unique identifier |
None. |
|
| SaleId | globally unique identifier |
None. |
|
| ProductId | globally unique identifier |
None. |
|
| PackingSizeId | globally unique identifier |
None. |
|
| PricePerPack | decimal number |
None. |
|
| Qty | decimal number |
None. |
|
| FreeQty | decimal number |
None. |
|
| Return | decimal number |
None. |
|
| response | Response |
None. |
|
| PackingSizeIdName | string |
None. |
|
| StoreId | globally unique identifier |
None. |
|
| SaleDate | date |
None. |
|
| ProductIdName | string |
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:
{
"SaleDetailId": "77405761-ec8f-419b-ba38-257ee61e6174",
"SaleId": "56d64ea5-0e70-40d0-a191-666735b88b89",
"ProductId": "e75b371b-da08-4c9e-9388-46f17d3336ed",
"PackingSizeId": "74108f82-1daa-4fd1-9d7f-41b0c17f5273",
"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": "8085611f-b89c-45ce-919c-324491854ff6",
"SaleDate": "2026-05-17T05:53:46.6393729-05:00",
"ProductIdName": "sample string 12",
"CreatedBy": "0b03cf9d-7657-439b-9cfd-2dd3a1bf6353",
"CreatedDate": "2026-05-17T05:53:46.6393729-05:00",
"EditedBy": "9cf87b05-41f8-44e1-8c7c-f8a60bc8c897",
"EditedDate": "2026-05-17T05:53:46.6403734-05:00",
"IsActive": true,
"IsDelete": true
}
application/xml, text/xml
Sample:
<SaleDetail 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">0b03cf9d-7657-439b-9cfd-2dd3a1bf6353</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-05-17T05:53:46.6393729-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">9cf87b05-41f8-44e1-8c7c-f8a60bc8c897</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-05-17T05:53:46.6403734-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>74108f82-1daa-4fd1-9d7f-41b0c17f5273</PackingSizeId>
<PackingSizeIdName>sample string 9</PackingSizeIdName>
<PricePerPack>5</PricePerPack>
<ProductId>e75b371b-da08-4c9e-9388-46f17d3336ed</ProductId>
<ProductIdName>sample string 12</ProductIdName>
<Qty>6</Qty>
<Return>8</Return>
<SaleDate>2026-05-17T05:53:46.6393729-05:00</SaleDate>
<SaleDetailId>77405761-ec8f-419b-ba38-257ee61e6174</SaleDetailId>
<SaleId>56d64ea5-0e70-40d0-a191-666735b88b89</SaleId>
<StoreId>8085611f-b89c-45ce-919c-324491854ff6</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>
</SaleDetail>
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.