PUT api/labelpagelayout/{guid}
Update a page layout
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| guid |
Page Layout identifier |
globally unique identifier |
Required |
Body Parameters
Page Layout
LabelPageLayout| Name | Description | Type | Additional information |
|---|---|---|---|
| G_UId | Collection of byte |
None. |
|
| Guid | globally unique identifier |
None. |
|
| LayoutName | string |
None. |
|
| Rows | integer |
None. |
|
| Columns | integer |
None. |
|
| RowSpacing | integer |
None. |
|
| ColumnSpacing | integer |
None. |
|
| TearOffStyle | string |
None. |
|
| MinimumSpacing | integer |
None. |
|
| TearOffHeight | integer |
None. |
|
| TearOffTop | integer |
None. |
|
| TearOffBottom | integer |
None. |
|
| TearOffWidth | integer |
None. |
|
| TearOffLeft | integer |
None. |
|
| TearOffRight | integer |
None. |
|
| Printer | string |
None. |
|
| DoubleSided |
0 = not double sided, otherwise fits to duplex setting |
Duplex |
None. |
| PageSize |
9 = A4 (RawKind) |
integer |
None. |
| Stores | Collection of integer |
Relation. This field may not always be loaded or used for updates. |
|
| LabelDesigns | Collection of LabelPageLayoutDesign |
Relation. This field may not always be loaded or used for updates. |
|
| LabelPrinters | Collection of LabelPageLayoutStorePrinter |
Relation. This field may not always be loaded or used for updates. |
|
| LabelDefaultSettings | Collection of LabelPageLayoutDefaultSetting |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
Sample:
{
"g_UId": "30czRy5G6ESvAnFzHvWWkQ==",
"guid": "473347df-462e-44e8-af02-71731ef59691",
"layoutName": "sample string 2",
"rows": 3,
"columns": 4,
"rowSpacing": 5,
"columnSpacing": 6,
"tearOffStyle": "sample string 7",
"minimumSpacing": 8,
"tearOffHeight": 9,
"tearOffTop": 10,
"tearOffBottom": 11,
"tearOffWidth": 12,
"tearOffLeft": 13,
"tearOffRight": 14,
"printer": "sample string 15",
"doubleSided": 16,
"pageSize": 17,
"stores": [
1,
2
],
"labelDesigns": [
{
"$id": "2",
"pageLayoutG_UID": "etrpjZ6KAE2AeVTW3Au9gQ==",
"pageLayoutGuid": "8de9da7a-8a9e-4d00-8079-54d6dc0bbd81",
"labelDesignName": "sample string 2",
"smallLabel": true,
"orderLabel": 1
},
{
"$ref": "2"
}
],
"labelPrinters": [
{
"$id": "3",
"pageLayoutGuid": "fcaf60fc-46f4-4a62-b44b-c4d89dce4a85",
"storeID": 2,
"printerName": "sample string 3",
"storeName": "sample string 4"
},
{
"$ref": "3"
}
],
"labelDefaultSettings": [
{
"$id": "4",
"identifier": "gpy/b/XRyUCApirU6iDd1g==",
"identifierGuid": "6fbf9c82-d1f5-40c9-80a6-2ad4ea20ddd6",
"pageLayoutG_UID": "akaB436mkki9Qr8dNGyKzQ==",
"pageLayoutGuid": "e381466a-a67e-4892-bd42-bf1d346c8acd",
"storeID": 3,
"printRequestType": 0
},
{
"$ref": "4"
}
]
}
application/xml, text/xml
Sample:
<LabelPageLayout xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Labels">
<ColumnSpacing>6</ColumnSpacing>
<Columns>4</Columns>
<DoubleSided>16</DoubleSided>
<G_UId>30czRy5G6ESvAnFzHvWWkQ==</G_UId>
<Guid>473347df-462e-44e8-af02-71731ef59691</Guid>
<LabelDefaultSettings>
<LabelPageLayoutDefaultSetting>
<Identifier>gpy/b/XRyUCApirU6iDd1g==</Identifier>
<IdentifierGuid>6fbf9c82-d1f5-40c9-80a6-2ad4ea20ddd6</IdentifierGuid>
<PageLayoutG_UID>akaB436mkki9Qr8dNGyKzQ==</PageLayoutG_UID>
<PageLayoutGuid>e381466a-a67e-4892-bd42-bf1d346c8acd</PageLayoutGuid>
<PrintRequestType>Shelf</PrintRequestType>
<StoreID>3</StoreID>
</LabelPageLayoutDefaultSetting>
<LabelPageLayoutDefaultSetting>
<Identifier>gpy/b/XRyUCApirU6iDd1g==</Identifier>
<IdentifierGuid>6fbf9c82-d1f5-40c9-80a6-2ad4ea20ddd6</IdentifierGuid>
<PageLayoutG_UID>akaB436mkki9Qr8dNGyKzQ==</PageLayoutG_UID>
<PageLayoutGuid>e381466a-a67e-4892-bd42-bf1d346c8acd</PageLayoutGuid>
<PrintRequestType>Shelf</PrintRequestType>
<StoreID>3</StoreID>
</LabelPageLayoutDefaultSetting>
</LabelDefaultSettings>
<LabelDesigns>
<LabelPageLayoutDesign>
<LabelDesignName>sample string 2</LabelDesignName>
<OrderLabel>1</OrderLabel>
<PageLayoutG_UID>etrpjZ6KAE2AeVTW3Au9gQ==</PageLayoutG_UID>
<PageLayoutGuid>8de9da7a-8a9e-4d00-8079-54d6dc0bbd81</PageLayoutGuid>
<SmallLabel>true</SmallLabel>
</LabelPageLayoutDesign>
<LabelPageLayoutDesign>
<LabelDesignName>sample string 2</LabelDesignName>
<OrderLabel>1</OrderLabel>
<PageLayoutG_UID>etrpjZ6KAE2AeVTW3Au9gQ==</PageLayoutG_UID>
<PageLayoutGuid>8de9da7a-8a9e-4d00-8079-54d6dc0bbd81</PageLayoutGuid>
<SmallLabel>true</SmallLabel>
</LabelPageLayoutDesign>
</LabelDesigns>
<LabelPrinters xmlns:d2p1="http://gapsolutions.com.au/schema/ezimanager">
<d2p1:LabelPageLayoutStorePrinter>
<d2p1:PageLayoutGuid>fcaf60fc-46f4-4a62-b44b-c4d89dce4a85</d2p1:PageLayoutGuid>
<d2p1:PrinterName>sample string 3</d2p1:PrinterName>
<d2p1:StoreID>2</d2p1:StoreID>
<d2p1:StoreName>sample string 4</d2p1:StoreName>
</d2p1:LabelPageLayoutStorePrinter>
<d2p1:LabelPageLayoutStorePrinter>
<d2p1:PageLayoutGuid>fcaf60fc-46f4-4a62-b44b-c4d89dce4a85</d2p1:PageLayoutGuid>
<d2p1:PrinterName>sample string 3</d2p1:PrinterName>
<d2p1:StoreID>2</d2p1:StoreID>
<d2p1:StoreName>sample string 4</d2p1:StoreName>
</d2p1:LabelPageLayoutStorePrinter>
</LabelPrinters>
<LayoutName>sample string 2</LayoutName>
<MinimumSpacing>8</MinimumSpacing>
<PageSize>17</PageSize>
<Printer>sample string 15</Printer>
<RowSpacing>5</RowSpacing>
<Rows>3</Rows>
<Stores xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Stores>
<TearOffBottom>11</TearOffBottom>
<TearOffHeight>9</TearOffHeight>
<TearOffLeft>13</TearOffLeft>
<TearOffRight>14</TearOffRight>
<TearOffStyle>sample string 7</TearOffStyle>
<TearOffTop>10</TearOffTop>
<TearOffWidth>12</TearOffWidth>
</LabelPageLayout>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.