GET api/allergen/{id}
Get allergen
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Allergen identifier |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Matching Allergen
AllergenName | Description | Type | Additional information |
---|---|---|---|
ID |
Allergen identifier |
integer |
None. |
Name |
The allergen description and as used in the declaration statement |
string |
None. |
Reserved |
This allergen is reserved and can not be deleted by users |
boolean |
None. |
Updated |
The last time the allergen was updated (UTC on server) |
date |
None. |
Deleted |
Allergen has been soft deleted |
boolean |
None. |
Ingredients |
List of allergen ingredients for other declarations |
Collection of AllergenIngredient |
Relation. This field may not always be loaded or used for updates. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "name": "sample string 2", "reserved": true, "updated": "2025-06-14T07:03:32.082667", "deleted": true, "ingredients": [ { "$id": "2", "id": 1, "allergenID": 2, "text": "sample string 3" }, { "$ref": "2" } ] }
application/xml, text/xml
Sample:
<Allergen xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Allergens"> <Deleted>true</Deleted> <ID>1</ID> <Ingredients> <AllergenIngredient> <AllergenID>2</AllergenID> <ID>1</ID> <Text>sample string 3</Text> </AllergenIngredient> <AllergenIngredient> <AllergenID>2</AllergenID> <ID>1</ID> <Text>sample string 3</Text> </AllergenIngredient> </Ingredients> <Name>sample string 2</Name> <Reserved>true</Reserved> <Updated>2025-06-14T07:03:32.082667+00:00</Updated> </Allergen>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK p8�Zś;x� 5 xl/workbook.xml � (� ����0��&�C���%���WXl�I[��o)�ě����o����Ocz�Q���+����F��~g,��S<D�^�t�l�6�[�$��D<H�������[�� �aF).5������!a�IFc�;���!�b �^$�4WP��Qrnm���B��G �z�ϔ��{�1����PK p8�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 p8�Z/�9w' ' _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="R3b7a764b02e24379" /></Relationships>PK p8�Z�/��� � xl/worksheets/sheet1.xml � (� ���r�0E�Ѿ=�I�0��E�� @I6�� A�m2I� �{���ܽ��s�R�bHq=��U;Rt��7��d�E5�k����5Zw���}�\q�Y���m��E]�%ߋ���Ac�K��l�������?^�(yQ��n��v@YR��}�ޑ�N�=���%���Q]��)�!^�ɏ*E�e����?�S�8u������hsH�Ք�S����tt��W{�J7)�]B�]�������S�:Xt��u����q�X��E�_�b�я�t�ӷ��e1 ���@�I����;\tb�������������]d��#�q�F�f�lcM��yCΙ���]��-A���-��~K���Ӗ��D�%���&ؚ����y�����7��Dt��ҟ��� >�o���,��& �hec>q.s!4����o'�PK p8�Z'�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞��5 �� �nK/`�q5�#�-�l,8W�*�6]����������m�}��gZ��`{��Z�n�{EL�s i�&���� N"dnF�:��IĔ���BE��`lE���Lr�����z����iB� �W�� F �{�~J�^C�%*���ǚ!�ڲa���&B��e�����/dꮫU^/U%dsW#<���ӥ�N��B��Q7��˕l+%�U�����PK p8�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 p8�ZަND � xl/sharedStrings.xml � (� m�AK1��J��dۃ��n�m�����I �H&kf�X�)���yߛa�7��+xq�D.b%g�����aW�����F b����P�#���$b�G�*�3wZS�C0�� ������,S�iH`,� ��ŵơm�+y+ň�s���W�\����Կ�<� S�� v�w�5|������.�u�LS�L<� R�Ȩ�6�7��!�&z-�tI=Br�zr�ﳷշ�4$��<�զQ��?u��O����y��� PK- p8�Zś;x� 5 xl/workbook.xmlPK- p8�Z���� � � [Content_Types].xmlPK- p8�Z/�9w' ' U _rels/.relsPK- p8�Z�/��� � � xl/worksheets/sheet1.xmlPK- p8�Z'�� P � xl/_rels/workbook.xml.relsPK- p8�ZЃc'2 E xl/styles.xmlPK- p8�ZަND � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK p8�Z䳈� 5 xl/workbook.xml � (� ����0��&�C�`� !8q����Zi�?ik��-H�yۙ��v�ɸ�Ø��Q���0�`KνH�?K:�z��(ݓ����Z#ފt�i���шA�i=��X�:��DA�+J����Us����/2[��d| ��T����E1��jh1 �Źv5���R��iw)2�%Y�簳wXŷ��PK p8�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 p8�Z�,' ' _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="Rdecd475c06e14363" /></Relationships>PK p8�Z�/��� � xl/worksheets/sheet1.xml � (� ���r�0E�Ѿ=�I�0��E�� @I6�� A�m2I� �{���ܽ��s�R�bHq=��U;Rt��7��d�E5�k����5Zw���}�\q�Y���m��E]�%ߋ���Ac�K��l�������?^�(yQ��n��v@YR��}�ޑ�N�=���%���Q]��)�!^�ɏ*E�e����?�S�8u������hsH�Ք�S����tt��W{�J7)�]B�]�������S�:Xt��u����q�X��E�_�b�я�t�ӷ��e1 ���@�I����;\tb�������������]d��#�q�F�f�lcM��yCΙ���]��-A���-��~K���Ӗ��D�%���&ؚ����y�����7��Dt��ҟ��� >�o���,��& �hec>q.s!4����o'�PK p8�Z̬�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞� �I��ݰa[z��Q;�]�gc���V� �X��j4��'�|�lvo�H^0�!�V�^3���S�w 춛=�*���9���S.�yMi�'��0�/�rIcOg���GZ3&i\2�I��C��>M��`��19��b����R���� ȓ�`/�ҵ ל�FJ �fj)�GL�^��BF߷��5SVH� �2NE4�9�K/��党�Jjk�i������PK p8�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 p8�ZަND � xl/sharedStrings.xml � (� m�AK1��J��dۃ��n�m�����I �H&kf�X�)���yߛa�7��+xq�D.b%g�����aW�����F b����P�#���$b�G�*�3wZS�C0�� ������,S�iH`,� ��ŵơm�+y+ň�s���W�\����Կ�<� S�� v�w�5|������.�u�LS�L<� R�Ȩ�6�7��!�&z-�tI=Br�zr�ﳷշ�4$��<�զQ��?u��O����y��� PK- p8�Z䳈� 5 xl/workbook.xmlPK- p8�Z���� � � [Content_Types].xmlPK- p8�Z�,' ' U _rels/.relsPK- p8�Z�/��� � � xl/worksheets/sheet1.xmlPK- p8�Z̬�� P � xl/_rels/workbook.xml.relsPK- p8�ZЃc'2 E xl/styles.xmlPK- p8�ZަND � � xl/sharedStrings.xmlPK � �