GET api/product/{id}/allergens
Get product's allergen information
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Product identifier |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
List of product allergens
Collection of ProductAllergen| Name | Description | Type | Additional information |
|---|---|---|---|
| PrimaryKey | ProductAllergenKey |
None. |
|
| AllergenID |
Allergen Identifier |
Allergens |
None. |
| PLUG_UID | Collection of byte |
None. |
|
| PluGuid |
Product GUID |
globally unique identifier |
None. |
| Contains |
Allergen contains information |
AllergenContains |
None. |
| AllergenName |
The Allergen Name |
string |
Relation. This field may not always be loaded or used for updates. |
| StoreIDs | Collection of integer |
Relation. This field may not always be loaded or used for updates. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"primaryKey": {
"$id": "2",
"pluGuid": "ea5f4857-2e77-4388-8abb-ccf2e7721498",
"contains": 2
},
"allergenID": 1,
"pluG_UID": "V0hf6ncuiEOKu8zy53IUmA==",
"pluGuid": "ea5f4857-2e77-4388-8abb-ccf2e7721498",
"contains": 2,
"allergenName": "sample string 3",
"storeIDs": [
1,
2
]
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfProductAllergen xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://gapsolutions.com.au/schema/ezimanager">
<ProductAllergen>
<AllergenID>1</AllergenID>
<AllergenName>sample string 3</AllergenName>
<Contains>2</Contains>
<PLUG_UID>V0hf6ncuiEOKu8zy53IUmA==</PLUG_UID>
<PluGuid>ea5f4857-2e77-4388-8abb-ccf2e7721498</PluGuid>
<PrimaryKey xmlns:d3p1="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products">
<d3p1:Contains>2</d3p1:Contains>
<d3p1:PluGuid>ea5f4857-2e77-4388-8abb-ccf2e7721498</d3p1:PluGuid>
</PrimaryKey>
<StoreIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</StoreIDs>
</ProductAllergen>
<ProductAllergen>
<AllergenID>1</AllergenID>
<AllergenName>sample string 3</AllergenName>
<Contains>2</Contains>
<PLUG_UID>V0hf6ncuiEOKu8zy53IUmA==</PLUG_UID>
<PluGuid>ea5f4857-2e77-4388-8abb-ccf2e7721498</PluGuid>
<PrimaryKey xmlns:d3p1="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products">
<d3p1:Contains>2</d3p1:Contains>
<d3p1:PluGuid>ea5f4857-2e77-4388-8abb-ccf2e7721498</d3p1:PluGuid>
</PrimaryKey>
<StoreIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</StoreIDs>
</ProductAllergen>
</ArrayOfProductAllergen>
text/csv
Sample:
Sample not available.
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK V2�\�(�� 5 xl/workbook.xml � (� ����0��J}�(� ��@��ҵCw�� ?JR��o�[7�����E۩�z"9+Wښr�Mɘ�9JpmP�ݨ��}1=���V�o�ʳ,Irfq/�r\G7�?,g,��8��� m�'B���S���^w5 �B�7UE�qQ ��-x�$:���)%�axdC�ai�p�[F������PK V2�\���� � [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
V2�\���~' ' _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="R5827e84c4a1149ed" /></Relationships>PK V2�\>�tI� xl/worksheets/sheet1.xml � (� ��O�� ���ý�_ь��m���N��*Fg�d�$���5�8���y^�����G�"�nd��C���e�Rp6է�d�U�7]a<�wz�RPs��.j��ڗ'�پJ�67�SYUM!��8��3�0�8�����������'%�r�B{��j�YR6�z?{O�*�h�'��d�5��^�䏔o���2p`�
��P^)��|4?���h������G=<���xm�>��Mi���g�D)#��8k#�߷n�Q����Ǔ���8��A�H�ɺOF��}Ⳑ��R#�u��>�|�}�1�2FѺ�F�M~�#
C�ֽp��������8�"��}>���ǐ�!H"��ܶo��mn�,Q�ꩡ�V�[����b7]ۣv�`\zw$>�z&��~&�.A���.A���K�gb��D6����c����Rrf�]"�%�?[��k��������S��&+�]{��%��Jj�vR/ ���ù���*�NJ#��gL�}�PK V2�\w�N6� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�qM���ݰa���3N�&vd�@��G�
XE�Tb�������4�y�Xo�ǁ�b��w�����wm�d$l7�:���S$y��
�����t8�X� ]�XF�rZ:is�-R�ؒ�9n��p��?Domo�ٛӈ.��o>c���th1U�S���"S��4�x�j�u��J�āл��t0�z}�3&-�JJ��ţ��L�6���N��LM �8.�5�V������PK V2�\Ѓ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 V2�\���(* xl/sharedStrings.xml � (� u�_O�0ſJ���0�L��( !:C�<c�vM���v���-�Ō�����i�I��J�70Vh��0PX�J`����m�PbNJK���,%�<��oE�уs�c�<��6�
�W��(��hjf�� �$����@JJݢ�%-��f��G�<u���Mw]�\��#�R��S��}e}�]�lOp�.[Q��L��ϱ�����q��j�ϳ�G^� ]��ᢘ�k������>��|�W��:P�M���/��d< "�L�x�$A�w��,�G
�ˤ�\5|��wJFg�V�F��@��?PK- V2�\�(�� 5 xl/workbook.xmlPK- V2�\���� � � [Content_Types].xmlPK-
V2�\���~' ' U _rels/.relsPK- V2�\>�tI� � xl/worksheets/sheet1.xmlPK- V2�\w�N6� P
xl/_rels/workbook.xml.relsPK- V2�\Ѓc'2 E
P xl/styles.xmlPK- V2�\���(* � xl/sharedStrings.xmlPK � A
application/vnd.ms-excel
Sample:
PK V2�\M;�S� 5 xl/workbook.xml � (� ����0��&�C��@�D��x��}[i�?ik��-%�x�3;��Գq/n̋|Ԥ}�:�`+ƼQ�?�:���(ݓ�a�;#�
u`E����A�Gi=]i���u���V��i{<R/�g�d4���I�b��:������
� %ɹ�
�)q����" 看
q���V��w�PK V2�\���� � [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
V2�\�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="Rf07b92b7d0214f9a" /></Relationships>PK V2�\>�tI� xl/worksheets/sheet1.xml � (� ��O�� ���ý�_ь��m���N��*Fg�d�$���5�8���y^�����G�"�nd��C���e�Rp6է�d�U�7]a<�wz�RPs��.j��ڗ'�پJ�67�SYUM!��8��3�0�8�����������'%�r�B{��j�YR6�z?{O�*�h�'��d�5��^�䏔o���2p`�
��P^)��|4?���h������G=<���xm�>��Mi���g�D)#��8k#�߷n�Q����Ǔ���8��A�H�ɺOF��}Ⳑ��R#�u��>�|�}�1�2FѺ�F�M~�#
C�ֽp��������8�"��}>���ǐ�!H"��ܶo��mn�,Q�ꩡ�V�[����b7]ۣv�`\zw$>�z&��~&�.A���.A���K�gb��D6����c����Rrf�]"�%�?[��k��������S��&+�]{��%��Jj�vR/ ���ù���*�NJ#��gL�}�PK V2�\�;��� P xl/_rels/workbook.xml.rels � (� ��;n�0@�"p�%9�Sq�t��4M[2$�mΖ�G�*�@� �d"�{x �y�Xo��A���5%�D�`C��M[�)4O�ݬw<`���'/��%t!L+)=u<�O��&v�F1u����زL�ʥ�3�)��C�M�?[:�l�`�f��w��]ˡ����נ�H�R��{$�UUQ�)e� ���|8����ִPi�-�UƄw���q�.^z�4/��P�+��jYeT�W5y��/PK V2�\Ѓ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 V2�\���(* xl/sharedStrings.xml � (� u�_O�0ſJ���0�L��( !:C�<c�vM���v���-�Ō�����i�I��J�70Vh��0PX�J`����m�PbNJK���,%�<��oE�уs�c�<��6�
�W��(��hjf�� �$����@JJݢ�%-��f��G�<u���Mw]�\��#�R��S��}e}�]�lOp�.[Q��L��ϱ�����q��j�ϳ�G^� ]��ᢘ�k������>��|�W��:P�M���/��d< "�L�x�$A�w��,�G
�ˤ�\5|��wJFg�V�F��@��?PK- V2�\M;�S� 5 xl/workbook.xmlPK- V2�\���� � � [Content_Types].xmlPK-
V2�\�l��' ' U _rels/.relsPK- V2�\>�tI� � xl/worksheets/sheet1.xmlPK- V2�\�;��� P
xl/_rels/workbook.xml.relsPK- V2�\Ѓc'2 E
O xl/styles.xmlPK- V2�\���(* � xl/sharedStrings.xmlPK � @