POST api/Label/CreateLabelAsJPG?subscriptionID={subscriptionID}&labelName={labelName}

Create a jpg for a pet for a given label format.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subscriptionID

string

Required

labelName

string

Required

Body Parameters

Pet
NameDescriptionTypeAdditional information
DetailFields

Collection of DetailField

None.

PLUCodeTitle

string

None.

ArticleMappingEntryID

integer

None.

CustomerName

string

None.

Id

integer

None.

PetType

string

None.

Channel

string

None.

Line1

string

None.

Line2

string

None.

Line3

string

None.

Line4

string

None.

ImageUrl

string

None.

Barcode

string

None.

Price

string

None.

PLUCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DetailFields": [
    {
      "Key": "sample string 1",
      "OverwrittenKey": "sample string 2",
      "Value": "sample string 3",
      "OverwrittenValue": "sample string 4"
    },
    {
      "Key": "sample string 1",
      "OverwrittenKey": "sample string 2",
      "Value": "sample string 3",
      "OverwrittenValue": "sample string 4"
    }
  ],
  "PLUCodeTitle": "sample string 3",
  "ArticleMappingEntryID": 4,
  "CustomerName": "sample string 5",
  "Id": 6,
  "PetType": "sample string 7",
  "Channel": "sample string 8",
  "Line1": "sample string 9",
  "Line2": "sample string 10",
  "Line3": "sample string 11",
  "Line4": "sample string 12",
  "ImageUrl": "sample string 13",
  "Barcode": "sample string 14",
  "Price": "sample string 15",
  "PLUCode": "sample string 16"
}

application/xml, text/xml

Sample:
<Pet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities">
  <Barcode>sample string 14</Barcode>
  <Channel>sample string 8</Channel>
  <Id>6</Id>
  <ImageUrl>sample string 13</ImageUrl>
  <LatName>sample string 2</LatName>
  <Line1>sample string 9</Line1>
  <Line2>sample string 10</Line2>
  <Line3>sample string 11</Line3>
  <Line4>sample string 12</Line4>
  <Name>sample string 1</Name>
  <PLUCode>sample string 16</PLUCode>
  <PetInfoFields xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
  </PetInfoFields>
  <PetType>sample string 7</PetType>
  <Price>sample string 15</Price>
  <ArticleMappingEntryID>4</ArticleMappingEntryID>
  <CustomerName>sample string 5</CustomerName>
  <DetailFields>
    <DetailField>
      <Key>sample string 1</Key>
      <OverwrittenKey>sample string 2</OverwrittenKey>
      <OverwrittenValue>sample string 4</OverwrittenValue>
      <Value>sample string 3</Value>
    </DetailField>
    <DetailField>
      <Key>sample string 1</Key>
      <OverwrittenKey>sample string 2</OverwrittenKey>
      <OverwrittenValue>sample string 4</OverwrittenValue>
      <Value>sample string 3</Value>
    </DetailField>
  </DetailFields>
  <PLUCodeTitle>sample string 3</PLUCodeTitle>
</Pet>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.