POST api/Parcel/GenerateLabels/BarcodeTypeID/{BarcodeTypeID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
BarcodeTypeID

integer

Required

Body Parameters

Labels
NameDescriptionTypeAdditional information
LabelsToGenerate

Collection of BarCodeLabel

None.

Request Formats

application/json, text/json

Sample:
{
  "LabelsToGenerate": [
    {
      "IsDimensionsBarCode": true,
      "Label": "sample string 2"
    },
    {
      "IsDimensionsBarCode": true,
      "Label": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<Labels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model">
  <LabelsToGenerate>
    <BarCodeLabel>
      <IsDimensionsBarCode>true</IsDimensionsBarCode>
      <Label>sample string 2</Label>
    </BarCodeLabel>
    <BarCodeLabel>
      <IsDimensionsBarCode>true</IsDimensionsBarCode>
      <Label>sample string 2</Label>
    </BarCodeLabel>
  </LabelsToGenerate>
</Labels>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"LabelsToGenerate":[{"IsDimensionsBarCode":true,"Label":"sample string 2"},{"IsDimensionsBarCode":true,"Label":"sample string 2"}]}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.