POST api/Product/SyncBarcodeLinks
Request Information
URI Parameters
None.
Body Parameters
BarcodeLinkSyncRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SalesOutletID | string |
None. |
|
| BarcodeLinks | Collection of BarcodeLinkModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"SalesOutletID": "sample string 1",
"BarcodeLinks": [
{
"ItemCode": "sample string 1",
"ServerBarcodeLinkID": 2,
"Barcode": "sample string 3",
"ActiveStatus": true
},
{
"ItemCode": "sample string 1",
"ServerBarcodeLinkID": 2,
"Barcode": "sample string 3",
"ActiveStatus": true
}
]
}
application/xml, text/xml
Sample:
<BarcodeLinkSyncRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SOFTO.POS.Sync.Models">
<BarcodeLinks>
<BarcodeLinkModel>
<ActiveStatus>true</ActiveStatus>
<Barcode>sample string 3</Barcode>
<ItemCode>sample string 1</ItemCode>
<ServerBarcodeLinkID>2</ServerBarcodeLinkID>
</BarcodeLinkModel>
<BarcodeLinkModel>
<ActiveStatus>true</ActiveStatus>
<Barcode>sample string 3</Barcode>
<ItemCode>sample string 1</ItemCode>
<ServerBarcodeLinkID>2</ServerBarcodeLinkID>
</BarcodeLinkModel>
</BarcodeLinks>
<SalesOutletID>sample string 1</SalesOutletID>
</BarcodeLinkSyncRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.