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 l7�Zs�Wk� 5 xl/workbook.xml � (� ��;�0D{$�`� BP�JCKA��kb%��6 �'%�������ӹ�|Loc*ڦ�KƢh�@<8�v�)�Q�sJi��o�6��x,X��v6��G���aEdl���mi��§f�C��h�u'��%�~S|�m�"V�����MV�DI(�8�1PY��9ˋLЍ��8[�_PK l7�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 l7�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="Rc6e6423433bc4ee5" /></Relationships>PK l7�Z���� ' 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 l7�Z �� P xl/_rels/workbook.xml.rels � (� ��;n�0@�"p�e;�lq�d���D�Flɐ��9[��W���t蒉������c�}�F�J>ζPd90����v-��y�a�Y�iĘ&B?́�Z�c��9�� C�f��c��0��w|Fux���%��x��?Dg̠h��y"� �7�O�'����;�-����"KT`/��= DSi��U)d��x)�z}��UQ�u�T(�Q�2=z҇�ӥ�N��B��B�XU��R�inj��/6_PK l7�ZЃ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 l7�Z}�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- l7�Zs�Wk� 5 xl/workbook.xmlPK- l7�Z���� � � [Content_Types].xmlPK- l7�Z�<߳' ' U _rels/.relsPK- l7�Z���� ' � xl/worksheets/sheet1.xmlPK- l7�Z �� P � xl/_rels/workbook.xml.relsPK- l7�ZЃc'2 E " xl/styles.xmlPK- l7�Z}�3_ � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK l7�Zl�K8� 5 xl/workbook.xml � (� ����0��&�C��@ N\�z4П�5��$���~;�d��4f 5j_���!ؒ1�{T�OƢ�;a���{1#����V�˒�`G�h�K��J���C�|�Ը�HM�ぐjn��8�EFc�;���!����~�(�AaM[@��ܺ����R��~)�,Ɂ����"G��wXŶ��PK l7�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 l7�ZVI��' ' _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="R602d8bc4acdc4085" /></Relationships>PK l7�Z���� ' 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 l7�Zx��v� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8n���ݰa[z��Q۲]�gc���V� �X��j4��'�|�lvo�D^0���XQA+����)�v��'��D4��$��I�?P��Y��y���]�E�i��(�UY�4,p�$�����֣�G'O3�����p�19�0`���%�"S�<��M����j�#z3����_��|!��5c}#�F����P=��/�tZ�j���c�k^kuQ�W��PK l7�ZЃ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 l7�Z}�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- l7�Zl�K8� 5 xl/workbook.xmlPK- l7�Z���� � � [Content_Types].xmlPK- l7�ZVI��' ' U _rels/.relsPK- l7�Z���� ' � xl/worksheets/sheet1.xmlPK- l7�Zx��v� P � xl/_rels/workbook.xml.relsPK- l7�ZЃc'2 E # xl/styles.xmlPK- l7�Z}�3_ � xl/sharedStrings.xmlPK � �