POST Setup/Allergy?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
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-04T07:48:08.0187413+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:48:08 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:48:08.0187413+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:48:08 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-04T07:48:08.0187413+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <LastUpdated> <DateUtc>2024-12-04T07:48:08.0187413+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:
� �N= �0�Jx�/i��Mtq�E=@L��6$�PJO�������}��]ϗ��Ɵ�� ��^��K�#��|G��N�,�5$D_T'���_��|�bQW�O1oT��.���U�$�At�8D�j�P6A�ǹ��|�4�s��bj��[Y�a�MYJ�=RW����O��6Yl���!���w~�8�7����
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. |