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
CardGroupName | 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, "cardGroupName": "sample string 5" }, { "$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 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>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK C�[�)� 5 xl/workbook.xml � (� ����0��&�C��� � '.^=x_��6Ж�5���H�yۙ��v�Ѻ�imG>�7�p�!c�K��Ov@3�u�$Y!���FX|>_�����K5x���a��!�^"ݯ( ���x ���=�~���՝M���M�l�X1��� �dqnmE#J\��឵�"x�&��I��tgﰒm��/PK C�[���� � [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 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="Rb9462273b5ec4075" /></Relationships>PK C�[���� ' 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 C�[��ߊ� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞� v����tö��=N�&vd����G� XE�Tb�������4����M#9��� ��V9=خ�S4l7�=�2���s iņ��'J��q�!s3��1�O2��wt��(;�c+��e��e���1�S� m�L_�?�19H�al��5�Y�y� �Km���e͋Z �wS�2b����2L�R��m��J���ң~�>]z�,/Ԫ��F䵬P�b�W5z��/PK C�[Ѓ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 C�[}�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- C�[�)� 5 xl/workbook.xmlPK- C�[���� � [Content_Types].xmlPK- C�[:���' ' V _rels/.relsPK- C�[���� ' � xl/worksheets/sheet1.xmlPK- C�[��ߊ� P � xl/_rels/workbook.xml.relsPK- C�[Ѓc'2 E % xl/styles.xmlPK- C�[}�3_ � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK C�[7�N� 5 xl/workbook.xml � (� ����0D�&�C���D� '.^=x_�bhK��|K $��ξ�r2�ӓ��+lE��c�����Q�]g��}1�u�cc�[���$gfq /�vB��.�Xn���^ J�Դ��)�f���2k��$l ��Ta�ETD�6����ڊ���B��cʳ�r�s��) ����J����PK C�[���� � [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 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="Rb89ec4f71c8e45b5" /></Relationships>PK C�[���� ' 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 C�[���K� P xl/_rels/workbook.xml.rels � (� ��An� E��f_M�*N6�d��Ɗ Hڜ���W(j�֑��&+43������e�C�m�Z��� ����`�Y�q�)߈f��'66`R��Fep��pm�h&�rz�:�i�ؒ�9���p����zP���iB�� �g�� & zL ��"�<x��@v]� �bUW�Tb�8z3��.#�_��z&Ø��^j�-�z��T�Ȁ�S y�s�y{���+^��}+�Ή^���PK C�[Ѓ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 C�[}�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- C�[7�N� 5 xl/workbook.xmlPK- C�[���� � � [Content_Types].xmlPK- C�[�!��' ' U _rels/.relsPK- C�[���� ' � xl/worksheets/sheet1.xmlPK- C�[���K� P � xl/_rels/workbook.xml.relsPK- C�[Ѓc'2 E # xl/styles.xmlPK- C�[}�3_ � xl/sharedStrings.xmlPK � �