POST api/Label/Item

Save label template item by given object

Request Information

URI Parameters

None.

Body Parameters

DTO_Label_Item_Ext
NameDescriptionTypeAdditional information
X

Object

None.

ID

string

None.

Template_ID

string

None.

Item_Type_ID

string

None.

Name

string

None.

Item_Alignment

integer

None.

Item_X

decimal number

None.

Item_Y

decimal number

None.

Item_Width

decimal number

None.

Item_Height

decimal number

None.

Rotate_Type

integer

None.

Enable

boolean

None.

Border

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "X": {},
  "ID": "sample string 2",
  "Template_ID": "sample string 3",
  "Item_Type_ID": "sample string 4",
  "Name": "sample string 5",
  "Item_Alignment": 6,
  "Item_X": 7.0,
  "Item_Y": 8.0,
  "Item_Width": 9.0,
  "Item_Height": 10.0,
  "Rotate_Type": 11,
  "Enable": true,
  "Border": 13
}

application/xml, text/xml

Sample:
<DTO_Label_Item_Ext xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PrintService.DTO">
  <Border>13</Border>
  <Enable>true</Enable>
  <ID>sample string 2</ID>
  <Item_Alignment>6</Item_Alignment>
  <Item_Height>10</Item_Height>
  <Item_Type_ID>sample string 4</Item_Type_ID>
  <Item_Width>9</Item_Width>
  <Item_X>7</Item_X>
  <Item_Y>8</Item_Y>
  <Name>sample string 5</Name>
  <Rotate_Type>11</Rotate_Type>
  <Template_ID>sample string 3</Template_ID>
  <X />
</DTO_Label_Item_Ext>

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.