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": "d94baa7c-28a0-427f-8cf7-fcf6eeb7369e",
"SaleId": "a108db36-8f36-4b2c-a8b6-302bba7eb306",
"ProductId": "cd2b982c-b903-4e16-94a3-b243d72db8ff",
"PackingSizeId": "d95db851-34df-42bd-ae22-ffad42635fbc",
"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": "3578ed46-2a31-46f3-93ba-f5103f26ed01",
"SaleDate": "2026-09-14T05:57:54.2534358-05:00",
"ProductIdName": "sample string 12",
"CreatedBy": "42476e68-9a36-404f-9c92-c95fc35f4db8",
"CreatedDate": "2026-09-14T05:57:54.2534358-05:00",
"EditedBy": "b9b393f2-0403-4901-9cc2-e2b7c48a19e9",
"EditedDate": "2026-09-14T05:57:54.2534358-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">42476e68-9a36-404f-9c92-c95fc35f4db8</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-09-14T05:57:54.2534358-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">b9b393f2-0403-4901-9cc2-e2b7c48a19e9</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-09-14T05:57:54.2534358-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>d95db851-34df-42bd-ae22-ffad42635fbc</PackingSizeId>
<PackingSizeIdName>sample string 9</PackingSizeIdName>
<PricePerPack>5</PricePerPack>
<ProductId>cd2b982c-b903-4e16-94a3-b243d72db8ff</ProductId>
<ProductIdName>sample string 12</ProductIdName>
<Qty>6</Qty>
<Return>8</Return>
<SaleDate>2026-09-14T05:57:54.2534358-05:00</SaleDate>
<SaleDetailId>d94baa7c-28a0-427f-8cf7-fcf6eeb7369e</SaleDetailId>
<SaleId>a108db36-8f36-4b2c-a8b6-302bba7eb306</SaleId>
<StoreId>3578ed46-2a31-46f3-93ba-f5103f26ed01</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.