POST api/labelpagelayouts

Update or Create a page layout

Request Information

URI Parameters

None.

Body Parameters

Page Layout

LabelPageLayout
NameDescriptionTypeAdditional 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.

Request Formats

application/json, text/json

Sample:
{
  "g_UId": "oPpphAcxHE2axOakLHQz9g==",
  "guid": "8469faa0-3107-4d1c-9ac4-e6a42c7433f6",
  "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": "24PP0JgbLkmlUejQlFMn8g==",
      "pageLayoutGuid": "d0cf83db-1b98-492e-a551-e8d0945327f2",
      "labelDesignName": "sample string 2",
      "smallLabel": true,
      "orderLabel": 1
    },
    {
      "$ref": "2"
    }
  ],
  "labelPrinters": [
    {
      "$id": "3",
      "pageLayoutGuid": "5ae50804-c2c0-4a95-83eb-755dc6ecb680",
      "storeID": 2,
      "printerName": "sample string 3",
      "storeName": "sample string 4"
    },
    {
      "$ref": "3"
    }
  ]
}

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>oPpphAcxHE2axOakLHQz9g==</G_UId>
  <Guid>8469faa0-3107-4d1c-9ac4-e6a42c7433f6</Guid>
  <LabelDesigns>
    <LabelPageLayoutDesign>
      <LabelDesignName>sample string 2</LabelDesignName>
      <OrderLabel>1</OrderLabel>
      <PageLayoutG_UID>24PP0JgbLkmlUejQlFMn8g==</PageLayoutG_UID>
      <PageLayoutGuid>d0cf83db-1b98-492e-a551-e8d0945327f2</PageLayoutGuid>
      <SmallLabel>true</SmallLabel>
    </LabelPageLayoutDesign>
    <LabelPageLayoutDesign>
      <LabelDesignName>sample string 2</LabelDesignName>
      <OrderLabel>1</OrderLabel>
      <PageLayoutG_UID>24PP0JgbLkmlUejQlFMn8g==</PageLayoutG_UID>
      <PageLayoutGuid>d0cf83db-1b98-492e-a551-e8d0945327f2</PageLayoutGuid>
      <SmallLabel>true</SmallLabel>
    </LabelPageLayoutDesign>
  </LabelDesigns>
  <LabelPrinters xmlns:d2p1="http://gapsolutions.com.au/schema/ezimanager">
    <d2p1:LabelPageLayoutStorePrinter>
      <d2p1:PageLayoutGuid>5ae50804-c2c0-4a95-83eb-755dc6ecb680</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>5ae50804-c2c0-4a95-83eb-755dc6ecb680</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

Saved Label Page Layout

LabelPageLayout
NameDescriptionTypeAdditional 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.

Response Formats

application/json, text/json

Sample:
{
  "g_UId": "z5EiLqpIcEOy1bcZHNhSlQ==",
  "guid": "2e2291cf-48aa-4370-b2d5-b7191cd85295",
  "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": "HkcSxrpxMU+W3k3N0RUMdg==",
      "pageLayoutGuid": "c612471e-71ba-4f31-96de-4dcdd1150c76",
      "labelDesignName": "sample string 2",
      "smallLabel": true,
      "orderLabel": 1
    },
    {
      "$ref": "2"
    }
  ],
  "labelPrinters": [
    {
      "$id": "3",
      "pageLayoutGuid": "953ee117-fbb3-436f-b173-eb59c75c7673",
      "storeID": 2,
      "printerName": "sample string 3",
      "storeName": "sample string 4"
    },
    {
      "$ref": "3"
    }
  ]
}

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>z5EiLqpIcEOy1bcZHNhSlQ==</G_UId>
  <Guid>2e2291cf-48aa-4370-b2d5-b7191cd85295</Guid>
  <LabelDesigns>
    <LabelPageLayoutDesign>
      <LabelDesignName>sample string 2</LabelDesignName>
      <OrderLabel>1</OrderLabel>
      <PageLayoutG_UID>HkcSxrpxMU+W3k3N0RUMdg==</PageLayoutG_UID>
      <PageLayoutGuid>c612471e-71ba-4f31-96de-4dcdd1150c76</PageLayoutGuid>
      <SmallLabel>true</SmallLabel>
    </LabelPageLayoutDesign>
    <LabelPageLayoutDesign>
      <LabelDesignName>sample string 2</LabelDesignName>
      <OrderLabel>1</OrderLabel>
      <PageLayoutG_UID>HkcSxrpxMU+W3k3N0RUMdg==</PageLayoutG_UID>
      <PageLayoutGuid>c612471e-71ba-4f31-96de-4dcdd1150c76</PageLayoutGuid>
      <SmallLabel>true</SmallLabel>
    </LabelPageLayoutDesign>
  </LabelDesigns>
  <LabelPrinters xmlns:d2p1="http://gapsolutions.com.au/schema/ezimanager">
    <d2p1:LabelPageLayoutStorePrinter>
      <d2p1:PageLayoutGuid>953ee117-fbb3-436f-b173-eb59c75c7673</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>953ee117-fbb3-436f-b173-eb59c75c7673</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/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Sample:
