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
CashBalancingBankingSummary| Name | 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": "DBGKIAIY+Uuo9GfmqGMqOA==",
"headerIdentifierGuid": "208a110c-1802-4bf9-a8f4-67e6a8632a38",
"bankName": "sample string 3",
"expectedCash": 4,
"cashDeclared": 1,
"expectedPickup": 5,
"pickupDeclared": 1,
"expectedCheque": 6,
"chequeDeclared": 1
},
"accounts": [
{
"$id": "3",
"id": 1,
"headerIdentifier": "JCqLQZKdhUqt7TUxtxCk1A==",
"headerIdentifierGuid": "418b2a24-9d92-4a85-aded-3531b710a4d4",
"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>JCqLQZKdhUqt7TUxtxCk1A==</HeaderIdentifier>
<HeaderIdentifierGuid>418b2a24-9d92-4a85-aded-3531b710a4d4</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>JCqLQZKdhUqt7TUxtxCk1A==</HeaderIdentifier>
<HeaderIdentifierGuid>418b2a24-9d92-4a85-aded-3531b710a4d4</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>DBGKIAIY+Uuo9GfmqGMqOA==</HeaderIdentifier>
<HeaderIdentifierGuid>208a110c-1802-4bf9-a8f4-67e6a8632a38</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
CashBalancingBankingAccountTotal| Name | 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": "EAAQuCzWQ0m8Jy3Ko7ltDg==",
"headerIdentifierGuid": "b8100010-d62c-4943-bc27-2dcaa3b96d0e",
"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>EAAQuCzWQ0m8Jy3Ko7ltDg==</HeaderIdentifier> <HeaderIdentifierGuid>b8100010-d62c-4943-bc27-2dcaa3b96d0e</HeaderIdentifierGuid> <ID>1</ID> <PickupDeclared>4</PickupDeclared> </CashBalancingBankingAccountTotal>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK ���\]��&� 5 xl/workbook.xml � (� ����0D�&�C����N\�z�^��6Ж�5��B $��ξ:Y����KWa�X���Ɏ`杰N�0K�"Vš�����&IA,(k�T��+����K�����2�>�K����G9[��Dd
�����"*d��
7,0��s�*|�ȕj��A����<�
��w%���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="R6e98b8988d1346c2" /></Relationships>PK ���\�RX�� � xl/worksheets/sheet1.xml � (� ��Ks�0F�
�}����$q<��E�� @I6���bO7�d�s�O�?}��s�RբK vpx����� ���[�Ҹ�CU�k��:�TZ_���m�\q�Y+�l3m��EY�9?����NC��%o2m�RU}Q`��?��E�Gh��T��H�6Շ�;�� xƇLc��y�cgH�G��a�H �,��'��O��̮��%��>W�\�N.e?���8m�i����U"S�C�W�E�>���٣G&��fn��f,�cߛ|o����Q�!�
y��I���=�JLB���&��}�F�� ��y����'�_���0 ��>o߶��,���i�M�a�l��6��L��-E1�
�D�� �&^�Y�=ᭉ�=A��iO���&��ӑ����/dW�����&ײ�6�rm�e��M������Iͥ����I�PK ���\��
�� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;1�
�&�n�\��1F�Nۜ���W��J-���&�����4����ٽ�yAFg[�3�r�h��Q?4��n8ɘ&��@Ҋ
-��GJ�28ː�m�h�gS��Hu�҂1A���Lr�,���zT�w�<�����`#����~J�^C�%*�����
�Rԕ*;^���Z�� ï�w���
��˺b��������ӥ�N��J��Pp!�P��y��j��/�_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 ���\c�`� � xl/sharedStrings.xml � (� ���N�0D��=��V�EI*�
�
8!��m,b;x7��=F!U=ξ���V�O7��h���"�����X����m��Iy����3 gۦB$��k���B���)��>�C�NQ��(p��� �QHY
���L��S�S�����N�����*AM%����>]��7��,�K�n��t�U��@*�?�`��4��m��9�8#��of���SحRʅ�LY�l�Y-�NWYa�R�nS ��|PK- ���\]��&� 5 xl/workbook.xmlPK- ���\���� � [Content_Types].xmlPK-
���\�}-' ' V _rels/.relsPK- ���\�RX�� � � xl/worksheets/sheet1.xmlPK- ���\��
�� P � xl/_rels/workbook.xml.relsPK- ���\Ѓc'2 E
xl/styles.xmlPK- ���\c�`� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK ���\B-;� 5 xl/workbook.xml � (� ����0��&�C���
)��x�བ�m�?ik��-%�x�3;������a��z2��-�1����%hցI;a�f1I�$Vš����DREM<L,*k�T.��+8l �iEi���;����`Y&�[w1YC�7E3l��
���=���\���F��&��+.��8�ı�{�Q���} 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
���\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="R9d8300b8601e4456" /></Relationships>PK ���\�RX�� � xl/worksheets/sheet1.xml � (� ��Ks�0F�
�}����$q<��E�� @I6���bO7�d�s�O�?}��s�RբK vpx����� ���[�Ҹ�CU�k��:�TZ_���m�\q�Y+�l3m��EY�9?����NC��%o2m�RU}Q`��?��E�Gh��T��H�6Շ�;�� xƇLc��y�cgH�G��a�H �,��'��O��̮��%��>W�\�N.e?���8m�i����U"S�C�W�E�>���٣G&��fn��f,�cߛ|o����Q�!�
y��I���=�JLB���&��}�F�� ��y����'�_���0 ��>o߶��,���i�M�a�l��6��L��-E1�
�D�� �&^�Y�=ᭉ�=A��iO���&��ӑ����/dW�����&ײ�6�rm�e��M������Iͥ����I�PK ���\V��� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞��95�M��p�q5�#�-�l,8W�*�6]����������m����� �4���:8���f���$B��z\<�+�w�CX�(�R�,|f4����E���"�QH�8u)n�dY�?D��(���ӌ&�����F@��
:�)yz
y�@�};���R��5�* �nj>\&�^�y"�H�j�{���
Y�UF��Kp�ҩSZN�8���2���i�U�����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 ���\c�`� � xl/sharedStrings.xml � (� ���N�0D��=��V�EI*�
�
8!��m,b;x7��=F!U=ξ���V�O7��h���"�����X����m��Iy����3 gۦB$��k���B���)��>�C�NQ��(p��� �QHY
���L��S�S�����N�����*AM%����>]��7��,�K�n��t�U��@*�?�`��4��m��9�8#��of���SحRʅ�LY�l�Y-�NWYa�R�nS ��|PK- ���\B-;� 5 xl/workbook.xmlPK- ���\���� � [Content_Types].xmlPK-
���\2��' ' V _rels/.relsPK- ���\�RX�� � � xl/worksheets/sheet1.xmlPK- ���\V��� P � xl/_rels/workbook.xml.relsPK- ���\Ѓc'2 E
xl/styles.xmlPK- ���\c�`� � � xl/sharedStrings.xmlPK � �