POST api/account/adjust/{id}
this api is dedicated for EMC frontend to make account adjustment
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Account to adjust |
globally unique identifier |
Required |
Body Parameters
Adjustment to perform
AccountAdjustmentName | Description | Type | Additional information |
---|---|---|---|
AccountIdentifier |
Account |
globally unique identifier |
None. |
StoreID |
Store for an ajustment to occur at, when transaction must be created (defaults to head office store) |
integer |
None. |
Date |
Date to apply adjustment on |
date |
None. |
SaleIdentifier |
Sale identifier |
string |
None. |
Amount |
Cents |
integer |
None. |
Source |
Adjustment source (for payments, i.e. Paypal, etc) |
string |
None. |
CustomerReference |
Reference number for adjustment source |
string |
None. |
User |
User performing adjustment (leave blank and it will be provided) |
string |
None. |
IdempotentID |
Idempotency ID to prevent duplicate processing |
globally unique identifier |
None. |
Payment |
This adjustment should be a payment and not an adjustment (when creating transaction) |
boolean |
None. |
TotalAmount |
Total Amount from the POS |
integer |
None. |
MachineName |
Machine Name from the POS |
string |
None. |
OperatorIdentifier |
Operator Identifier from the POS |
globally unique identifier |
None. |
SaleHeaderIdentifier |
SaleHeader Identifier from the POS |
globally unique identifier |
None. |
TransactionTime |
Transaction Time from the POS |
date |
None. |
TransactionTimeLocal |
Transaction TimeLocal from the POS |
date |
None. |
Request Formats
application/json, text/json
{ "accountIdentifier": "fc77032c-4d74-4bd6-818d-fe5c80f34158", "storeID": 1, "date": "2025-08-02T23:15:55.1412101", "saleIdentifier": "sample string 2", "amount": 3, "source": "sample string 4", "customerReference": "sample string 5", "user": "sample string 6", "idempotentID": "d3801ceb-2e68-45f8-88d0-621de11f8a1e", "payment": true, "totalAmount": 1, "machineName": "sample string 8", "operatorIdentifier": "a71839de-93af-4de1-8a3b-ad9807e80ac9", "saleHeaderIdentifier": "f4bd958e-fd22-4c2c-abd4-8c7ee962bf7b", "transactionTime": "2025-08-02T23:15:55.1412101", "transactionTimeLocal": "2025-08-02T23:15:55.1412101" }
application/xml, text/xml
<AccountAdjustment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Customers"> <AccountIdentifier>fc77032c-4d74-4bd6-818d-fe5c80f34158</AccountIdentifier> <Amount>3</Amount> <CustomerReference>sample string 5</CustomerReference> <Date>2025-08-02T23:15:55.1412101+00:00</Date> <IdempotentID>d3801ceb-2e68-45f8-88d0-621de11f8a1e</IdempotentID> <MachineName>sample string 8</MachineName> <OperatorIdentifier>a71839de-93af-4de1-8a3b-ad9807e80ac9</OperatorIdentifier> <Payment>true</Payment> <SaleHeaderIdentifier>f4bd958e-fd22-4c2c-abd4-8c7ee962bf7b</SaleHeaderIdentifier> <SaleIdentifier>sample string 2</SaleIdentifier> <Source>sample string 4</Source> <StoreID>1</StoreID> <TotalAmount>1</TotalAmount> <TransactionTime>2025-08-02T23:15:55.1412101+00:00</TransactionTime> <TransactionTimeLocal>2025-08-02T23:15:55.1412101+00:00</TransactionTimeLocal> <User>sample string 6</User> </AccountAdjustment>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Updated adjustment record
AccountAdjustmentName | Description | Type | Additional information |
---|---|---|---|
AccountIdentifier |
Account |
globally unique identifier |
None. |
StoreID |
Store for an ajustment to occur at, when transaction must be created (defaults to head office store) |
integer |
None. |
Date |
Date to apply adjustment on |
date |
None. |
SaleIdentifier |
Sale identifier |
string |
None. |
Amount |
Cents |
integer |
None. |
Source |
Adjustment source (for payments, i.e. Paypal, etc) |
string |
None. |
CustomerReference |
Reference number for adjustment source |
string |
None. |
User |
User performing adjustment (leave blank and it will be provided) |
string |
None. |
IdempotentID |
Idempotency ID to prevent duplicate processing |
globally unique identifier |
None. |
Payment |
This adjustment should be a payment and not an adjustment (when creating transaction) |
boolean |
None. |
TotalAmount |
Total Amount from the POS |
integer |
None. |
MachineName |
Machine Name from the POS |
string |
None. |
OperatorIdentifier |
Operator Identifier from the POS |
globally unique identifier |
None. |
SaleHeaderIdentifier |
SaleHeader Identifier from the POS |
globally unique identifier |
None. |
TransactionTime |
Transaction Time from the POS |
date |
None. |
TransactionTimeLocal |
Transaction TimeLocal from the POS |
date |
None. |
Response Formats
application/json, text/json
{ "accountIdentifier": "90e3e5b4-b874-472c-b6d8-8b7894c388df", "storeID": 1, "date": "2025-08-02T23:15:55.1412101", "saleIdentifier": "sample string 2", "amount": 3, "source": "sample string 4", "customerReference": "sample string 5", "user": "sample string 6", "idempotentID": "1609b36b-56a5-4ce3-819c-353a2385234f", "payment": true, "totalAmount": 1, "machineName": "sample string 8", "operatorIdentifier": "cc30a7c2-35f8-4784-827e-f684d142cac2", "saleHeaderIdentifier": "1386b0b6-7cb8-4bc8-a579-ff176eb34697", "transactionTime": "2025-08-02T23:15:55.1412101", "transactionTimeLocal": "2025-08-02T23:15:55.1412101" }
application/xml, text/xml
<AccountAdjustment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Customers"> <AccountIdentifier>90e3e5b4-b874-472c-b6d8-8b7894c388df</AccountIdentifier> <Amount>3</Amount> <CustomerReference>sample string 5</CustomerReference> <Date>2025-08-02T23:15:55.1412101+00:00</Date> <IdempotentID>1609b36b-56a5-4ce3-819c-353a2385234f</IdempotentID> <MachineName>sample string 8</MachineName> <OperatorIdentifier>cc30a7c2-35f8-4784-827e-f684d142cac2</OperatorIdentifier> <Payment>true</Payment> <SaleHeaderIdentifier>1386b0b6-7cb8-4bc8-a579-ff176eb34697</SaleHeaderIdentifier> <SaleIdentifier>sample string 2</SaleIdentifier> <Source>sample string 4</Source> <StoreID>1</StoreID> <TotalAmount>1</TotalAmount> <TransactionTime>2025-08-02T23:15:55.1412101+00:00</TransactionTime> <TransactionTimeLocal>2025-08-02T23:15:55.1412101+00:00</TransactionTimeLocal> <User>sample string 6</User> </AccountAdjustment>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
PK ��[�G� 5 xl/workbook.xml � (� ����0��&�C�� �()��x�བ�6П�5���H�yۙ��v�l��4fD5i_��lM���'cA��`�b!J�"f$����9�*�`bA텴��X�:`� AM+J1�q{< D�f �O2[��Dd ��M��")���w,0��s��c�j�{QU^�<�,/�+�;{�Q��n�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 ��[AP' ' _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="Rf709ae5c15d54fb3" /></Relationships>PK ��[�Tz�� xl/worksheets/sheet1.xml � (� ��[s�@�� �����'���5油X�������X�1?G�aJ��(�|�aN��bp����O��q�� ���Y:���C[,~H�z4إ�G�Ժ��ί���,��U泥N�<H7zm�i�D�����t��gz�ζ�^!F���^E�yT��7��vI�|��h^�B�:�J�x���T߿����п��)��p4(�?���ko��i���y�}T�a���f�\/�����t��,�I����U^�zI����������b9�(���7��E��=,C]�Ǖ���8�# ��i=���� �� #���zZ�i���`�"��K)�i=���C��P�JF$F�Wz��e L`$�T�8��^4�� �ټ��+�pZ/+����U�W���bJi2 ����Bm��1�s�l28P�*c"���s���P����hA$$��1�Aڮ�(`�/:IPGX�, $����3g�0B�F�Z�ApL�r�)<�r���" �t�e岩���1�y9w�(�� ��A���V�m��.�O�.1��K�� �%&}�u��>���C�]�O�.��'T���p�2�فX��8��Wb���@,c��q64�9�7��}�e�m��"�^�L 7y6�٪2v<���]�����Cn5�ށX}�#����6��@���:�ٳCn��ŁX�~u �9z��9�K�C���Z��'�MҴ�Y9��t��PK ��[˘��� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;qL\�M7�0�8�Hl�6m9��W�U�6H]t�j4��'�|^>V��q �S�V�@�ioz�J8e�0��z��A�2��>$RV\�����&��R��ұ>�*�4�4(}T-�Y]��e��9����^�ק]�L�|<�1٫�b��SJ�;��P�� �F��n�fX3���Z��ӯ�5�����B�Ձ�#�U�S�.�r�Ӵ<Q���nE ���ћ�XPK ��[Ѓ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 ��[�U�c� xl/sharedStrings.xml � (� }��n�0�_����Ƙjw�U���ҋ���͐%�6�Mռ}�FjZh�|������O3�����>+/���ծ��>�?��2#!��`t����\v!D��6�s�ӻ<�� ��&�;o �W����#t�͘WE!r�͈v�������}ƫ?R�ᰋ���-���ơ���x����Ep�Gr;�oKr��M2�k��2o�}5o��s�� �҃3��W�ѧdW���2����������7��E��9�%��<X�f���R���>��� �Ƀ �cڢӰn���NøԴ2��J6���T�NR��rͤ���'��FL�Ӿ�j�m\oc�ĥ(Zń����r��ʲՔ�*&��ռ'?�����\b�Y��R�^�X$��j��B�����I� %h�U�(-)�MK��l*�Eۼz�t�� PK- ��[�G� 5 xl/workbook.xmlPK- ��[���� � � [Content_Types].xmlPK- ��[AP' ' U _rels/.relsPK- ��[�Tz�� � xl/worksheets/sheet1.xmlPK- ��[˘��� P � xl/_rels/workbook.xml.relsPK- ��[Ѓc'2 E $ xl/styles.xmlPK- ��[�U�c� � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
PK ��[_��S� 5 xl/workbook.xml � (� ����0D�&�C����N\�z4Ж�5��B $��ξ>Z���v�{�sW�6�!g̋5���L;i��0I�bVJ%����v:S氇���<]h�����"�/( ��r�#��͞ G�d�ug��%�~S<¶����� %ѹ7M(q���G��L� ��9�����`����/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="Rda055285144e4393" /></Relationships>PK ��[�Tz�� xl/worksheets/sheet1.xml � (� ��[s�@�� �����'���5油X�������X�1?G�aJ��(�|�aN��bp����O��q�� ���Y:���C[,~H�z4إ�G�Ժ��ί���,��U泥N�<H7zm�i�D�����t��gz�ζ�^!F���^E�yT��7��vI�|��h^�B�:�J�x���T߿����п��)��p4(�?���ko��i���y�}T�a���f�\/�����t��,�I����U^�zI����������b9�(���7��E��=,C]�Ǖ���8�# ��i=���� �� #���zZ�i���`�"��K)�i=���C��P�JF$F�Wz��e L`$�T�8��^4�� �ټ��+�pZ/+����U�W���bJi2 ����Bm��1�s�l28P�*c"���s���P����hA$$��1�Aڮ�(`�/:IPGX�, $����3g�0B�F�Z�ApL�r�)<�r���" �t�e岩���1�y9w�(�� ��A���V�m��.�O�.1��K�� �%&}�u��>���C�]�O�.��'T���p�2�فX��8��Wb���@,c��q64�9�7��}�e�m��"�^�L 7y6�٪2v<���]�����Cn5�ށX}�#����6��@���:�ٳCn��ŁX�~u �9z��9�K�C���Z��'�MҴ�Y9��t��PK ��[��+�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8&Դ�nؖ^���q�Ďl�г��H\�H�J,�t5��ӓf>�?V��y"gt~����@�+G3�p ꡅ�z�É�8���xW��A��<Q�ƙ��.hbGY7�S7Ѕ�#�>�yM]ʀ[&�_��*5 �Zq�ф?��պ�Ȟ�C?%O��e� �Y���kѪ�� /X)� ��M͇˄���;Odڮ-�A���])��2�;�/��K�Ni9Qæ�$S�r��MW_���_�� 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 ��[�U�c� xl/sharedStrings.xml � (� }��n�0�_����Ƙjw�U���ҋ���͐%�6�Mռ}�FjZh�|������O3�����>+/���ծ��>�?��2#!��`t����\v!D��6�s�ӻ<�� ��&�;o �W����#t�͘WE!r�͈v�������}ƫ?R�ᰋ���-���ơ���x����Ep�Gr;�oKr��M2�k��2o�}5o��s�� �҃3��W�ѧdW���2����������7��E��9�%��<X�f���R���>��� �Ƀ �cڢӰn���NøԴ2��J6���T�NR��rͤ���'��FL�Ӿ�j�m\oc�ĥ(Zń����r��ʲՔ�*&��ռ'?�����\b�Y��R�^�X$��j��B�����I� %h�U�(-)�MK��l*�Eۼz�t�� PK- ��[_��S� 5 xl/workbook.xmlPK- ��[���� � � [Content_Types].xmlPK- ��[���' ' U _rels/.relsPK- ��[�Tz�� � xl/worksheets/sheet1.xmlPK- ��[��+�� P � xl/_rels/workbook.xml.relsPK- ��[Ѓc'2 E & xl/styles.xmlPK- ��[�U�c� � xl/sharedStrings.xmlPK � �