GET api/cardGroup/{id}
Load a card group from ID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Card Group ID |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Card group object
CardGroup| Name | Description | Type | Additional 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,
"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,
"isProvider": true,
"cardGroupName": "sample string 6"
},
{
"$ref": "2"
}
]
}
application/xml, text/xml
Sample:
<CardGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Sales">
<AccountingCategoryID>5</AccountingCategoryID>
<Cards>
<Card>
<AccountingCategoryID>4</AccountingCategoryID>
<CardGroupID>1</CardGroupID>
<CardGroupName>sample string 6</CardGroupName>
<GLCode>sample string 3</GLCode>
<ID>1</ID>
<IsProvider>true</IsProvider>
<Name>sample string 2</Name>
</Card>
<Card>
<AccountingCategoryID>4</AccountingCategoryID>
<CardGroupID>1</CardGroupID>
<CardGroupName>sample string 6</CardGroupName>
<GLCode>sample string 3</GLCode>
<ID>1</ID>
<IsProvider>true</IsProvider>
<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>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK ���\����� 5 xl/workbook.xml � (� ����0��&�C��(�G
'.^=xoa�
�'m
>��Do�vfg�:7pc�V���������V�b~g,��S,D���l�1�K��e'�`dA텴/�X�:`� A�J1�q�� D�f �O2ߺ���"�)�`�ERH3nX`%��Ux��+e�]�_�9�_xq,2��W%���PK ���\���� � [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
���\��' ' _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="R721e83a36a3d4f56" /></Relationships>PK ���\���� ' xl/worksheets/sheet1.xml � (� ��Mo�0��
�}��KT��t�M;tg&��l'���F�����y��϶�<�w�saB6�OvpX_��)8��[�d��M)G�܉�J�vʢf].]~b��Wq��Jw��j
��Źc���
��J%��$�T�jɓ`yi�еS�.oz�%e����w�R�w/80K�ڰA^��1�_�����2ȰЂf�_�)Y��[��?Xs��^$j����<���8]�n�CS�:��}Mg�x�g���ٓGf�,�ݐ"a?�($�}o��/����_����O�s��F1!1��п��,>AnSc�(��~8�������C���Ӈ���*��G�ߺ��z�Mi��s�O�%C ���L<�^�m����Mxk��&�5q� �&^l"X��/��g~2;7r=�^�In�&�Mě�6�7[p���6�
oRëP���� sF�[/� PK ���\S���� P xl/_rels/workbook.xml.rels � (� ��An� E������v�M7ݦ� ��X�i��u�#�
E����n�B���h�|���ޖ�@������tj�#ǧ��:��n�0��oD3���96)�B�4��X96w��H�#�B�dE隄�����p����z����i�� �W�� $�"��8��"�u��=)��J���`h���,�On��y����]2�liK�Jiݱu3�Tƈ �9���ҩ������=U}��F����PK ���\Ѓc'2 E
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_ xl/sharedStrings.xml � (� }�QK�0ǿJȻ�6ED��s6_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- ���\����� 5 xl/workbook.xmlPK- ���\���� � [Content_Types].xmlPK-
���\��' ' V _rels/.relsPK- ���\���� ' � xl/worksheets/sheet1.xmlPK- ���\S���� P � xl/_rels/workbook.xml.relsPK- ���\Ѓc'2 E
% xl/styles.xmlPK- ���\}�3_ � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK ���\?۹� 5 xl/workbook.xml � (� ����0��J}�(�@��X�v�n�)�GI*��
A u��;�?_�h;uZO�#g�J[��{S2����ETa7h+�i_L���j���<�&I�,��Vn�э���л��yCI�6�!���)pqQc����m!���"츈�(�X�<P�{_Ӕ[�0<�[�� ]�q��$���Ul��|PK ���\���� � [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
���\�!�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="R0838446ae63842eb" /></Relationships>PK ���\���� ' xl/worksheets/sheet1.xml � (� ��Mo�0��
�}��KT��t�M;tg&��l'���F�����y��϶�<�w�saB6�OvpX_��)8��[�d��M)G�܉�J�vʢf].]~b��Wq��Jw��j
��Źc���
��J%��$�T�jɓ`yi�еS�.oz�%e����w�R�w/80K�ڰA^��1�_�����2ȰЂf�_�)Y��[��?Xs��^$j����<���8]�n�CS�:��}Mg�x�g���ٓGf�,�ݐ"a?�($�}o��/����_����O�s��F1!1��п��,>AnSc�(��~8�������C���Ӈ���*��G�ߺ��z�Mi��s�O�%C ���L<�^�m����Mxk��&�5q� �&^l"X��/��g~2;7r=�^�In�&�Mě�6�7[p���6�
oRëP���� sF�[/� PK ���\<PQR� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞ة���ݰa[z�'Q۲]�gc���V� �X��j4��'�|�lvo�D^0���ʂA�]7ھ�S2wk�m7{�T�q}$y������Q8�X8�6w��J9
=�JU�tŘ�aɀk&9�=���5>:}�Ѧ?��Յc��
=�~J�^BYd*������$r�Z�5�� �fj1�'��^��B�nר�QL2)ꪾ�̠v�)�K/����=�Zn�\���xQ�W��PK ���\Ѓc'2 E
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_ xl/sharedStrings.xml � (� }�QK�0ǿJȻ�6ED��s6_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- ���\?۹� 5 xl/workbook.xmlPK- ���\���� � � [Content_Types].xmlPK-
���\�!�5' ' U _rels/.relsPK- ���\���� ' � xl/worksheets/sheet1.xmlPK- ���\<PQR� P � xl/_rels/workbook.xml.relsPK- ���\Ѓc'2 E
# xl/styles.xmlPK- ���\}�3_ � xl/sharedStrings.xmlPK � �