PK7�ZA�jѷ5xl/workbook.xml �(�����0��&�C��@�N\�z𾖭4�.ik���'�x�3;��#��IԱ���]���\/[4�O4��v���0I����X�|�A$Q�
�=Mַz�|����Ch|�L��h˫ぱbn��8�EN�Vw6�XC�7U,��bQ̂�����Ź5%�9s����EeY�f�Cr��;{�b�]}PK7�Z����	�[Content_Types].xml �(����J�0�_��*M�D��V�*��d�
�d�k��<�H���V���=
��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ
�1Z�$�8z�R��3
tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b
��%#H'�2}���e�B)��~j/F�t��PK
7�Z�N�Z''_rels/.rels �(�<?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="R64e72f5769194a08" /></Relationships>PK7�Z���F0<xl/worksheets/sheet1.xml �(���mo�0��
����ﮒTm�n�k׵�g�8
jЦ?�`�U�)R��\|N29}�6��.�4�NC�P��"_���i�X����t6���C�ֺ
�|[��p]U��8.k�%e�����Vy�%�9-��|�Jz�/3��b���I*s�r����ۿ�*w�N����K�,I��l�LM���B������0�g�Z�+���:�������r�Zė�ů�`�W�㦺��uz��LH��,�MY�Yz�.���ܧ�jm�H�8�R�@(�Dzʳ�M����Ǎ�DFX0!	#R����I�'��i$���R
���6~z�(☽�c��������JE9���+���UK"#X1��_6~��y�Ư:?��0F���P���L`NHA��pD��"jV�F"��9�v\!D'T �G:������sI�@�0��;���P�gXi���#�>
�0��thQ�EI�ܚ��A��-� �50��c@����M����� BG"%��IC���Ӓ�;��&��1�@!��V�[qG�d�"`�O0~�D�w�T�lR����˦������>m���l�O34���Fq>T@_q1T�b>T����PA��ˡ���
�W|*D_q5TȾ��P���ϞĜP�x$N�_='�o���w��	��#q���8��x$N�?='�[��I��C[�nl?b�;�����}�8y_x$N��V�cܮ�t�5�k���Y���ʶ�0�5c�6�Wt��]h{E�^��3�j��"�+�pz�;�[���r�H��ڏ��g�..��E�c�
��PK7�Z���Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞�	N���ݰ��S{�DM��v=�����ĂMW��==i���c�}v!zg�3��r��m�h*�n�{0����S`iņ��'΃�hĐ��l��G�)�-�P��%^��~΀%������=;u��?����S�"���b?��o!��N7�/M]�ZU9Rh���u������d���Gc��B�GRw��Г~�>]z�4//�j�Jh���R�75����PK7�ZЃc'2E
xl/styles.xml �(��S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v�F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&�
AR>��� ��im��ΑF���YO��%�}���LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK7�Z�<'<�~xl/sharedStrings.xml �(���_o�0ſ
�;h�$P�i�UJ����C5m\���0���~��	�*\��=!�ϗs}�Mr�,���aJ�$
f�Y���:%�O��x�,)WR҃!�E���-�&%
b�1Mр�&P-HK*�E���дhi<�g���L�P�Ĕ�+�u���`�W�,K0���p[&!fI�*b�mC{��*`L��o3�֊wB:�]������`��U�c��-�Lt�t�g`u�p��	r�������f�m��r���;�$��W��s�Y	Nw����G�J�3�
���j7�p`�\�O��0�8^EE�/)���3�s���\.��j>�1T�왷���Ƌ�8r�>�k��3�
HЬ6���iXq+�,v6��������^[U7��vFh���`�w�8��lr�{H�Uh �PK-7�ZA�jѷ5xl/workbook.xmlPK-7�Z����	�[Content_Types].xmlPK-
7�Z�N�Z''V_rels/.relsPK-7�Z���F0<�xl/worksheets/sheet1.xmlPK-7�Z���PDxl/_rels/workbook.xml.relsPK-7�ZЃc'2E
�xl/styles.xmlPK-7�Z�<'<�~
xl/sharedStrings.xmlPK��

application/vnd.ms-excel

Sample:
PK7�Z��Pҷ5xl/workbook.xml �(�����0D�&�C���N\�z��VhK��|o�vfg��������
[����`�5*p'3�;a��}1#�l�6�[��,���Y�K�]'GGW�?,7Z��u�^
+J�Դ:�s����-2[��$l
��_`�Ţ��%��%�skKz��2�$ίy��p��Td
��;���w�PK7�Z����	�[Content_Types].xml �(����J�0�_��*M�D��V�*��d�
�d�k��<�H���V���=
��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ
�1Z�$�8z�R��3
tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b
��%#H'�2}���e�B)��~j/F�t��PK
7�Z+?0�''_rels/.rels �(�<?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="R89d0e13c51674191" /></Relationships>PK7�Z���F0<xl/worksheets/sheet1.xml �(���mo�0��
����ﮒTm�n�k׵�g�8
jЦ?�`�U�)R��\|N29}�6��.�4�NC�P��"_���i�X����t6���C�ֺ
�|[��p]U��8.k�%e�����Vy�%�9-��|�Jz�/3��b���I*s�r����ۿ�*w�N����K�,I��l�LM���B������0�g�Z�+���:�������r�Zė�ů�`�W�㦺��uz��LH��,�MY�Yz�.���ܧ�jm�H�8�R�@(�Dzʳ�M����Ǎ�DFX0!	#R����I�'��i$���R
���6~z�(☽�c��������JE9���+���UK"#X1��_6~��y�Ư:?��0F���P���L`NHA��pD��"jV�F"��9�v\!D'T �G:������sI�@�0��;���P�gXi���#�>
�0��thQ�EI�ܚ��A��-� �50��c@����M����� BG"%��IC���Ӓ�;��&��1�@!��V�[qG�d�"`�O0~�D�w�T�lR����˦������>m���l�O34���Fq>T@_q1T�b>T����PA��ˡ���
�W|*D_q5TȾ��P���ϞĜP�x$N�_='�o���w��	��#q���8��x$N�?='�[��I��C[�nl?b�;�����}�8y_x$N��V�cܮ�t�5�k���Y���ʶ�0�5c�6�Wt��]h{E�^��3�j��"�+�pz�;�[���r�H��ڏ��g�..��E�c�
��PK7�Z�BC��Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞؍�q��ݰa[z�'Q۲]�gc���V� �X��j4��'�|�l�o�D^0���V�V9=ھ�s2���'��DFI^���!%��4�g���qa�)���^��쑖�54,p�$Nj���1��G��3�����p�br�����O)�kX�
�Iwp�e+Z^��nte��M-�˄���;_Ƞ%3�����]eP?��/�tZ�j����庮�u]_���_�PK7�ZЃc'2E
xl/styles.xml �(��S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v�F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&�
AR>��� ��im��ΑF���YO��%�}���LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK7�Z�<'<�~xl/sharedStrings.xml �(���_o�0ſ
�;h�$P�i�UJ����C5m\���0���~��	�*\��=!�ϗs}�Mr�,���aJ�$
f�Y���:%�O��x�,)WR҃!�E���-�&%
b�1Mр�&P-HK*�E���дhi<�g���L�P�Ĕ�+�u���`�W�,K0���p[&!fI�*b�mC{��*`L��o3�֊wB:�]������`��U�c��-�Lt�t�g`u�p��	r�������f�m��r���;�$��W��s�Y	Nw����G�J�3�
���j7�p`�\�O��0�8^EE�/)���3�s���\.��j>�1T�왷���Ƌ�8r�>�k��3�
HЬ6���iXq+�,v6��������^[U7��vFh���`�w�8��lr�{H�Uh �PK-7�Z��Pҷ5xl/workbook.xmlPK-7�Z����	�[Content_Types].xmlPK-
7�Z+?0�''V_rels/.relsPK-7�Z���F0<�xl/worksheets/sheet1.xmlPK-7�Z�BC��PDxl/_rels/workbook.xml.relsPK-7�ZЃc'2E
�xl/styles.xmlPK-7�Z�<'<�~
xl/sharedStrings.xmlPK��