PUT admin/template

Request Information

URI Parameters

None.

Body Parameters

TemplatePutRequest
NameDescriptionTypeAdditional information
marketplaceId

string

None.

uiTemplateId

string

None.

uiTemplateName

string

None.

width

integer

None.

height

integer

None.

isActive

boolean

None.

selectedFonts

Collection of SelectedFont

None.

selectedColors

Collection of SelectedColor

None.

pZone

Collection of PZone

None.

Request Formats

application/json, text/json

Sample:
{
  "marketplaceId": "sample string 1",
  "uiTemplateId": "sample string 2",
  "uiTemplateName": "sample string 3",
  "width": 4,
  "height": 5,
  "isActive": true,
  "selectedFonts": [
    {
      "FontId": 1
    },
    {
      "FontId": 1
    }
  ],
  "selectedColors": [
    {
      "FontColorId": 1
    },
    {
      "FontColorId": 1
    }
  ],
  "pZone": [
    {
      "id": 1,
      "name": "sample string 2",
      "width": 3,
      "height": 4,
      "xpos": 5,
      "ypos": 6,
      "pcodeId": 7,
      "displayOrder": "sample string 8",
      "imageWidth": 9.1,
      "imageHeight": 10.1,
      "defaultText": "sample string 11",
      "fontId": 1,
      "fontColorId": 1,
      "fontSize": 1,
      "textAlign": "sample string 12",
      "charLimit": 1
    },
    {
      "id": 1,
      "name": "sample string 2",
      "width": 3,
      "height": 4,
      "xpos": 5,
      "ypos": 6,
      "pcodeId": 7,
      "displayOrder": "sample string 8",
      "imageWidth": 9.1,
      "imageHeight": 10.1,
      "defaultText": "sample string 11",
      "fontId": 1,
      "fontColorId": 1,
      "fontSize": 1,
      "textAlign": "sample string 12",
      "charLimit": 1
    }
  ]
}

application/xml, text/xml

Sample:
<TemplatePutRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JCAPI.Models">
  <height>5</height>
  <isActive>true</isActive>
  <marketplaceId>sample string 1</marketplaceId>
  <pZone>
    <PZone>
      <charLimit>1</charLimit>
      <defaultText>sample string 11</defaultText>
      <displayOrder>sample string 8</displayOrder>
      <fontColorId>1</fontColorId>
      <fontId>1</fontId>
      <fontSize>1</fontSize>
      <height>4</height>
      <id>1</id>
      <imageHeight>10.1</imageHeight>
      <imageWidth>9.1</imageWidth>
      <name>sample string 2</name>
      <pcodeId>7</pcodeId>
      <textAlign>sample string 12</textAlign>
      <width>3</width>
      <xpos>5</xpos>
      <ypos>6</ypos>
    </PZone>
    <PZone>
      <charLimit>1</charLimit>
      <defaultText>sample string 11</defaultText>
      <displayOrder>sample string 8</displayOrder>
      <fontColorId>1</fontColorId>
      <fontId>1</fontId>
      <fontSize>1</fontSize>
      <height>4</height>
      <id>1</id>
      <imageHeight>10.1</imageHeight>
      <imageWidth>9.1</imageWidth>
      <name>sample string 2</name>
      <pcodeId>7</pcodeId>
      <textAlign>sample string 12</textAlign>
      <width>3</width>
      <xpos>5</xpos>
      <ypos>6</ypos>
    </PZone>
  </pZone>
  <selectedColors>
    <SelectedColor>
      <FontColorId>1</FontColorId>
    </SelectedColor>
    <SelectedColor>
      <FontColorId>1</FontColorId>
    </SelectedColor>
  </selectedColors>
  <selectedFonts>
    <SelectedFont>
      <FontId>1</FontId>
    </SelectedFont>
    <SelectedFont>
      <FontId>1</FontId>
    </SelectedFont>
  </selectedFonts>
  <uiTemplateId>sample string 2</uiTemplateId>
  <uiTemplateName>sample string 3</uiTemplateName>
  <width>4</width>
</TemplatePutRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>