POST api/PackageLabel

Request Information

URI Parameters

None.

Body Parameters

PackageLabelDB
NameDescriptionTypeAdditional information
PackageLabelID

integer

None.

PackageID

integer

None.

LabelFormat

string

None.

LabelData

string

None.

PrintCount

integer

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

results

Collection of ValidationResult

None.

Request Formats

application/json, text/json

Sample:
{
  "results": null,
  "PackageLabelID": 1,
  "PackageID": 2,
  "LabelFormat": "sample string 3",
  "LabelData": "sample string 4",
  "PrintCount": 5,
  "CreatedBy": 6,
  "CreatedDate": "2026-04-03T21:30:14.3329808-07:00",
  "UpdatedBy": 8,
  "UpdatedDate": "2026-04-03T21:30:14.3329808-07:00"
}

application/xml, text/xml

Sample:
<PackageLabelDB xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Models.SendIt">
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
  <CreatedBy>6</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2026-04-04T04:30:14.3329808Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-420</d2p1:OffsetMinutes>
  </CreatedDate>
  <LabelData>sample string 4</LabelData>
  <LabelFormat>sample string 3</LabelFormat>
  <PackageID>2</PackageID>
  <PackageLabelID>1</PackageLabelID>
  <PrintCount>5</PrintCount>
  <UpdatedBy>8</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2026-04-04T04:30:14.3329808Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-420</d2p1:OffsetMinutes>
  </UpdatedDate>
</PackageLabelDB>

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 'PackageLabelDB'.

Response Information

Resource Description

PackageLabelDB
NameDescriptionTypeAdditional information
PackageLabelID

integer

None.

PackageID

integer

None.

LabelFormat

string

None.

LabelData

string

None.

PrintCount

integer

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

results

Collection of ValidationResult

None.

Response Formats

application/json, text/json

Sample:
{
  "results": null,
  "PackageLabelID": 1,
  "PackageID": 2,
  "LabelFormat": "sample string 3",
  "LabelData": "sample string 4",
  "PrintCount": 5,
  "CreatedBy": 6,
  "CreatedDate": "2026-04-03T21:30:14.3329808-07:00",
  "UpdatedBy": 8,
  "UpdatedDate": "2026-04-03T21:30:14.3329808-07:00"
}

application/xml, text/xml

Sample:
<PackageLabelDB xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Models.SendIt">
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
  <CreatedBy>6</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2026-04-04T04:30:14.3329808Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-420</d2p1:OffsetMinutes>
  </CreatedDate>
  <LabelData>sample string 4</LabelData>
  <LabelFormat>sample string 3</LabelFormat>
  <PackageID>2</PackageID>
  <PackageLabelID>1</PackageLabelID>
  <PrintCount>5</PrintCount>
  <UpdatedBy>8</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2026-04-04T04:30:14.3329808Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-420</d2p1:OffsetMinutes>
  </UpdatedDate>
</PackageLabelDB>