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
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 C3�\~
�$� 5 xl/workbook.xml � (� ����0��J}�(���@��ҵCwNA�����R�n���Ck�@>jԮ��Oc����̄:츱
|������to�ڳ���2�#xi�rrt���r�E�@�j\Q
����@H�4{J�]����.&ak�����/�"V��D��W�B�-dy
<����dY�@Gw�+����PK C3�\���� � [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
C3�\��9Z' ' _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="Rb5b447482f964b0f" /></Relationships>PK C3�\��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 C3�\O���� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8&Դ�nؖ^`p�q�Ďl�г��H\�H�J,�t5��ӓf>�?V��id'�ap�����*�
�o��]
��jG#�4�0�Vlh��8?r�� C�f�����0���|Fu��x��%�K\3��<��N�A�֩�D6����!����{�-����%*����]S�.���^V����x)�z}�Q+ćF�9i�EyS�����ӥ�N��B�Tו��BbU]���_�� PK C3�\Ѓ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 C3�\�/�� � 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- C3�\~
�$� 5 xl/workbook.xmlPK- C3�\���� � [Content_Types].xmlPK-
C3�\��9Z' ' V _rels/.relsPK- C3�\��4 � � xl/worksheets/sheet1.xmlPK- C3�\O���� P . xl/_rels/workbook.xml.relsPK- C3�\Ѓc'2 E
t xl/styles.xmlPK- C3�\�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK C3�\_�)� 5 xl/workbook.xml � (� ����0��&�C����B
'.^=x�e�
�'m
>�P�7o;���������KWa�- �\�b�`,�i��X��{�u�Cc�[�$K�3q0� ��BZ��?,o�������Ը���s����G9k��Dd �����"*���
7,0��sk+�b�J9
�4O8�d�sZ��c�㍽�(Y�_PK C3�\���� � [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
C3�\P��;' ' _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="Rabf9cdf646ef434e" /></Relationships>PK C3�\��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 C3�\s��� P xl/_rels/workbook.xml.rels � (� ��;N1@�bM�z�O'
m�l��Gٵ-�r6
������&�h~OO��|���ߖ������$�Z�n��s����E�~��'qE{cvC�W#.�'Ƣ��E����Z�Nb@��iEݚ�Lr�X������Ѩ�:���Ɲ����0p�)yz
Y�@�:���J�ySemW-B���eF�����d���j��Y)����(v���K����Z^���s!PVe�������PK C3�\Ѓ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 C3�\�/�� � 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- C3�\_�)� 5 xl/workbook.xmlPK- C3�\���� � [Content_Types].xmlPK-
C3�\P��;' ' V _rels/.relsPK- C3�\��4 � � xl/worksheets/sheet1.xmlPK- C3�\s��� P . xl/_rels/workbook.xml.relsPK- C3�\Ѓc'2 E
u xl/styles.xmlPK- C3�\�/�� � � xl/sharedStrings.xmlPK � �