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,
"config": "sample string 10"
}
}
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:Config>sample string 10</d2p1:Config>
<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 '��\�� 5 xl/workbook.xml � (� ����0D�&�C��@�)��x��}-[i�-ik��-H�yۙ�};|��Zۓ��/]E�ƒ1/:��OvDw�:
!J�bVJ%�����%Ʌ9 (k|�FOW�?,?:��w�A+J�2�>�s����/2[��$l
��_`���m %�sk+�R�J�{& �����9os��wg���PK '��\���� � [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
'��\���' ' _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="R04ecad3266a740db" /></Relationships>PK '��\��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 '��\a��x� P xl/_rels/workbook.xml.rels � (� ��An� E��f_�]7�Q�l��6�&x���`I��u�#�
E����n�B���f�|�Xmަ�������L #�l;���S�l֫��
��g��
�!�Kν�iB�ٙL�h�&�t�Q�#^��.e�-��/3��h�=[u�Ȅ?��պ���=��B?���G�E*�m���P����º*e+���p��z]�TF��De)��2=:j_���N��8QSOXX��*�p����/PK '��\Ѓ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 '��\�/�� � 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- '��\�� 5 xl/workbook.xmlPK- '��\���� � � [Content_Types].xmlPK-
'��\���' ' U _rels/.relsPK- '��\��4 � � xl/worksheets/sheet1.xmlPK- '��\a��x� P - xl/_rels/workbook.xml.relsPK- '��\Ѓc'2 E
r xl/styles.xmlPK- '��\�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK '��\8� 5 xl/workbook.xml � (� ����0��J}�(Є�
L,];t7�4$AI*��� ��u�ϟ/��jk;�ѽ�+�a��D
�`4Ӯ�NC��{1۶���6o�&�#�W氇���R
�.�X~p�KĠ��AZ�w��s����G9k��$l ��Ta�ETĀƂV����EAJ\���q�
qi�$�p��7X����PK '��\���� � [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
'��\z�r' ' _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="R2c8a49d0344c4886" /></Relationships>PK '��\��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 '��\9��[� P xl/_rels/workbook.xml.rels � (� ��Mn� F������v�M7ݦ� ?��b��m��E��+�RK�.��
�7��F����f�6O�B�㸮(F�ף8>%s���v��I�|#�q�(?q�c�Ҳ&$*���_���a)�a �PG1 ��tEB���Lt8/��7fT���i�� �W��$�"�8��"�u��=i��-��Fֽf��㓛��t� �z}ׅ4�Tm��$뙼���s
yӥSj�0�)tLu5[ ������PK '��\Ѓ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 '��\�/�� � 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- '��\8� 5 xl/workbook.xmlPK- '��\���� � � [Content_Types].xmlPK-
'��\z�r' ' U _rels/.relsPK- '��\��4 � � xl/worksheets/sheet1.xmlPK- '��\9��[� P - xl/_rels/workbook.xml.relsPK- '��\Ѓc'2 E
t xl/styles.xmlPK- '��\�/�� � � xl/sharedStrings.xmlPK � �