POST api/Product/SyncBarcodeLinks

Request Information

URI Parameters

None.

Body Parameters

BarcodeLinkSyncRequest
NameDescriptionTypeAdditional 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",
      "Barcode": "sample string 2",
      "InsertDate": "2026-10-21T04:10:32.5937981-07:00",
      "InsertUser": "sample string 4",
      "ActiveStatus": true
    },
    {
      "ItemCode": "sample string 1",
      "Barcode": "sample string 2",
      "InsertDate": "2026-10-21T04:10:32.5937981-07:00",
      "InsertUser": "sample string 4",
      "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 2</Barcode>
      <InsertDate>2026-10-21T04:10:32.5937981-07:00</InsertDate>
      <InsertUser>sample string 4</InsertUser>
      <ItemCode>sample string 1</ItemCode>
    </BarcodeLinkModel>
    <BarcodeLinkModel>
      <ActiveStatus>true</ActiveStatus>
      <Barcode>sample string 2</Barcode>
      <InsertDate>2026-10-21T04:10:32.5937981-07:00</InsertDate>
      <InsertUser>sample string 4</InsertUser>
      <ItemCode>sample string 1</ItemCode>
    </BarcodeLinkModel>
  </BarcodeLinks>
  <SalesOutletID>sample string 1</SalesOutletID>
</BarcodeLinkSyncRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BarcodeLinkSyncRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.