GET api/product/{id}/costs
Retrieves all costings for a Product
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Product identifier |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
ProductCost| Name | Description | Type | Additional information |
|---|---|---|---|
| PLUG_UID | Collection of byte |
None. |
|
| PluGuid | globally unique identifier |
None. |
|
| EnteredCost | integer |
None. |
|
| WeightedAvgCost | integer |
None. |
|
| LastCost | integer |
None. |
|
| RawEnteredCost | integer |
None. |
|
| RawWeightedAvgCost | integer |
None. |
|
| RawLastCost | integer |
None. |
|
| Freight | decimal number |
None. |
|
| FreightType | FreightFeeType |
None. |
|
| CostDecimals | integer |
None. |
|
| FIFOCost | integer |
Deprecated. |
|
| Updated | date |
None. |
|
| CurrentCost | integer |
Relation. This field may not always be loaded or used for updates. |
Response Formats
application/json, text/json
Sample:
{
"pluG_UID": "s1KyPHrEh0eHqEKOudnU1g==",
"pluGuid": "3cb252b3-c47a-4787-87a8-428eb9d9d4d6",
"enteredCost": 1,
"weightedAvgCost": 1,
"lastCost": 1,
"rawEnteredCost": 2,
"rawWeightedAvgCost": 3,
"rawLastCost": 4,
"freight": 5.0,
"freightType": 6,
"costDecimals": 7,
"fifoCost": 1,
"updated": "2026-04-03T06:18:55.8071132",
"normalCost": 1,
"currentCost": 1
}
application/xml, text/xml
Sample:
<ProductCost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://gapsolutions.com.au/schema/ezimanager"> <CostDecimals>7</CostDecimals> <CurrentCost>1</CurrentCost> <EnteredCost>1</EnteredCost> <FIFOCost>1</FIFOCost> <Freight>5</Freight> <FreightType>6</FreightType> <LastCost>1</LastCost> <PLUG_UID>s1KyPHrEh0eHqEKOudnU1g==</PLUG_UID> <PluGuid>3cb252b3-c47a-4787-87a8-428eb9d9d4d6</PluGuid> <RawEnteredCost>2</RawEnteredCost> <RawLastCost>4</RawLastCost> <RawWeightedAvgCost>3</RawWeightedAvgCost> <Updated>2026-04-03T06:18:55.8071132+00:00</Updated> <WeightedAvgCost>1</WeightedAvgCost> </ProductCost>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK [2�\�jLx� 5 xl/workbook.xml � (� ����0��&�C���H)��x�ུ�4П�5���H�yۙ��v�l��3�����\��lE��(�OƂ���8�B��EL�K��o:�<�J�`bA�i=^i���u�� ��V�bR��x@�.͞f�d4�����"�)�`�ERH35nY`%�.j|��U2�[&�K'n�*D����;���w�PK [2�\���� � [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="Rcb6211e5c9ba4e78" /></Relationships>PK [2�\��ٿ + xl/worksheets/sheet1.xml � (� ���r�0�_�� ��ۙ$�sh�tz�^S[L� ����1��@ol���������W�s>u�E&���C�����D���=��oҽ^̎&��B�s��Iv���0��W���C�g�:���I� ���o��h��f}�u����S�r�TF��=g��\�>���(!ޝS�A����&��O�;����|���/f�;�Ǭ��:�k����i3wQ��=xU,�3u6zv�/s|��{��!�B�6���t��4:����m��>�q�)�Ha���Yn�?e��r�C����HO(D$ɀ5�'����'���V���i��=`OI�$����d\�J=���
��`J��z^�y]���@���_�zQ��= ���s
�zY�ek�L��0��U�W����"J0����UBu�)�(c�3&�T��[ĂJi�BLl�<�����s�MPy�L(��@I��M�+b��Dv�v)p�8F��!f������� Bf���8�� ����������W��2{�|.���<iK�O�6q�'�M,�i�}���U�`m�O�6��'D�x��M<� �&�L�3ԗ�3���3�Hg�oH=X���b
�M}QgַHg�w2`��H�~$�j�:�xh�:cxl�:�zj�:m>7c���7c����ڪ�c{#�w9S�7���#iކc�-�g>��2t�2&�iq+\��,�PK [2�\7�c� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8q�4��ݰ���g�Q;��B�Ƃ#q�"A*�`��h~OO��|�Xoߦ�������$FF[LW�)�l7�=�*� ��gq����'ν�iR>�3��i��T������Qu�E���-p�d��L�!ڶ4=[}�Ȅ?��պ����r�~J�_C�D*�ְ�R,�+] J!$0~75.#�_��|!�K��UY<f2EqW�^9�⥗N��B
��E��UI�E~U�7��PK [2�\Ѓ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 [2�\W}��3 � xl/sharedStrings.xml � (� ��QO�0��J�w��p0,s�1Y����B#��^T���M{�s��M/�늼��R��M���ʵ��H�n�y%���
ځ�d���"qQeZ"6'�ټ��ۉn@9�M��M�lc�[`]1:���KEI�[��6��U����*dczc�hs$��c�i�z��U�E+�P>WYk�Cv�(���[�0j�p����ode�_��_%��ע�|� ��l����� �5��A�2���5�����
����5����"ԓ���qg��?��3/B�azQ�#/�#�/�Bb��aPK- [2�\�jLx� 5 xl/workbook.xmlPK- [2�\���� � [Content_Types].xmlPK-
[2�\���' ' V _rels/.relsPK- [2�\��ٿ + � xl/worksheets/sheet1.xmlPK- [2�\7�c� P � xl/_rels/workbook.xml.relsPK- [2�\Ѓc'2 E
xl/styles.xmlPK- [2�\W}��3 � � xl/sharedStrings.xmlPK �
application/vnd.ms-excel
Sample:
PK [2�\x���� 5 xl/workbook.xml � (� ��;�0D�H����>����I�"��ul�?���ǀ@J�ngv���ٸ�3fD5i_��lE��(�/Ƃ�;n�b!J�"�s�Ck���5IJ�`bA텴o�X�:`� AMJ1�qs>!D�fO �_e4�����"�)��U!�Ըe�a�:���)F��qx O��(��VfyZd�`0J���PK [2�\���� � [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="R341b2217413c4667" /></Relationships>PK [2�\��ٿ + xl/worksheets/sheet1.xml � (� ���r�0�_�� ��ۙ$�sh�tz�^S[L� ����1��@ol���������W�s>u�E&���C�����D���=��oҽ^̎&��B�s��Iv���0��W���C�g�:���I� ���o��h��f}�u����S�r�TF��=g��\�>���(!ޝS�A����&��O�;����|���/f�;�Ǭ��:�k����i3wQ��=xU,�3u6zv�/s|��{��!�B�6���t��4:����m��>�q�)�Ha���Yn�?e��r�C����HO(D$ɀ5�'����'���V���i��=`OI�$����d\�J=���
��`J��z^�y]���@���_�zQ��= ���s
�zY�ek�L��0��U�W����"J0����UBu�)�(c�3&�T��[ĂJi�BLl�<�����s�MPy�L(��@I��M�+b��Dv�v)p�8F��!f������� Bf���8�� ����������W��2{�|.���<iK�O�6q�'�M,�i�}���U�`m�O�6��'D�x��M<� �&�L�3ԗ�3���3�Hg�oH=X���b
�M}QgַHg�w2`��H�~$�j�:�xh�:cxl�:�zj�:m>7c���7c����ڪ�c{#�w9S�7���#iކc�-�g>��2t�2&�iq+\��,�PK [2�\�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�I\���ݰa[z�'Q;�]�gc���V���X��j4��'�|���o�D^Ї��ʂA��m��)��{�n�;�dLa�@Ҋ
1.�5�,C���c��eL���"�Q�H+��9��d^�?Dg̨�ѩӌ6����À���1v�S
��"Q�<�vhʃ^ ^7���Bo��y�����g2k*͕R�6�AqS�Az��ѧK�Ny9Sk۶gBKα>\���_l� PK [2�\Ѓ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 [2�\W}��3 � xl/sharedStrings.xml � (� ��QO�0��J�w��p0,s�1Y����B#��^T���M{�s��M/�늼��R��M���ʵ��H�n�y%���
ځ�d���"qQeZ"6'�ټ��ۉn@9�M��M�lc�[`]1:���KEI�[��6��U����*dczc�hs$��c�i�z��U�E+�P>WYk�Cv�(���[�0j�p����ode�_��_%��ע�|� ��l����� �5��A�2���5�����
����5����"ԓ���qg��?��3/B�azQ�#/�#�/�Bb��aPK- [2�\x���� 5 xl/workbook.xmlPK- [2�\���� � [Content_Types].xmlPK-
[2�\�
��' ' V _rels/.relsPK- [2�\��ٿ + � xl/worksheets/sheet1.xmlPK- [2�\�� P � xl/_rels/workbook.xml.relsPK- [2�\Ѓc'2 E
xl/styles.xmlPK- [2�\W}��3 � � xl/sharedStrings.xmlPK �