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": "8ac21c58-64b7-425b-b3dd-5e41cbb3dee0",
"SaleId": "996de0c5-a9d6-4752-9a1c-19fe5c5a7a7a",
"ProductId": "edbbc415-5857-4e03-9d9b-0de8c78e18a8",
"PackingSizeId": "d9ca799e-5a1b-4a2f-84d6-ab3048d243eb",
"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": "4dfdf6af-9d44-4d07-b814-223f1eea227f",
"SaleDate": "2026-03-23T11:31:25.8063873-05:00",
"ProductIdName": "sample string 12",
"CreatedBy": "6ac082dc-cdb7-4441-bff9-97c89b321bfd",
"CreatedDate": "2026-03-23T11:31:25.8063873-05:00",
"EditedBy": "0d9064f1-bdf5-4b7d-bd67-d01ba9f7f1c0",
"EditedDate": "2026-03-23T11:31:25.8063873-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">6ac082dc-cdb7-4441-bff9-97c89b321bfd</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:31:25.8063873-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">0d9064f1-bdf5-4b7d-bd67-d01ba9f7f1c0</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:31:25.8063873-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>d9ca799e-5a1b-4a2f-84d6-ab3048d243eb</PackingSizeId>
<PackingSizeIdName>sample string 9</PackingSizeIdName>
<PricePerPack>5</PricePerPack>
<ProductId>edbbc415-5857-4e03-9d9b-0de8c78e18a8</ProductId>
<ProductIdName>sample string 12</ProductIdName>
<Qty>6</Qty>
<Return>8</Return>
<SaleDate>2026-03-23T11:31:25.8063873-05:00</SaleDate>
<SaleDetailId>8ac21c58-64b7-425b-b3dd-5e41cbb3dee0</SaleDetailId>
<SaleId>996de0c5-a9d6-4752-9a1c-19fe5c5a7a7a</SaleId>
<StoreId>4dfdf6af-9d44-4d07-b814-223f1eea227f</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.