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": "PvUN4K96z0uHm+CTwZaQFQ==",
"guid": "e00df53e-7aaf-4bcf-879b-e093c1969015",
"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": "T1e+VpTg4Ua1VrqHTO9Nnw==",
"pageLayoutGuid": "56be574f-e094-46e1-b556-ba874cef4d9f",
"labelDesignName": "sample string 2",
"smallLabel": true,
"orderLabel": 1
},
{
"$ref": "2"
}
],
"labelPrinters": [
{
"$id": "3",
"pageLayoutGuid": "ddbe613a-e96f-4515-b913-cbdcb4f4506c",
"storeID": 2,
"printerName": "sample string 3",
"storeName": "sample string 4"
},
{
"$ref": "3"
}
],
"labelDefaultSettings": [
{
"$id": "4",
"identifier": "heFPuy2UFkezblc5QNz2Rg==",
"identifierGuid": "bb4fe185-942d-4716-b36e-573940dcf646",
"pageLayoutG_UID": "w9QEECMaXkGwiFb7ungtzg==",
"pageLayoutGuid": "1004d4c3-1a23-415e-b088-56fbba782dce",
"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>PvUN4K96z0uHm+CTwZaQFQ==</G_UId>
<Guid>e00df53e-7aaf-4bcf-879b-e093c1969015</Guid>
<LabelDefaultSettings>
<LabelPageLayoutDefaultSetting>
<Identifier>heFPuy2UFkezblc5QNz2Rg==</Identifier>
<IdentifierGuid>bb4fe185-942d-4716-b36e-573940dcf646</IdentifierGuid>
<PageLayoutG_UID>w9QEECMaXkGwiFb7ungtzg==</PageLayoutG_UID>
<PageLayoutGuid>1004d4c3-1a23-415e-b088-56fbba782dce</PageLayoutGuid>
<PrintRequestType>Shelf</PrintRequestType>
<StoreID>3</StoreID>
</LabelPageLayoutDefaultSetting>
<LabelPageLayoutDefaultSetting>
<Identifier>heFPuy2UFkezblc5QNz2Rg==</Identifier>
<IdentifierGuid>bb4fe185-942d-4716-b36e-573940dcf646</IdentifierGuid>
<PageLayoutG_UID>w9QEECMaXkGwiFb7ungtzg==</PageLayoutG_UID>
<PageLayoutGuid>1004d4c3-1a23-415e-b088-56fbba782dce</PageLayoutGuid>
<PrintRequestType>Shelf</PrintRequestType>
<StoreID>3</StoreID>
</LabelPageLayoutDefaultSetting>
</LabelDefaultSettings>
<LabelDesigns>
<LabelPageLayoutDesign>
<LabelDesignName>sample string 2</LabelDesignName>
<OrderLabel>1</OrderLabel>
<PageLayoutG_UID>T1e+VpTg4Ua1VrqHTO9Nnw==</PageLayoutG_UID>
<PageLayoutGuid>56be574f-e094-46e1-b556-ba874cef4d9f</PageLayoutGuid>
<SmallLabel>true</SmallLabel>
</LabelPageLayoutDesign>
<LabelPageLayoutDesign>
<LabelDesignName>sample string 2</LabelDesignName>
<OrderLabel>1</OrderLabel>
<PageLayoutG_UID>T1e+VpTg4Ua1VrqHTO9Nnw==</PageLayoutG_UID>
<PageLayoutGuid>56be574f-e094-46e1-b556-ba874cef4d9f</PageLayoutGuid>
<SmallLabel>true</SmallLabel>
</LabelPageLayoutDesign>
</LabelDesigns>
<LabelPrinters xmlns:d2p1="http://gapsolutions.com.au/schema/ezimanager">
<d2p1:LabelPageLayoutStorePrinter>
<d2p1:PageLayoutGuid>ddbe613a-e96f-4515-b913-cbdcb4f4506c</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>ddbe613a-e96f-4515-b913-cbdcb4f4506c</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.