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": "b2772c0f-c18a-4420-a7bc-d6894016b9b8",
"SaleId": "256ca42e-a983-4900-a541-1ebc5d6847be",
"ProductId": "92f219d6-3004-4d13-b82a-32406cb5d7d2",
"PackingSizeId": "90354727-f693-4e38-8d3a-2680ba09193c",
"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": "a31ff4f2-f947-4b51-adbd-c6c03246d703",
"SaleDate": "2026-07-16T06:06:43.3773592-05:00",
"ProductIdName": "sample string 12",
"CreatedBy": "df781768-6a7d-4e35-927c-123e8a781571",
"CreatedDate": "2026-07-16T06:06:43.3773592-05:00",
"EditedBy": "1730da74-25b3-4654-b956-280aec2113aa",
"EditedDate": "2026-07-16T06:06:43.3773592-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">df781768-6a7d-4e35-927c-123e8a781571</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T06:06:43.3773592-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">1730da74-25b3-4654-b956-280aec2113aa</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T06:06:43.3773592-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>90354727-f693-4e38-8d3a-2680ba09193c</PackingSizeId>
<PackingSizeIdName>sample string 9</PackingSizeIdName>
<PricePerPack>5</PricePerPack>
<ProductId>92f219d6-3004-4d13-b82a-32406cb5d7d2</ProductId>
<ProductIdName>sample string 12</ProductIdName>
<Qty>6</Qty>
<Return>8</Return>
<SaleDate>2026-07-16T06:06:43.3773592-05:00</SaleDate>
<SaleDetailId>b2772c0f-c18a-4420-a7bc-d6894016b9b8</SaleDetailId>
<SaleId>256ca42e-a983-4900-a541-1ebc5d6847be</SaleId>
<StoreId>a31ff4f2-f947-4b51-adbd-c6c03246d703</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.