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": "gJZmLLikN0Cf/7vv/YV76w==", "headerIdentifierGuid": "2c669680-a4b8-4037-9fff-bbeffd857beb", "bankName": "sample string 3", "expectedCash": 4, "cashDeclared": 1, "expectedPickup": 5, "pickupDeclared": 1, "expectedCheque": 6, "chequeDeclared": 1 }, "accounts": [ { "$id": "3", "id": 1, "headerIdentifier": "6SXigHDlXkW+hhACyeNoNw==", "headerIdentifierGuid": "80e225e9-e570-455e-be86-1002c9e36837", "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>6SXigHDlXkW+hhACyeNoNw==</HeaderIdentifier> <HeaderIdentifierGuid>80e225e9-e570-455e-be86-1002c9e36837</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>6SXigHDlXkW+hhACyeNoNw==</HeaderIdentifier> <HeaderIdentifierGuid>80e225e9-e570-455e-be86-1002c9e36837</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>gJZmLLikN0Cf/7vv/YV76w==</HeaderIdentifier> <HeaderIdentifierGuid>2c669680-a4b8-4037-9fff-bbeffd857beb</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": "Mn/9rJlcM0KuxJ6LlHJU8Q==", "headerIdentifierGuid": "acfd7f32-5c99-4233-aec4-9e8b947254f1", "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>Mn/9rJlcM0KuxJ6LlHJU8Q==</HeaderIdentifier> <HeaderIdentifierGuid>acfd7f32-5c99-4233-aec4-9e8b947254f1</HeaderIdentifierGuid> <ID>1</ID> <PickupDeclared>4</PickupDeclared> </CashBalancingBankingAccountTotal>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK �[3V�+� 5 xl/workbook.xml � (� ����0��J}��� *!`b�ڡ{ �� ?JR��o�[7�����E���D>rV�� p�ME��9J�.ڠ �Q[�|��E�8�;ݿ%*O�$)�řy����8�h��������7�dBA{>R��e0���I����:���b�g@�sH��J��^X&�G�Y^\8������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 �[L�~H' ' _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="Rc22c6aa6e9af43fb" /></Relationships>PK �[^��/� � xl/worksheets/sheet1.xml � (� ��]�� ����}E�Ȩ;��ʹw�^t��bdV%$��/�5~�dz�@x�/'�<}��scRqѥ �pXW��w�\u�-OY���jƴc�Nd j�/UQ�6W���άUB��6Sy���x�������{^ %krm�R5�(0V��Z�"Y^�#��X��y����pzG�*��p���Yb�ߜ�j1v�$��&?�x��;�d7�)��U��ѿD���s��%Q��Q��i�pu�i�O���R�)�]D� ��*-���g��=<yx�uc/$Q#J��<����g�]�i`���c�L:�o�~"�Ə}:���7���!"ԏ��~0��*>����aL��۷�:�:�)zG�eS}=��� 6=S�r˼�w"^�Z�{������۞ k�'�L@lN�����|q���lr�p�kY�h��Ͳ\ۦ��~��yf�$�f�vt~�dPK �[=�V� P xl/_rels/workbook.xml.rels � (� ��Mn� F��f_�1��*N6�t���?� ��9[=R�P�H-���&+4���������2�t~���<c@�(�'3�p ��=춛=�2�~�VO��[CX(�j�E�̮hb��n�!�n��TG9 �Uԥ�f��y��m�O �:-h�`�j�я��A�C?���G�E*�'�¾�X1�:%e]�7S��<����ԉ�E!D]4k�����(����S�4Nհ+��U�TJ��2'z�/�_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 �[t-l�� � xl/sharedStrings.xml � (� ��AK�0��JȽM��[i�`uo�z1�n�MR3S��ވ���x|�͛��z�aG��w _�g�����p�l9C�N��;h��ٮ��E�ÆDӥ��S?�����J�2N����(�,�VǙnjٙ��L[S{�ׂ�Z|���m����� ����l��N'qe�?�Ψ�y:G�b�s�~A�^-OϧP�^o�"O֪��2/�D�*� �/U���e�������PK- �[3V�+� 5 xl/workbook.xmlPK- �[���� � � [Content_Types].xmlPK- �[L�~H' ' U _rels/.relsPK- �[^��/� � � xl/worksheets/sheet1.xmlPK- �[=�V� P � xl/_rels/workbook.xml.relsPK- �[Ѓc'2 E xl/styles.xmlPK- �[t-l�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK �[ K�]� 5 xl/workbook.xml � (� ����0D�&�C�p�R8q�����4Ж�5��B $��ξ1�W����2����1puG �Ɍ��]k�B?K�Ӷ����oE�CEW�4��F�N����Xn���눼V�B�yq<0&�fOI�r6����` �oJ�~Ө(�%z�,8�&�1g6���H�7¤N���/�F|g�0���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 �[��f' ' _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="R3776ec4d98f34664" /></Relationships>PK �[^��/� � xl/worksheets/sheet1.xml � (� ��]�� ����}E�Ȩ;��ʹw�^t��bdV%$��/�5~�dz�@x�/'�<}��scRqѥ �pXW��w�\u�-OY���jƴc�Nd j�/UQ�6W���άUB��6Sy���x�������{^ %krm�R5�(0V��Z�"Y^�#��X��y����pzG�*��p���Yb�ߜ�j1v�$��&?�x��;�d7�)��U��ѿD���s��%Q��Q��i�pu�i�O���R�)�]D� ��*-���g��=<yx�uc/$Q#J��<����g�]�i`���c�L:�o�~"�Ə}:���7���!"ԏ��~0��*>����aL��۷�:�:�)zG�eS}=��� 6=S�r˼�w"^�Z�{������۞ k�'�L@lN�����|q���lr�p�kY�h��Ͳ\ۦ��~��yf�$�f�vt~�dPK �[�!�� P xl/_rels/workbook.xml.rels � (� ��An� E����`l���M7ݦ���Ɗ ��9[=R�P�J-���&+4�鍆�����m���0:�Ҳ��UN�vh�)�w �m7{� ���K � -51.�ep�P�m����S���:Lp~�|Π�Lr8/����Q�S�m��^�?�)9�0��' �r�E�R�[�U� �Ԣ+k�i|v3���_��:��U�4+�֍�n*c��~�>m:w��Lm��a-eU�k}QcW�b�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 �[t-l�� � xl/sharedStrings.xml � (� ��AK�0��JȽM��[i�`uo�z1�n�MR3S��ވ���x|�͛��z�aG��w _�g�����p�l9C�N��;h��ٮ��E�ÆDӥ��S?�����J�2N����(�,�VǙnjٙ��L[S{�ׂ�Z|���m����� ����l��N'qe�?�Ψ�y:G�b�s�~A�^-OϧP�^o�"O֪��2/�D�*� �/U���e�������PK- �[ K�]� 5 xl/workbook.xmlPK- �[���� � � [Content_Types].xmlPK- �[��f' ' U _rels/.relsPK- �[^��/� � � xl/worksheets/sheet1.xmlPK- �[�!�� P � xl/_rels/workbook.xml.relsPK- �[Ѓc'2 E xl/styles.xmlPK- �[t-l�� � � xl/sharedStrings.xmlPK � �