GET api/cardGroups

List all card groups

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CardGroup
NameDescriptionTypeAdditional information
ID

Primary key id

integer

None.

Tender

The accounting code for exports

string

None.

Name

Name of card group

string

None.

GLCode

Accounting GL Code

string

None.

IsCommission

Is this card group for Commission

boolean

None.

AccountingCategoryID

integer

None.

Cards

Collection of Card

Relation. This field may not always be loaded or used for updates.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "id": 1,
    "tender": "sample string 2",
    "name": "sample string 3",
    "glCode": "sample string 4",
    "isCommission": true,
    "accountingCategoryID": 5,
    "cards": [
      {
        "$id": "2",
        "id": 1,
        "name": "sample string 2",
        "glCode": "sample string 3",
        "cardGroupID": 1,
        "accountingCategoryID": 4,
        "cardGroupName": "sample string 5"
      },
      {
        "$ref": "2"
      }
    ]
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCardGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Sales">
  <CardGroup>
    <AccountingCategoryID>5</AccountingCategoryID>
    <Cards>
      <Card>
        <AccountingCategoryID>4</AccountingCategoryID>
        <CardGroupID>1</CardGroupID>
        <CardGroupName>sample string 5</CardGroupName>
        <GLCode>sample string 3</GLCode>
        <ID>1</ID>
        <Name>sample string 2</Name>
      </Card>
      <Card>
        <AccountingCategoryID>4</AccountingCategoryID>
        <CardGroupID>1</CardGroupID>
        <CardGroupName>sample string 5</CardGroupName>
        <GLCode>sample string 3</GLCode>
        <ID>1</ID>
        <Name>sample string 2</Name>
      </Card>
    </Cards>
    <GLCode>sample string 4</GLCode>
    <ID>1</ID>
    <IsCommission>true</IsCommission>
    <Name>sample string 3</Name>
    <Tender>sample string 2</Tender>
  </CardGroup>
  <CardGroup>
    <AccountingCategoryID>5</AccountingCategoryID>
    <Cards>
      <Card>
        <AccountingCategoryID>4</AccountingCategoryID>
        <CardGroupID>1</CardGroupID>
        <CardGroupName>sample string 5</CardGroupName>
        <GLCode>sample string 3</GLCode>
        <ID>1</ID>
        <Name>sample string 2</Name>
      </Card>
      <Card>
        <AccountingCategoryID>4</AccountingCategoryID>
        <CardGroupID>1</CardGroupID>
        <CardGroupName>sample string 5</CardGroupName>
        <GLCode>sample string 3</GLCode>
        <ID>1</ID>
        <Name>sample string 2</Name>
      </Card>
    </Cards>
    <GLCode>sample string 4</GLCode>
    <ID>1</ID>
    <IsCommission>true</IsCommission>
    <Name>sample string 3</Name>
    <Tender>sample string 2</Tender>
  </CardGroup>
</ArrayOfCardGroup>

text/csv

Sample:

