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": "Vb9J5+IaL0q7N/7utCEzhQ==",
"headerIdentifierGuid": "e749bf55-1ae2-4a2f-bb37-feeeb4213385",
"bankName": "sample string 3",
"expectedCash": 4,
"cashDeclared": 1,
"expectedPickup": 5,
"pickupDeclared": 1,
"expectedCheque": 6,
"chequeDeclared": 1
},
"accounts": [
{
"$id": "3",
"id": 1,
"headerIdentifier": "3TW+JtBGZEGSb1C0xAhE8w==",
"headerIdentifierGuid": "26be35dd-46d0-4164-926f-50b4c40844f3",
"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>3TW+JtBGZEGSb1C0xAhE8w==</HeaderIdentifier>
<HeaderIdentifierGuid>26be35dd-46d0-4164-926f-50b4c40844f3</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>3TW+JtBGZEGSb1C0xAhE8w==</HeaderIdentifier>
<HeaderIdentifierGuid>26be35dd-46d0-4164-926f-50b4c40844f3</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>Vb9J5+IaL0q7N/7utCEzhQ==</HeaderIdentifier>
<HeaderIdentifierGuid>e749bf55-1ae2-4a2f-bb37-feeeb4213385</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": "GXrjgi/GkUO4u74mWnDL5A==",
"headerIdentifierGuid": "82e37a19-c62f-4391-b8bb-be265a70cbe4",
"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>GXrjgi/GkUO4u74mWnDL5A==</HeaderIdentifier> <HeaderIdentifierGuid>82e37a19-c62f-4391-b8bb-be265a70cbe4</HeaderIdentifierGuid> <ID>1</ID> <PickupDeclared>4</PickupDeclared> </CashBalancingBankingAccountTotal>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK u2�\�rD� 5 xl/workbook.xml � (� ����0D�&�C��@� '.^=x/tkhK��|K $��ξ�j6v��G�ڕ�����$��u'3�;n��>H�"�s�Ck���I�$�0R/�vBN��Xn�@� ^�+JQ�qs< T-͞fe0�����"��*������
j�RO1�Ν�8�Ȗ2�s����I�_���;�"���PK u2�\���� � [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
u2�\-
a' ' _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="R2e3aa8534eba4e09" /></Relationships>PK u2�\�d�6� � xl/worksheets/sheet1.xml � (� ��O�� ���ý"�ugw�����=[��JH_Dk��������&~�h�ƥ�E� �z��].��;'��/!xJ�^�wUq��w� Pi}9@�rŅwf��ʹy�g(ʲ��Q�זwb�cP�&�f)U��j�SK]$�
���K�Y݁4.jS}ؽ#y��gt8a��4��Ϛ�j1v�$��x� �,w��.�]:/�k���+�ϕ6�D���F٫������>콯]% r�6t~UZ��Ɵ�_{�����Cԍ���,B��!y����Ͼ�8`�G����?�'�O������8��c�N>��čB� @��!{��g������1a�S��o{u�t��R�Ӧ�0z6Ce;l��̫rK��w"^�Z�{������۞ k�'�L@lN�����|�����6��D�ɵ��M���fY�mS�E�*�AsyBsi;:�ɤ PK u2�\�$�� P xl/_rels/workbook.xml.rels � (� ��Mn� F��f_c;�?U�l��6�0���9[=R�P�J-���&+4���������2�3:?�A��@P#'=tp
ꡁ�f�Ǚ�xÏ��$>Ѿ�1�D�#.�gƢ�e��C,�@-G> -�.e�-�.�C4JM��8-��`�j�я�ȁ�C?��ף�"�Nv���VJ%�V7=z75.3�_��:�QbU�m�X���U}W��;�/��M�Ni�Ή7�M߯��ɚ]��Ϳ�|PK u2�\Ѓ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 u2�\Ջ�� � xl/sharedStrings.xml � (� ��AO�0��J�;ؕe
��lԽ�����R�������{k�1Y����7�e�݇�;x��V<���*�i{����mTp�$m'Gg�� g��D$�+>M�B��H��6��y#)H8y� dF�%I.�Ԗ3�fK��o34?:躤��/ե�Rߓ�p ��K�����w���w���(=�aZ���%�j^����f!8���"��F��H�Y�W�4j���Z��+�IT�_��?PK- u2�\�rD� 5 xl/workbook.xmlPK- u2�\���� � [Content_Types].xmlPK-
u2�\-
a' ' V _rels/.relsPK- u2�\�d�6� � � xl/worksheets/sheet1.xmlPK- u2�\�$�� P � xl/_rels/workbook.xml.relsPK- u2�\Ѓc'2 E
xl/styles.xmlPK- u2�\Ջ�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK u2�\R�.� 5 xl/workbook.xml � (� ����0��&�C����H
'.^=x�e�ڒ��R�7o;������Z�#GeKS��$��$�'=��Nɜ��Et� ��o ʑ$�rb`dNhe{1Y���a�� km�丢$
��Bti�0� ���]LD��M� �/�B�I�p��(8���1F�~����"N�,����w��d�]PK u2�\���� � [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
u2�\;,�' ' _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="R1b65e4046ee94436" /></Relationships>PK u2�\�d�6� � xl/worksheets/sheet1.xml � (� ��O�� ���ý"�ugw�����=[��JH_Dk��������&~�h�ƥ�E� �z��].��;'��/!xJ�^�wUq��w� Pi}9@�rŅwf��ʹy�g(ʲ��Q�זwb�cP�&�f)U��j�SK]$�
���K�Y݁4.jS}ؽ#y��gt8a��4��Ϛ�j1v�$��x� �,w��.�]:/�k���+�ϕ6�D���F٫������>콯]% r�6t~UZ��Ɵ�_{�����Cԍ���,B��!y����Ͼ�8`�G����?�'�O������8��c�N>��čB� @��!{��g������1a�S��o{u�t��R�Ӧ�0z6Ce;l��̫rK��w"^�Z�{������۞ k�'�L@lN�����|�����6��D�ɵ��M���fY�mS�E�*�AsyBsi;:�ɤ PK u2�\�'n� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8��8U�nذ-��q&q�Ďl��Xp$��U$H%l����I3�����4�q�V�@���o��;��f��Ny"�a�$��Mi^S��I����r��a�)����6G�#�e��aɀk&9�g��w�`���ӄ.���>�EL@:��)Ez ��T �m{��W�R�)$c5z3���#�_��|!�U��R �$v�2Vl�Rȗ^:-�5&�sŅ�RV��F��b�PK u2�\Ѓ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 u2�\Ջ�� � xl/sharedStrings.xml � (� ��AO�0��J�;ؕe
��lԽ�����R�������{k�1Y����7�e�݇�;x��V<���*�i{����mTp�$m'Gg�� g��D$�+>M�B��H��6��y#)H8y� dF�%I.�Ԗ3�fK��o34?:躤��/ե�Rߓ�p ��K�����w���w���(=�aZ���%�j^����f!8���"��F��H�Y�W�4j���Z��+�IT�_��?PK- u2�\R�.� 5 xl/workbook.xmlPK- u2�\���� � [Content_Types].xmlPK-
u2�\;,�' ' W _rels/.relsPK- u2�\�d�6� � � xl/worksheets/sheet1.xmlPK- u2�\�'n� P � xl/_rels/workbook.xml.relsPK- u2�\Ѓc'2 E
xl/styles.xmlPK- u2�\Ջ�� � � xl/sharedStrings.xmlPK � �