PUT Setup/Allergy/{allergyID}?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
allergyID | integer |
Required |
|
validateOnly | boolean |
Default value is False |
Body Parameters
AllergyDTOName | Description | Type | Additional information |
---|---|---|---|
AllergyID | integer |
None. |
|
AllergyTableID | integer |
None. |
|
AllergyType | AllergyType |
None. |
|
AllergyCode | string |
None. |
|
AllergyDescription | string |
None. |
|
Props | Collection of Object |
None. |
|
RecordState | RecordState |
None. |
|
Created | AuditDataDTO |
None. |
|
LastUpdated | AuditDataDTO |
None. |
|
Summary | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "allergyID": 1, "allergyTableID": 2, "allergyType": 1, "allergyCode": "sample string 3", "allergyDescription": "sample string 4", "recordState": 1, "created": { "dateUtc": "2024-12-04T08:02:13.3424203+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:02:13 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:02:13.3424203+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:02:13 AM" }, "summary": "sample string 4" }
application/xml, text/xml
Sample:
<AllergyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <AllergyCode>sample string 3</AllergyCode> <AllergyDescription>sample string 4</AllergyDescription> <AllergyID>1</AllergyID> <AllergyTableID>2</AllergyTableID> <AllergyType>Food</AllergyType> <Created> <DateUtc>2024-12-04T08:02:13.3424203+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <LastUpdated> <DateUtc>2024-12-04T08:02:13.3424203+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <Props xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" /> <RecordState>Active</RecordState> </AllergyDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� �N9�0���-G6�" 4��؊"9�lSDQ^F����8���n����ڃ4Fۢۦ ������Q��Ե�;�iT��d�͜�e]��~�]n�֗M=���:o�:x����*=� 2��!�EL�G\ $'˄'Lf�1���{YM��`�sUI�M=��,��G� ��f�s0���U��ί��E%�r�
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |