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
ProductCostName | 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. |
|
NormalCost | integer |
Relation. This field may not always be loaded or used for updates. |
|
CurrentCost | integer |
Relation. This field may not always be loaded or used for updates. |
Response Formats
application/json, text/json
Sample:
{ "pluG_UID": "aaxwTLk9bUSfsqxxTDRp7w==", "pluGuid": "4c70ac69-3db9-446d-9fb2-ac714c3469ef", "enteredCost": 1, "weightedAvgCost": 1, "lastCost": 1, "rawEnteredCost": 2, "rawWeightedAvgCost": 3, "rawLastCost": 4, "freight": 5.0, "freightType": 6, "costDecimals": 7, "fifoCost": 1, "updated": "2025-06-14T07:35:05.8490649", "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> <NormalCost>1</NormalCost> <PLUG_UID>aaxwTLk9bUSfsqxxTDRp7w==</PLUG_UID> <PluGuid>4c70ac69-3db9-446d-9fb2-ac714c3469ef</PluGuid> <RawEnteredCost>2</RawEnteredCost> <RawLastCost>4</RawLastCost> <RawWeightedAvgCost>3</RawWeightedAvgCost> <Updated>2025-06-14T07:35:05.8490649+00:00</Updated> <WeightedAvgCost>1</WeightedAvgCost> </ProductCost>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK b<�Z"7��� 5 xl/workbook.xml � (� ����0��&�C��(��N\�z�^�b�O�||K $���~;t2nh��G�ڗ��"[� ���X�q��X�ҽ��{ɡ1��@rʲ�8Y�F{!�����X�@P�RLj\�wѹ�S�䓌�Zw6YB�7El�H i��� ��ܻ 1r�����V������<.V��d�]PK b<�Z���� � [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 b<�Z�L��' ' _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="Rbdee3db4e30c45bd" /></Relationships>PK b<�Z���Ӹ * xl/worksheets/sheet1.xml � (� ��Yo�0�� �}��ޫ$U�4����3�85���?a�%��\������x�|�$��v�b���.�*�~L�}��%����`��4�:s,�M/��f�����e�� ��Nommm�8��k���:Z�Y�c��|@�����* �]Ꞻ��W�Kt�ʧoN�� ں��*�ݏ�w���W�� \ǟMr�O�i��9��1�Ǘ���E9�w�E>�{��:�o���p���0�&�\�4�4�u��h����w��VYh���8�R��P�u��43�ߢ\v9���YO�G���$BBb2�'��T��`%����BO�z����IN���� =;�� ��`J��z^�y5�1l `���B/��s�"!�4�a�,���Lp���ЫJ���L%�bl|�� ���C�1��r��9��bA�M!F� ��P�D a�A�� �čJeW�$G ��t(S�i�F���v)p9F��!f�6�خCA�����s~��A�&�98I^���OW�1ͯ{��������u��u��M�K@��w �$n�m�.���]��M�K�&��%d�x��I<�8�2��i��҃�l}�AZ��� �����9P������=H����|�v;P[�k-7�굖 ��Z+X�Zk���Zk}O�Z+F�kxi̅I �`n��[Az���_;�_;�����L'��p���PK b<�Z1�g�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8����ݰa[zǙ|�Ķl��Xp$��U$p%l����I3����ۺ�t~6���@P+��zl���v��℟f�I\Ѿ�)�@�W��gƢ����U����Z��rDZ习.e�5���C4�0+|4괢��qG?! �F-��<��E*����=r^�.G�U��W�������w��tM�R �K&JV�7�����9�x��)-�j�CQ4�Pu)XyQ�W��PK b<�ZЃ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 b<�ZɄ�:4 � xl/sharedStrings.xml � (� ��QK�0��J�{�n+���cnv��\�AD�� �iMR���T�B�9�9�䒄�ϲ@�d��##���BfN��s��6TrZT"܂�h�Zd�RG87��&D�J�GU Ғc�Jj�QeD� (�9�)2q]��TH�X�Hckg5R�5��l��C?l��k�Y���!鴓^4�F�|+ (��J�>z��8Z�}ihȴ�v�!��h��i�E˿J:�ŢD}�@ �����w�V�DI}��$�Cuiͩ�o_�랯 ,�@�!��j��5��҇�����3���<�;��0q(��=6�� ��b?X�PK- b<�Z"7��� 5 xl/workbook.xmlPK- b<�Z���� � [Content_Types].xmlPK- b<�Z�L��' ' V _rels/.relsPK- b<�Z���Ӹ * � xl/worksheets/sheet1.xmlPK- b<�Z1�g�� P � xl/_rels/workbook.xml.relsPK- b<�ZЃc'2 E xl/styles.xmlPK- b<�ZɄ�:4 � � xl/sharedStrings.xmlPK �
application/vnd.ms-excel
Sample:
PK b<�Zn�~ � 5 xl/workbook.xml � (� ����0��&�C��V�)��x���E�O�||K $���~;l2nh��G����}� ķ=(�Ƃ���8�C��EL��jӾ�@N��8y�F�^Z��?,op�{�����Ը��bs����'���l"���o�%�v��\A�k8Fɹ�S�\!��"��f�ɛK.�xco0F���PK b<�Z���� � [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 b<�Z��T' ' _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="R181e2aea4d144999" /></Relationships>PK b<�Z���Ӹ * xl/worksheets/sheet1.xml � (� ��Yo�0�� �}��ޫ$U�4����3�85���?a�%��\������x�|�$��v�b���.�*�~L�}��%����`��4�:s,�M/��f�����e�� ��Nommm�8��k���:Z�Y�c��|@�����* �]Ꞻ��W�Kt�ʧoN�� ں��*�ݏ�w���W�� \ǟMr�O�i��9��1�Ǘ���E9�w�E>�{��:�o���p���0�&�\�4�4�u��h����w��VYh���8�R��P�u��43�ߢ\v9���YO�G���$BBb2�'��T��`%����BO�z����IN���� =;�� ��`J��z^�y5�1l `���B/��s�"!�4�a�,���Lp���ЫJ���L%�bl|�� ���C�1��r��9��bA�M!F� ��P�D a�A�� �čJeW�$G ��t(S�i�F���v)p9F��!f�6�خCA�����s~��A�&�98I^���OW�1ͯ{��������u��u��M�K@��w �$n�m�.���]��M�K�&��%d�x��I<�8�2��i��҃�l}�AZ��� �����9P������=H����|�v;P[�k-7�굖 ��Z+X�Zk���Zk}O�Z+F�kxi̅I �`n��[Az���_;�_;�����L'��p���PK b<�ZPJ�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8ICc��ݰa[z�'Q۲]�gc���V���X��j4��'�|�lvo�L^Їɚ���FZ5���S�wv��g�D'HZ1��1F�@i�#."֡Im�"bJ�@��G1 ��rM}k&9���h��$>ZyZ��?����c#����~J�^BU$*�'���RL��bU����z3��3�_��<�����5oK���meF�Q=G�.�;��L��R g�����E�^���PK b<�ZЃ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 b<�ZɄ�:4 � xl/sharedStrings.xml � (� ��QK�0��J�{�n+���cnv��\�AD�� �iMR���T�B�9�9�䒄�ϲ@�d��##���BfN��s��6TrZT"܂�h�Zd�RG87��&D�J�GU Ғc�Jj�QeD� (�9�)2q]��TH�X�Hckg5R�5��l��C?l��k�Y���!鴓^4�F�|+ (��J�>z��8Z�}ihȴ�v�!��h��i�E˿J:�ŢD}�@ �����w�V�DI}��$�Cuiͩ�o_�랯 ,�@�!��j��5��҇�����3���<�;��0q(��=6�� ��b?X�PK- b<�Zn�~ � 5 xl/workbook.xmlPK- b<�Z���� � [Content_Types].xmlPK- b<�Z��T' ' V _rels/.relsPK- b<�Z���Ӹ * � xl/worksheets/sheet1.xmlPK- b<�ZPJ�� P � xl/_rels/workbook.xml.relsPK- b<�ZЃc'2 E xl/styles.xmlPK- b<�ZɄ�:4 � � xl/sharedStrings.xmlPK �