PUT api/store/{id}/cashManagement/{CashManagementID}
Saves/updates the Cash Management settings
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Store ID |
integer |
Required |
| CashManagementID |
The ID of the CashManagement that will be saved/updated |
integer |
Required |
Body Parameters
The CashManagement object the will be saved/update
CashManagement| Name | 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 \2�\����� 5 xl/workbook.xml � (� ���� ��&���
�Оz����Z�BZ�L}|��6��mgv�ۑ�����|l�b
�S�s�b��B<�ݸk|��F^�7�����ۢK�e��d����.�X�*j�d�e�8Z�w�ȩ���g9k��$l �ߔ�a�Ŭ��� %�sS=Rr3�+��Bp��'%��L��w�PK \2�\���� � [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
\2�\�:�K' ' _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="R5c833cc8f1be4afd" /></Relationships>PK \2�\��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 \2�\>x�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞ر��Au�a�m��3��&vd����G�
XE�Tb�������4�����9c��w
ʂAg|ӻN�)�+�n�{t���S$y�E6���h,�:~B�;��N9
��9�)glA�Lr�L��o���7�]�L_}8F���t�0)�)Ez
e��@v���J�JJ!�yѲ�
z7��.�_��|&�kΫ��5J!w��:`�B���i^����bYJ^1Q�Rj~U�7��PK \2�\Ѓ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 \2�\�/�� � 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- \2�\����� 5 xl/workbook.xmlPK- \2�\���� � [Content_Types].xmlPK-
\2�\�:�K' ' V _rels/.relsPK- \2�\��4 � � xl/worksheets/sheet1.xmlPK- \2�\>x�� P . xl/_rels/workbook.xml.relsPK- \2�\Ѓc'2 E
u xl/styles.xmlPK- \2�\�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK \2�\=�9V� 5 xl/workbook.xml � (� ����0D�&�C����� '.^=x_�VhK��|K $��ξ�b2�o���G
�嶤��cΘ�*p3�;a��}1#��X�V�=;%ɕY�K�]'GG�?,7Z��u�^
J�Դ��)�fO���2k��$l ��Ta�ETD������ے)���C��&��My���F7�+����PK \2�\���� � [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
\2�\�~��' ' _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="R10e46902137e4b4b" /></Relationships>PK \2�\��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 \2�\-�3� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;qHI�
�n)�8�8"�#��r�.z�^��� u�
�����4����ٽ����55,�i��t5��z*a��h�'��'���5��5�^j�'v";ʺCL]�'�'�gi��n{&;^'��*�K�[yɄ?��պ��D�]G����緰H"�s[�A�US-e�
وV����|�����LU䔖 �P(����} .^z�4/��ѫl2\�b�����b�PK \2�\Ѓ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 \2�\�/�� � 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- \2�\=�9V� 5 xl/workbook.xmlPK- \2�\���� � [Content_Types].xmlPK-
\2�\�~��' ' V _rels/.relsPK- \2�\��4 � � xl/worksheets/sheet1.xmlPK- \2�\-�3� P . xl/_rels/workbook.xml.relsPK- \2�\Ѓc'2 E
t xl/styles.xmlPK- \2�\�/�� � � xl/sharedStrings.xmlPK � �