POST api/Label/Template/Save

Save data into given label template

Request Information

URI Parameters

None.

Body Parameters

Label Template Object

DTO_Label_Template
NameDescriptionTypeAdditional information
ID

string

None.

Name

string

None.

Paper_Width

decimal number

None.

Paper_Height

decimal number

None.

Landscape

boolean

None.

Margin_Top

decimal number

None.

Margin_Left

decimal number

None.

Margin_Bottom

decimal number

None.

Margin_Right

decimal number

None.

Spacing_Width

decimal number

None.

Spacing_Height

decimal number

None.

Label_Width

decimal number

None.

Label_Height

decimal number

None.

Border_Pen

integer

None.

Cell_Pen

integer

None.

FH_Code

string

None.

Charset_Code

string

None.

Encoding_Code

string

None.

Font_Identifier

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "sample string 1",
  "Name": "sample string 2",
  "Paper_Width": 3.0,
  "Paper_Height": 4.0,
  "Landscape": true,
  "Margin_Top": 6.0,
  "Margin_Left": 7.0,
  "Margin_Bottom": 8.0,
  "Margin_Right": 9.0,
  "Spacing_Width": 10.0,
  "Spacing_Height": 11.0,
  "Label_Width": 12.0,
  "Label_Height": 13.0,
  "Border_Pen": 14,
  "Cell_Pen": 15,
  "FH_Code": "sample string 16",
  "Charset_Code": "sample string 17",
  "Encoding_Code": "sample string 18",
  "Font_Identifier": "sample string 19"
}

application/xml, text/xml

Sample:
<DTO_Label_Template xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PrintService.DTO">
  <Border_Pen>14</Border_Pen>
  <Cell_Pen>15</Cell_Pen>
  <Charset_Code>sample string 17</Charset_Code>
  <Encoding_Code>sample string 18</Encoding_Code>
  <FH_Code>sample string 16</FH_Code>
  <Font_Identifier>sample string 19</Font_Identifier>
  <ID>sample string 1</ID>
  <Label_Height>13</Label_Height>
  <Label_Width>12</Label_Width>
  <Landscape>true</Landscape>
  <Margin_Bottom>8</Margin_Bottom>
  <Margin_Left>7</Margin_Left>
  <Margin_Right>9</Margin_Right>
  <Margin_Top>6</Margin_Top>
  <Name>sample string 2</Name>
  <Paper_Height>4</Paper_Height>
  <Paper_Width>3</Paper_Width>
  <Spacing_Height>11</Spacing_Height>
  <Spacing_Width>10</Spacing_Width>
</DTO_Label_Template>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

a value of Common Result

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.