POST api/store/{id}/cashManagement
Saves/updates the Cash Management settings
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Store ID |
integer |
Required |
Body Parameters
The CashManagement object the will be saved/update
CashManagementName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
StoreID |
Store identifier |
integer |
None. |
CashManagementType |
Cash Management provider configured |
CashManagementType |
None. |
ApiID |
ID for the API details |
integer |
None. |
OrganisationID |
The Organisation ID as supplied by Cash Management system |
string |
None. |
SiteName |
The Site Name / Store name as supplied by Cash Management system |
string |
None. |
ThirdPartyAPI | ThirdPartyAPI |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "storeID": 1, "cashManagementType": 2, "apiID": 1, "organisationID": "sample string 3", "siteName": "sample string 4", "thirdPartyAPI": { "$id": "2", "id": 1, "description": "sample string 2", "address": "sample string 3", "username": "sample string 4", "password": "sample string 5", "passwordPlain": "sample string 6", "token": "sample string 7", "apiType": 8, "apiSubType": 9 } }
application/xml, text/xml
Sample:
<CashManagement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Stores"> <ApiID>1</ApiID> <CashManagementType>2</CashManagementType> <ID>1</ID> <OrganisationID>sample string 3</OrganisationID> <SiteName>sample string 4</SiteName> <StoreID>1</StoreID> <ThirdPartyAPI xmlns:d2p1="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.ThirdPartyAPIs"> <d2p1:APISubType>9</d2p1:APISubType> <d2p1:APIType>8</d2p1:APIType> <d2p1:Address>sample string 3</d2p1:Address> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:ID>1</d2p1:ID> <d2p1:Password>sample string 5</d2p1:Password> <d2p1:PasswordPlain>sample string 6</d2p1:PasswordPlain> <d2p1:Token>sample string 7</d2p1:Token> <d2p1:Username>sample string 4</d2p1:Username> </ThirdPartyAPI> </CashManagement>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK 6:�Z�Om�� 5 xl/workbook.xml � (� ����0��&�C���`p��Ճ�Z�H����[J ��mgv��if�_k_�'j�b�� B���d����<&�Ď��[��`"9Sʈ��GeM�����a�AD=�(͕���P�4�+�C����.&"k�����/�B�khq�#�(;ס�F�Vi�ъ���U!DY^w�k����PK 6:�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 6:�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="Ra8bfd5cabdae41fe" /></Relationships>PK 6:�Z��4 � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j�U���n�ۙ%N@ 82����6M�e������<��Ȯ@��ox��8�bg���9�w����t ��aO 71N{!Bk��� |z둜�)�A`��N��|۪� �Q�T*;���G+L�+ܸJ9m=W��I=�g}Ï5gBɂ|���_1�m|"^r��5�*X�|.�_�u��y�o�<�LLz(��Pv�l�gN�ʹ�.��?m��j�M�v��z��+��:騕$\�礚��G����Z�kf���ߎW�Is:#F����W�PK 6:�Z��;�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�.����ݰa[z��Q;�]�gc���V� �X��j4��'�|���o�@^0�>�xŀ����k��]��z���e"�~J���Ԃ�yz�4i��JU�З� qT������G�!]0&i�3�I�� �C���>���`��19�d�b����R����B�dZر�����Z�Z �fj)�L�^��Lfi�5����n��8�<�X.=w��gj\)��D�m�E�^���PK 6:�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 6:�Z�/�� � xl/sharedStrings.xml � (� 5�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- 6:�Z�Om�� 5 xl/workbook.xmlPK- 6:�Z���� � [Content_Types].xmlPK- 6:�Z-c' ' V _rels/.relsPK- 6:�Z��4 � � xl/worksheets/sheet1.xmlPK- 6:�Z��;�� P . xl/_rels/workbook.xml.relsPK- 6:�ZЃc'2 E t xl/styles.xmlPK- 6:�Z�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK 6:�Z��O˶ 5 xl/workbook.xml � (� ����0��&�C��Z ")��x��}�E�O�||o�vfg�1�?���G �箠]6g��*�cQ�]k���{1Ӷ����o�:0~<��� A�;i=]h���u�����i��"�f���e4ֺ�I�b�)1ö�Y ZA Jf���D��e���Ǧ� O.�ҍ��[�_PK 6:�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 6:�Z�Ýw' ' _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="Rece541515c6f49d7" /></Relationships>PK 6:�Z��4 � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j�U���n�ۙ%N@ 82����6M�e������<��Ȯ@��ox��8�bg���9�w����t ��aO 71N{!Bk��� |z둜�)�A`��N��|۪� �Q�T*;���G+L�+ܸJ9m=W��I=�g}Ï5gBɂ|���_1�m|"^r��5�*X�|.�_�u��y�o�<�LLz(��Pv�l�gN�ʹ�.��?m��j�M�v��z��+��:騕$\�礚��G����Z�kf���ߎW�Is:#F����W�PK 6:�Z��@� P xl/_rels/workbook.xml.rels � (� ��Mn�0F�b;�O ɦ�l�\`0c@�NӜ���W��H-���&+k����f����ٽM#{%��kH�ii�Aw5��z*a��hDn�~�O����~^s�dO��̤CG;������q��K�3��:��F�Aҳ�牴��/ƞ\O��v�k���>�(P���%�U)�U"ي `�aj�_Gr�^�z!S`*'�<kD�P�-�/ކM/���B��jrL%�*��mN��_l� PK 6:�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 6:�Z�/�� � xl/sharedStrings.xml � (� 5�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- 6:�Z��O˶ 5 xl/workbook.xmlPK- 6:�Z���� � � [Content_Types].xmlPK- 6:�Z�Ýw' ' U _rels/.relsPK- 6:�Z��4 � � xl/worksheets/sheet1.xmlPK- 6:�Z��@� P - xl/_rels/workbook.xml.relsPK- 6:�ZЃc'2 E u xl/styles.xmlPK- 6:�Z�/�� � � xl/sharedStrings.xmlPK � �