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 �1�\$F�'� 5 xl/workbook.xml � (� ����0��&�C��h#)��x�བ�m�?ik��-%�x�3;������i�>z4��
�1����%hցI;a�f1I�"Vš����Dr*��xYT��\��VpX$@���L��wѹ�C��L�Zw6YB�7E3l��
��������1�J�B�J����xco0J���PK �1�\���� � [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
�1�\���' ' _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="R86da6fee5b5c46df" /></Relationships>PK �1�\���� ' 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 �1�\
�̢� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8I����ݰa[z��=N�&�e�@�Ƃ#q�"A*�`��h~OO��|����扽P���TE ��rz�}�d�Z�m7{�0�8�>��bcCJ����1Γ��)����{�uYJ��f�����ΘQѣS��l��_]8Ɓ(;`�)u�S���"S�=��J4��1Ҕ�P�k`�fj1�'��^��R�ET5��B`���̀��s
��K�ey�Fu#�$Y�F�5~��/PK �1�\Ѓ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 �1�\}�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- �1�\$F�'� 5 xl/workbook.xmlPK- �1�\���� � � [Content_Types].xmlPK-
�1�\���' ' U _rels/.relsPK- �1�\���� ' � xl/worksheets/sheet1.xmlPK- �1�\
�̢� P � xl/_rels/workbook.xml.relsPK- �1�\Ѓc'2 E
! xl/styles.xmlPK- �1�\}�3_ � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK �1�\V{�I� 5 xl/workbook.xml � (� ����0D�&�C��b
)��x��}�[�@[����[ �x�3;�v��|�8ב��m(|IU�C�Xh7�M;鼁��1'�n�v�۠��t<��cQ;�]h����DP���ʀ�����S���1�2k��$l ���a�Ŭ��%�!%�s%�(�N�C6R���6�3\ntco0����PK �1�\���� � [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
�1�\I1N3' ' _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="R699e57d5d46d4a44" /></Relationships>PK �1�\���� ' 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 �1�\���� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞خ�4��ݰa[z��=N�&vd�@�Ƃ#q�"A*�`��h~OO��|���ަ��P��w
�B #��\��)ٻv�͞FLy"��Y^q��>����{�0~&�;և SNC�g�G숯��xX2����C����>M��`���1�D �CG���R� �L�d���c�j�%*,k`�fj1�G��^��B��T�J�X�ʮn+�c �B���iY^��ҪVZi��(a�E�_���PK �1�\Ѓ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 �1�\}�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- �1�\V{�I� 5 xl/workbook.xmlPK- �1�\���� � � [Content_Types].xmlPK-
�1�\I1N3' ' U _rels/.relsPK- �1�\���� ' � xl/worksheets/sheet1.xmlPK- �1�\���� P � xl/_rels/workbook.xml.relsPK- �1�\Ѓc'2 E
" xl/styles.xmlPK- �1�\}�3_ � xl/sharedStrings.xmlPK � �