POST api/cashBalancing/{id}/banking
Save the banking summary and accounts, and return the accounts total for variance comparison
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Cash balancing header identifier |
globally unique identifier |
Required |
Body Parameters
Cash Balancing Banking summary model, containing banking and accounts
CashBalancingBankingSummaryName | Description | Type | Additional information |
---|---|---|---|
Banking |
Banking summary record |
CashBalancingBanking |
None. |
Accounts |
Banking Account information |
Collection of CashBalancingBankingAccount |
None. |
Request Formats
application/json, text/json
Sample:
{ "banking": { "$id": "2", "id": 1, "headerIdentifier": "/PNwKUjXfUaiQhy+2Da00w==", "headerIdentifierGuid": "2970f3fc-d748-467d-a242-1cbed836b4d3", "bankName": "sample string 3", "expectedCash": 4, "cashDeclared": 1, "expectedPickup": 5, "pickupDeclared": 1, "expectedCheque": 6, "chequeDeclared": 1 }, "accounts": [ { "$id": "3", "id": 1, "headerIdentifier": "iuMw1BvUw0ayzefhk7uy3g==", "headerIdentifierGuid": "d430e38a-d41b-46c3-b2cd-e7e193bbb2de", "storeAccountID": 3, "cashDeclared": 4, "pickupDeclared": 5, "chequeDeclared": 6, "accountName": "sample string 7", "storeAccount": { "$id": "4", "id": 1, "storeID": 1, "accountName": "sample string 2", "bsb": "sample string 3", "accountNumber": "sample string 4", "accountDesignated": true } }, { "$ref": "3" } ] }
application/xml, text/xml
Sample:
<CashBalancingBankingSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Accounting"> <Accounts> <CashBalancingBankingAccount> <AccountName>sample string 7</AccountName> <CashDeclared>4</CashDeclared> <ChequeDeclared>6</ChequeDeclared> <HeaderIdentifier>iuMw1BvUw0ayzefhk7uy3g==</HeaderIdentifier> <HeaderIdentifierGuid>d430e38a-d41b-46c3-b2cd-e7e193bbb2de</HeaderIdentifierGuid> <ID>1</ID> <PickupDeclared>5</PickupDeclared> <StoreAccount xmlns:d4p1="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Stores"> <d4p1:AccountDesignated>true</d4p1:AccountDesignated> <d4p1:AccountName>sample string 2</d4p1:AccountName> <d4p1:AccountNumber>sample string 4</d4p1:AccountNumber> <d4p1:BSB>sample string 3</d4p1:BSB> <d4p1:ID>1</d4p1:ID> <d4p1:StoreID>1</d4p1:StoreID> </StoreAccount> <StoreAccountID>3</StoreAccountID> </CashBalancingBankingAccount> <CashBalancingBankingAccount> <AccountName>sample string 7</AccountName> <CashDeclared>4</CashDeclared> <ChequeDeclared>6</ChequeDeclared> <HeaderIdentifier>iuMw1BvUw0ayzefhk7uy3g==</HeaderIdentifier> <HeaderIdentifierGuid>d430e38a-d41b-46c3-b2cd-e7e193bbb2de</HeaderIdentifierGuid> <ID>1</ID> <PickupDeclared>5</PickupDeclared> <StoreAccount xmlns:d4p1="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Stores"> <d4p1:AccountDesignated>true</d4p1:AccountDesignated> <d4p1:AccountName>sample string 2</d4p1:AccountName> <d4p1:AccountNumber>sample string 4</d4p1:AccountNumber> <d4p1:BSB>sample string 3</d4p1:BSB> <d4p1:ID>1</d4p1:ID> <d4p1:StoreID>1</d4p1:StoreID> </StoreAccount> <StoreAccountID>3</StoreAccountID> </CashBalancingBankingAccount> </Accounts> <Banking> <BankName>sample string 3</BankName> <CashDeclared>1</CashDeclared> <ChequeDeclared>1</ChequeDeclared> <ExpectedCash>4</ExpectedCash> <ExpectedCheque>6</ExpectedCheque> <ExpectedPickup>5</ExpectedPickup> <HeaderIdentifier>/PNwKUjXfUaiQhy+2Da00w==</HeaderIdentifier> <HeaderIdentifierGuid>2970f3fc-d748-467d-a242-1cbed836b4d3</HeaderIdentifierGuid> <ID>1</ID> <PickupDeclared>1</PickupDeclared> </Banking> </CashBalancingBankingSummary>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Cash Balancing Banking Account total
CashBalancingBankingAccountTotalName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
HeaderIdentifier | Collection of byte |
None. |
|
HeaderIdentifierGuid | globally unique identifier |
None. |
|
CashDeclared | integer |
None. |
|
PickupDeclared | integer |
None. |
|
ChequeDeclared | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "headerIdentifier": "zVU9DLz+hUiSz6BNwS+MHA==", "headerIdentifierGuid": "0c3d55cd-febc-4885-92cf-a04dc12f8c1c", "cashDeclared": 3, "pickupDeclared": 4, "chequeDeclared": 5 }
application/xml, text/xml
Sample:
<CashBalancingBankingAccountTotal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Accounting"> <CashDeclared>3</CashDeclared> <ChequeDeclared>5</ChequeDeclared> <HeaderIdentifier>zVU9DLz+hUiSz6BNwS+MHA==</HeaderIdentifier> <HeaderIdentifierGuid>0c3d55cd-febc-4885-92cf-a04dc12f8c1c</HeaderIdentifierGuid> <ID>1</ID> <PickupDeclared>4</PickupDeclared> </CashBalancingBankingAccountTotal>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK 5 E[t���� 5 xl/workbook.xml � (� ����0��J}�(��*0 `b�ڡ�L�J~���_�[7�����Ʌ�ù���Rj>��K!H h�NΣ�w��,�S��� [��m�,+D��v�퉯�X�BGb4�2�-o�ƪ��]�DI��Vw1�XC�7U%�~��`��-D�,9�g�B���&�<�P�T�)���a��~7_PK 5 E[���� � [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 5 E[/1+�' ' _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="Rcdf59cb3056b4b03" /></Relationships>PK 5 E[$h�� � xl/worksheets/sheet1.xml � (� ��O�� ���ý"�ugw�����=[��JH_Dk�����@x�~����m���]���w�(��.���)�{!�UŹvީ�L@��� ��+�f�ޙ�R�6�f*�P�e��ȯ-�4ĞǠ�M��V��/ ������H��m3�j��i\Ԧ�pzG�2��p���il�5��b�I~�>L� �,w��n�]:/�k���+�ϕ6�D���F�O����N�}��.t���E�c���Ui��F��Ó�gQ7��Q���O�?�>s)C��(�Y��c�L>���~ �F�}:���7 Y�� ��؟M>[�G��=� C��p�~۫c��4��w�]6Շѳ*�a�4e�*�ԋ�mp'�eO�5�'�8� M�� �&N{��4��t��O�'�~��zl�kO�\���D˵m���6\�24�'!4����K&�PK 5 E[%�C�� P xl/_rels/workbook.xml.rels � (� ��Kn� @��f_cp?��M7٦� ���b�6g�G��R�%R�d5��ӓf>�?V��y"'qt�V�@�*�G۷pL��6��'��DFI^���!%�DiT�2VΣ���,SNCO�T�#]�uCCɀk&ٟ=���>;u�Ѧ?��ՅC��=�~J�^�2�V���B�F6Jp�����ZL� ��w^��A�d�Y����MeP���/]:��B�-x�(3�I.����PK 5 E[Ѓ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 5 E[��'Z� � xl/sharedStrings.xml � (� ��AK�0��JɽM[�R��]Խ �I<��tl������FD����o�4�;%��x"�E��6�ЊLJ� �rZM�a+V$�l����huԊ�y���`D�(�3�H��(�A�Pi�N���si�q"�8nE�X�y[���1�t w�]#�k�����K���`���,F���¤�aw^���G�5O���mv�2>=��tU�N|�tS�UzQ�|��(� ������PK- 5 E[t���� 5 xl/workbook.xmlPK- 5 E[���� � � [Content_Types].xmlPK- 5 E[/1+�' ' T _rels/.relsPK- 5 E[$h�� � � xl/worksheets/sheet1.xmlPK- 5 E[%�C�� P � xl/_rels/workbook.xml.relsPK- 5 E[Ѓc'2 E xl/styles.xmlPK- 5 E[��'Z� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK 5 E[�jÛ� 5 xl/workbook.xml � (� ����0D�&�C��H��x��}i�������Ϸ@ ��mgv��ԓ������7T�8V���@8�m�I� �$��9)5���AY�e%�8@����@W�?�0zb4Ê2�-m�B��C�����l���o�^`�Ţ�� � %�s =S�+���,� 2/�GQ\��;{��l��~PK 5 E[���� � [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 5 E[� ;�' ' _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="R017152bd0ed842bc" /></Relationships>PK 5 E[$h�� � xl/worksheets/sheet1.xml � (� ��O�� ���ý"�ugw�����=[��JH_Dk�����@x�~����m���]���w�(��.���)�{!�UŹvީ�L@��� ��+�f�ޙ�R�6�f*�P�e��ȯ-�4ĞǠ�M��V��/ ������H��m3�j��i\Ԧ�pzG�2��p���il�5��b�I~�>L� �,w��n�]:/�k���+�ϕ6�D���F�O����N�}��.t���E�c���Ui��F��Ó�gQ7��Q���O�?�>s)C��(�Y��c�L>���~ �F�}:���7 Y�� ��؟M>[�G��=� C��p�~۫c��4��w�]6Շѳ*�a�4e�*�ԋ�mp'�eO�5�'�8� M�� �&N{��4��t��O�'�~��zl�kO�\���D˵m���6\�24�'!4����K&�PK 5 E[f�8� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8��P�n�a[z��=��&vd�@�Ƃ#q�"A*�`��h~OO��|���ަ�����-Y��tj�}��m71��`�9��bC&���� M27�M���1���3����<_s�d�-�/3���$�<Od�`���)�숾���O)�k(�D��Z8h� �r�)QK��M-��H���;_����.�j%TU�UƠ'�}���iY^��uӭ�$t! �j��/�_PK 5 E[Ѓ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 5 E[��'Z� � xl/sharedStrings.xml � (� ��AK�0��JɽM[�R��]Խ �I<��tl������FD����o�4�;%��x"�E��6�ЊLJ� �rZM�a+V$�l����huԊ�y���`D�(�3�H��(�A�Pi�N���si�q"�8nE�X�y[���1�t w�]#�k�����K���`���,F���¤�aw^���G�5O���mv�2>=��tU�N|�tS�UzQ�|��(� ������PK- 5 E[�jÛ� 5 xl/workbook.xmlPK- 5 E[���� � � [Content_Types].xmlPK- 5 E[� ;�' ' U _rels/.relsPK- 5 E[$h�� � � xl/worksheets/sheet1.xmlPK- 5 E[f�8� P � xl/_rels/workbook.xml.relsPK- 5 E[Ѓc'2 E xl/styles.xmlPK- 5 E[��'Z� � � xl/sharedStrings.xmlPK � �