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": "5e1e27b6-9a8c-4bd5-b69d-53acb8105e63",
"SaleId": "1baf7dcc-32e1-43b4-806e-338e3f5bbdbd",
"ProductId": "ea95d20d-4a36-4203-ba1e-634ae5978c90",
"PackingSizeId": "a5215e34-b59b-4a6d-97e0-56dbfd877f49",
"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": "3ee2092a-cb79-4d04-92ec-df958277b46f",
"SaleDate": "2025-12-10T21:45:03.3290306-06:00",
"ProductIdName": "sample string 12",
"CreatedBy": "4d8bc422-0281-4aee-a595-2836ca45f89a",
"CreatedDate": "2025-12-10T21:45:03.3290306-06:00",
"EditedBy": "92f05c3f-4bc1-4062-918b-d35e8fa0c0c3",
"EditedDate": "2025-12-10T21:45:03.3290306-06: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">4d8bc422-0281-4aee-a595-2836ca45f89a</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:45:03.3290306-06:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">92f05c3f-4bc1-4062-918b-d35e8fa0c0c3</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:45:03.3290306-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>
<FreeQty>7</FreeQty>
<PackingSizeId>a5215e34-b59b-4a6d-97e0-56dbfd877f49</PackingSizeId>
<PackingSizeIdName>sample string 9</PackingSizeIdName>
<PricePerPack>5</PricePerPack>
<ProductId>ea95d20d-4a36-4203-ba1e-634ae5978c90</ProductId>
<ProductIdName>sample string 12</ProductIdName>
<Qty>6</Qty>
<Return>8</Return>
<SaleDate>2025-12-10T21:45:03.3290306-06:00</SaleDate>
<SaleDetailId>5e1e27b6-9a8c-4bd5-b69d-53acb8105e63</SaleDetailId>
<SaleId>1baf7dcc-32e1-43b4-806e-338e3f5bbdbd</SaleId>
<StoreId>3ee2092a-cb79-4d04-92ec-df958277b46f</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.