POST api/Product/GetTrackbleAgainstProductVarientID
Request Information
URI Parameters
None.
Body Parameters
GetTrackbleAgainstProductVarientRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| OutletID | integer |
Required |
|
| ProductVariantID | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"OutletID": 1,
"ProductVariantID": 2
}
application/xml, text/xml
Sample:
<GetTrackbleAgainstProductVarientRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Request"> <OutletID>1</OutletID> <ProductVariantID>2</ProductVariantID> </GetTrackbleAgainstProductVarientRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TrackableListResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| TrackableCodesDetailList | Collection of TrackableCodeDetailModel |
None. |
|
| ResponseCode | integer |
None. |
|
| ResponseText | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"TrackableCodesDetailList": [
{
"ProductID": 1,
"ProductVarientID": 2,
"Product": "sample string 3",
"ProductVarient": "sample string 4",
"TrackableCode": "sample string 5",
"Tax": 1.0,
"LuxuaryTax": 1.0,
"ProductVariantBarcode": "sample string 6",
"SalePrice": 1.0
},
{
"ProductID": 1,
"ProductVarientID": 2,
"Product": "sample string 3",
"ProductVarient": "sample string 4",
"TrackableCode": "sample string 5",
"Tax": 1.0,
"LuxuaryTax": 1.0,
"ProductVariantBarcode": "sample string 6",
"SalePrice": 1.0
}
],
"ResponseCode": 1,
"ResponseText": "sample string 2"
}
application/xml, text/xml
Sample:
<TrackableListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Response">
<ResponseCode xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">1</ResponseCode>
<ResponseText xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">sample string 2</ResponseText>
<TrackableCodesDetailList xmlns:d2p1="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">
<d2p1:TrackableCodeDetailModel>
<d2p1:LuxuaryTax>1</d2p1:LuxuaryTax>
<d2p1:Product>sample string 3</d2p1:Product>
<d2p1:ProductID>1</d2p1:ProductID>
<d2p1:ProductVariantBarcode>sample string 6</d2p1:ProductVariantBarcode>
<d2p1:ProductVarient>sample string 4</d2p1:ProductVarient>
<d2p1:ProductVarientID>2</d2p1:ProductVarientID>
<d2p1:SalePrice>1</d2p1:SalePrice>
<d2p1:Tax>1</d2p1:Tax>
<d2p1:TrackableCode>sample string 5</d2p1:TrackableCode>
</d2p1:TrackableCodeDetailModel>
<d2p1:TrackableCodeDetailModel>
<d2p1:LuxuaryTax>1</d2p1:LuxuaryTax>
<d2p1:Product>sample string 3</d2p1:Product>
<d2p1:ProductID>1</d2p1:ProductID>
<d2p1:ProductVariantBarcode>sample string 6</d2p1:ProductVariantBarcode>
<d2p1:ProductVarient>sample string 4</d2p1:ProductVarient>
<d2p1:ProductVarientID>2</d2p1:ProductVarientID>
<d2p1:SalePrice>1</d2p1:SalePrice>
<d2p1:Tax>1</d2p1:Tax>
<d2p1:TrackableCode>sample string 5</d2p1:TrackableCode>
</d2p1:TrackableCodeDetailModel>
</TrackableCodesDetailList>
</TrackableListResponse>