Sample not available.

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Sample:
PK�3�Z�b�˶5xl/workbook.xml �(�����0��&�C��HP�N\�z��E�O�||o�vfg�>�?���G
���]�`�7*�cQ�]k���{1Ӷ���4o�:�4I���A�;i=]h���u�w�A
J�Դ���S�����2k��$l	���a�Ŭ��%�!%�s%=R�
�{�6I���tA�D~�{�q����PK�3�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
�3�Z�/C�''_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="R6cf869c014164b33" /></Relationships>PK�3�Zv�+�xl/worksheets/sheet1.xml �(���M�� ���ý�&�dԝݦ����=[��JH܏_$�$�I;{Q����O������C���LJRT���Qןb𔧣�o��\{�Ff�����P�
��̻ZȾЦ+�P�u[�(�=4$�P��f(մ�����:H^Tv
}w.���jM�i���u���橅�|TWmoJ�[������,t����*^�N��W��m>�N):e�^�N�x}�n�c[�&��C�G�E�������=�x8�#���$��<���������쳋O� fqBH�b��p���'�O�̢%a�؏f?Z����%FP��O�W�.���E�J1zҾ6ŧֳi*�A̚+��N9J�irg��%�-��%�-�u	zK|q��ع�%^]"\h�/��%?��;�^�S/Z%w�x��%�Ur���%�]Or���罹���Aj���.�N���.ᤦR��ש�վo̹��Nͥ�3��>�PK�3�Z�(Q��Pxl/_rels/workbook.xml.rels �(���KN�0@�byO�N�TM�aö�#{GM��v���G�
XE�Tb�������4����ݿM#y��:Z�t����='� �~�=�)OD;̑�;jS�7�Eeq�X�]�&H9
=�A��GVq�faɠ�Lr����7fP���yB���WN�"&J�zL�)Ev
e���<�L��ຩ%��MK	��ZL���w��Ѣ]�X+^W ����X��Sȗ^:-��f��4Ђ�+�y}Uc7��PK�3�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�3�Z}�3_xl/sharedStrings.xml �(�}�QK�0ǿJȻ�6ED��s6_6�D0�gH.5w�7SPha���s����g���������ul��|:<\�HAl��>"��$Ų*�X�V�Rv����Tw,����-�`9����'�
u�^�f�:X�R�q@�cR��0 �pU����\�T��`iLm�1[oMl&tC&���<���/e{cژ���Ʀ�Ɛl�=�U��+�������8
����2�{�9��ZBr��:�������,����5xR��Q{������I��Y}PK-�3�Z�b�˶5xl/workbook.xmlPK-�3�Z����	��[Content_Types].xmlPK-
�3�Z�/C�''U_rels/.relsPK-�3�Zv�+��xl/worksheets/sheet1.xmlPK-�3�Z�(Q��P�xl/_rels/workbook.xml.relsPK-�3�ZЃc'2E
=xl/styles.xmlPK-�3�Z}�3_�xl/sharedStrings.xmlPK�

application/vnd.ms-excel

Sample:
PK�3�Z�%u��5xl/workbook.xml �(�����0��&�C���I�N\�z��VhK�||o�vfg�>�?���G
�����c��k:T�NfDv�X>H�bF�`m��B�YE9�8��F�N����Xn����V��iu<��f��[d0���I�b�)����E
KZ�J�֖4��2w̯�K�b�&������a�m��/PK�3�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
�3�Z��5''_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="R41b74b9199fd499d" /></Relationships>PK�3�Zv�+�xl/worksheets/sheet1.xml �(���M�� ���ý�&�dԝݦ����=[��JH܏_$�$�I;{Q����O������C���LJRT���Qןb𔧣�o��\{�Ff�����P�
��̻ZȾЦ+�P�u[�(�=4$�P��f(մ�����:H^Tv
}w.���jM�i���u���橅�|TWmoJ�[������,t����*^�N��W��m>�N):e�^�N�x}�n�c[�&��C�G�E�������=�x8�#���$��<���������쳋O� fqBH�b��p���'�O�̢%a�؏f?Z����%FP��O�W�.���E�J1zҾ6ŧֳi*�A̚+��N9J�irg��%�-��%�-�u	zK|q��ع�%^]"\h�/��%?��;�^�S/Z%w�x��%�Ur���%�]Or���罹���Aj���.�N���.ᤦR��ש�վo̹��Nͥ�3��>�PK�3�Zd�?��Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞8q+���tö��3��&vd�@�Ƃ#q�"A*�`��h~OO��|�Xoߦ��P��w
��FN�np��S2w-l7�=���D��Y^qQ�Mi~�<jK����r��0a�i�����=qQ���%���p��?Do̠i��i"���W��%`=%?��/�*2�c�`O�i��+�5	��L-��H���;_�4���1�~F]��T�b��)�|�Ӳ�PC$YKYjј�&.j��/6_PK�3�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�3�Z}�3_xl/sharedStrings.xml �(�}�QK�0ǿJȻ�6ED��s6_6�D0�gH.5w�7SPha���s����g���������ul��|:<\�HAl��>"��$Ų*�X�V�Rv����Tw,����-�`9����'�
u�^�f�:X�R�q@�cR��0 �pU����\�T��`iLm�1[oMl&tC&���<���/e{cژ���Ʀ�Ɛl�=�U��+�������8
����2�{�9��ZBr��:�������,����5xR��Q{������I��Y}PK-�3�Z�%u��5xl/workbook.xmlPK-�3�Z����	��[Content_Types].xmlPK-
�3�Z��5''U_rels/.relsPK-�3�Zv�+��xl/worksheets/sheet1.xmlPK-�3�Zd�?��P�xl/_rels/workbook.xml.relsPK-�3�ZЃc'2E
;xl/styles.xmlPK-�3�Z}�3_�xl/sharedStrings.xmlPK