POST Api/ScrapRequest/AppoveScrapRequest
Request Information
URI Parameters
None.
Body Parameters
ScrapRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ScrapID | globally unique identifier |
None. |
|
| ProductID | string |
None. |
|
| BatchNumber | string |
None. |
|
| LOTNumber | string |
None. |
|
| Price | decimal number |
None. |
|
| Qty | integer |
None. |
|
| Remark | string |
None. |
|
| AddedBy | globally unique identifier |
None. |
|
| UpdatedBy | globally unique identifier |
None. |
|
| RequestStatus | integer |
None. |
|
| StoreID | string |
None. |
|
| MultiRequestStatus | string |
None. |
|
| MultiStoreID | string |
None. |
|
| FromDate | string |
None. |
|
| ToDate | string |
None. |
|
| Type | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ScrapID": "608600e2-0259-4f6e-97aa-81cd9a320ef4",
"ProductID": "sample string 1",
"BatchNumber": "sample string 2",
"LOTNumber": "sample string 3",
"Price": 4.0,
"Qty": 5,
"Remark": "sample string 6",
"AddedBy": "3b7a3cd3-f400-4055-90c5-15e9e8b9dcb1",
"UpdatedBy": "bd2a081e-65dd-4b4a-85bd-32a982756ef8",
"RequestStatus": 7,
"StoreID": "sample string 8",
"MultiRequestStatus": "sample string 9",
"MultiStoreID": "sample string 10",
"FromDate": "sample string 11",
"ToDate": "sample string 12",
"Type": "sample string 13"
}
application/xml, text/xml
Sample:
<ScrapRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KaramBazaarAPI.Models"> <AddedBy>3b7a3cd3-f400-4055-90c5-15e9e8b9dcb1</AddedBy> <BatchNumber>sample string 2</BatchNumber> <FromDate>sample string 11</FromDate> <LOTNumber>sample string 3</LOTNumber> <MultiRequestStatus>sample string 9</MultiRequestStatus> <MultiStoreID>sample string 10</MultiStoreID> <Price>4</Price> <ProductID>sample string 1</ProductID> <Qty>5</Qty> <Remark>sample string 6</Remark> <RequestStatus>7</RequestStatus> <ScrapID>608600e2-0259-4f6e-97aa-81cd9a320ef4</ScrapID> <StoreID>sample string 8</StoreID> <ToDate>sample string 12</ToDate> <Type>sample string 13</Type> <UpdatedBy>bd2a081e-65dd-4b4a-85bd-32a982756ef8</UpdatedBy> </ScrapRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |