POST api/account/{id}/adjust
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": "1441edf7-372c-4edc-bc99-9622eeba68e2", "storeID": 1, "date": "2025-08-02T23:18:11.6543189", "saleIdentifier": "sample string 2", "amount": 3, "source": "sample string 4", "customerReference": "sample string 5", "user": "sample string 6", "idempotentID": "72297a2e-bbfe-42b6-b831-8f6c9d89d6f7", "payment": true, "totalAmount": 1, "machineName": "sample string 8", "operatorIdentifier": "e7ef12df-8bd9-4516-a490-7c53e2a8ae93", "saleHeaderIdentifier": "59ad3d46-309a-4f30-ba9b-e794adbf6843", "transactionTime": "2025-08-02T23:18:11.6543189", "transactionTimeLocal": "2025-08-02T23:18:11.6543189" }
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>1441edf7-372c-4edc-bc99-9622eeba68e2</AccountIdentifier> <Amount>3</Amount> <CustomerReference>sample string 5</CustomerReference> <Date>2025-08-02T23:18:11.6543189+00:00</Date> <IdempotentID>72297a2e-bbfe-42b6-b831-8f6c9d89d6f7</IdempotentID> <MachineName>sample string 8</MachineName> <OperatorIdentifier>e7ef12df-8bd9-4516-a490-7c53e2a8ae93</OperatorIdentifier> <Payment>true</Payment> <SaleHeaderIdentifier>59ad3d46-309a-4f30-ba9b-e794adbf6843</SaleHeaderIdentifier> <SaleIdentifier>sample string 2</SaleIdentifier> <Source>sample string 4</Source> <StoreID>1</StoreID> <TotalAmount>1</TotalAmount> <TransactionTime>2025-08-02T23:18:11.6543189+00:00</TransactionTime> <TransactionTimeLocal>2025-08-02T23:18:11.6543189+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": "7a037b26-0a92-44e5-b67a-61a2f4c45f7e", "storeID": 1, "date": "2025-08-02T23:18:11.6699437", "saleIdentifier": "sample string 2", "amount": 3, "source": "sample string 4", "customerReference": "sample string 5", "user": "sample string 6", "idempotentID": "a65e9691-a2a9-4974-aa1a-2f21bebf5ddc", "payment": true, "totalAmount": 1, "machineName": "sample string 8", "operatorIdentifier": "471e5f0b-9bce-4564-b027-9d999502e81b", "saleHeaderIdentifier": "5ecfd12f-a180-4797-b898-02731455a731", "transactionTime": "2025-08-02T23:18:11.6699437", "transactionTimeLocal": "2025-08-02T23:18:11.6699437" }
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>7a037b26-0a92-44e5-b67a-61a2f4c45f7e</AccountIdentifier> <Amount>3</Amount> <CustomerReference>sample string 5</CustomerReference> <Date>2025-08-02T23:18:11.6699437+00:00</Date> <IdempotentID>a65e9691-a2a9-4974-aa1a-2f21bebf5ddc</IdempotentID> <MachineName>sample string 8</MachineName> <OperatorIdentifier>471e5f0b-9bce-4564-b027-9d999502e81b</OperatorIdentifier> <Payment>true</Payment> <SaleHeaderIdentifier>5ecfd12f-a180-4797-b898-02731455a731</SaleHeaderIdentifier> <SaleIdentifier>sample string 2</SaleIdentifier> <Source>sample string 4</Source> <StoreID>1</StoreID> <TotalAmount>1</TotalAmount> <TransactionTime>2025-08-02T23:18:11.6699437+00:00</TransactionTime> <TransactionTimeLocal>2025-08-02T23:18:11.6699437+00:00</TransactionTimeLocal> <User>sample string 6</User> </AccountAdjustment>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
PK E�[Ű��� 5 xl/workbook.xml � (� ����0��&�C��ȏQR8q����i�-ik��-H�yۙ��v�dl/���G �嶠��cΘ�;T�NfDv�� |���L��+S�j��(�0�xi�����J���F�иѫaE)����!|n��8�Ec�;���!���l�XѠ��x�dq�MAϔ�\��!C���f�-����a�m��/PK 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 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="Re032c98105f049b7" /></Relationships>PK E�[əQ � xl/worksheets/sheet1.xml � (� ��]s�0�� ��BN��Q;�Z��:�ؽf5V�"`��߈ 2����y9�y�.������<N�C�{z=K���}�o��/�_��4�ȗZ����E6�E���|��I��F���"͒�0��{�.�L���6��"��0ӫ�0�ʗ�&�վS+�d:��[HV�RI���`����{�^�+��b�G���]����Kӏ���|裒 {�|�4��zmW�[������0&�R3KWy��%��:�K���{ϋ��'"���*���j�͋4�{X���A�+=>�Hq*G ���zR�I��ʹ���i=����@0DPťg��*=k�p.����<�畞7z *"N�E���( d��pN�e��?�_Uz՞�� I!�<�?�:@�� �H�����q�l28P�*c"���s���P���p�L�g�u���TcN3{�纨���[@H*83��s���M1 h9�1�ʝ��p(�'�8*�� Kw^V.����+s���9Jrs�}�� ��k+�O@���'p�� �%n���>���m��]�O�.q�'d�x��K<:�L}r ���IJ�ŁX��:�ةi� Md���Mnp_d�}]#�ȴ�(�%�ߋ$�nr�x�5��v5ˀ�CnM�ցX#��#����~p V��'L{rȭn��5�b��^�?���C���A�4�O:��i���:�Ӎ�PK E�[D�� P xl/_rels/workbook.xml.rels � (� ��An� E��f_C��QH6�t��c�Hۜ���W(J�֑��&+4��i������m���{'`Q0 ����yX�~�=� S�m?E���(��4m(���(c�'t�c|e�e��$�IvH9c+��e��e���1��G��#�����p�19��a�Ez=E�y�m�rY�V��eհ%z7��.�_��z&��յ*�ATU]6w��2�~N!oz�4��s�y�M#+U�_��Ϳ�}PK 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 E�[�G�� xl/sharedStrings.xml � (� ���n�0�_���p��U�����<�`�YZlS�T���i����^�Ι1����3�����l��EF�*7����Noi���09�m��!#W�!�H�Ն6;�8����h \�m"�y1}��<�ag�h��E�mF�[ll3Ved���/�cw��Q��h�G�<v�����H�F�uM�×%D���"n�0�˾�w�ūM�?�����3j�)ٍ�!l{�]���T��f��O���E���9�5z�<Z� f���R�;��ޥ���Ƀ �b��Ӹm��wN����P\�=�h�Q�Qо��V%0���� `� Ӏ�4���c���>��*���%�rYs Pe��=�Z������5�u�B=��B�E�i_���AJ) �Mٯ=�J�)�MAy-k�7���wYr! =^=y���OPK- E�[Ű��� 5 xl/workbook.xmlPK- E�[���� � [Content_Types].xmlPK- E�[���>' ' V _rels/.relsPK- E�[əQ � � xl/worksheets/sheet1.xmlPK- E�[D�� P � xl/_rels/workbook.xml.relsPK- E�[Ѓc'2 E + xl/styles.xmlPK- E�[�G�� � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
PK E�[�Ҏ� 5 xl/workbook.xml � (� ����0D�&�C����H '.^=x/��ڒ�?�R�7o;��o�������Q��;7�ؖ�d��'P~�k#��Ҽ��{�B�۷�HE102'��\L��Xv2�:��W�dB��x@�.͞f�7�����"�)`�EPH1 %��c�ޕ���)���I��Ooy~M�.�;{�Q����PK 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 E�[�7�' ' _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="R0a70d830295e4217" /></Relationships>PK E�[əQ � xl/worksheets/sheet1.xml � (� ��]s�0�� ��BN��Q;�Z��:�ؽf5V�"`��߈ 2����y9�y�.������<N�C�{z=K���}�o��/�_��4�ȗZ����E6�E���|��I��F���"͒�0��{�.�L���6��"��0ӫ�0�ʗ�&�վS+�d:��[HV�RI���`����{�^�+��b�G���]����Kӏ���|裒 {�|�4��zmW�[������0&�R3KWy��%��:�K���{ϋ��'"���*���j�͋4�{X���A�+=>�Hq*G ���zR�I��ʹ���i=����@0DPťg��*=k�p.����<�畞7z *"N�E���( d��pN�e��?�_Uz՞�� I!�<�?�:@�� �H�����q�l28P�*c"���s���P���p�L�g�u���TcN3{�纨���[@H*83��s���M1 h9�1�ʝ��p(�'�8*�� Kw^V.����+s���9Jrs�}�� ��k+�O@���'p�� �%n���>���m��]�O�.q�'d�x��K<:�L}r ���IJ�ŁX��:�ةi� Md���Mnp_d�}]#�ȴ�(�%�ߋ$�nr�x�5��v5ˀ�CnM�ցX#��#����~p V��'L{rȭn��5�b��^�?���C���A�4�O:��i���:�Ӎ�PK E�[K��� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;qp�� �n�R.`�q�ؑmJ9[=R�P�Jm����h~OO��|�Xo�Ɓ���� ,�Z���v ��~�ݬ�8Ș&��@Ҋ ���Ae�܄6u��)���:�)���9��p��?D�u��٩�6���O� F �;� ����E��@vm��9/u���UˀЇ��x0�z}�3Qy����9�*c���%�t�Ӽ<SS�fB0U����75z��/PK 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 E�[�G�� xl/sharedStrings.xml � (� ���n�0�_���p��U�����<�`�YZlS�T���i����^�Ι1����3�����l��EF�*7����Noi���09�m��!#W�!�H�Ն6;�8����h \�m"�y1}��<�ag�h��E�mF�[ll3Ved���/�cw��Q��h�G�<v�����H�F�uM�×%D���"n�0�˾�w�ūM�?�����3j�)ٍ�!l{�]���T��f��O���E���9�5z�<Z� f���R�;��ޥ���Ƀ �b��Ӹm��wN����P\�=�h�Q�Qо��V%0���� `� Ӏ�4���c���>��*���%�rYs Pe��=�Z������5�u�B=��B�E�i_���AJ) �Mٯ=�J�)�MAy-k�7���wYr! =^=y���OPK- E�[�Ҏ� 5 xl/workbook.xmlPK- E�[���� � [Content_Types].xmlPK- E�[�7�' ' V _rels/.relsPK- E�[əQ � � xl/worksheets/sheet1.xmlPK- E�[K��� P � xl/_rels/workbook.xml.relsPK- E�[Ѓc'2 E + xl/styles.xmlPK- E�[�G�� � xl/sharedStrings.xmlPK � �