POST api/Parcel/GenerateLabels/DimID/{DimID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DimID | integer |
Required |
Body Parameters
Labels| Name | Description | Type | Additional 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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.