POST Clients/Allergy?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
validateOnly

boolean

Default value is False

Body Parameters

ClientAllergyDTO
NameDescriptionTypeAdditional information
ClientAllergyID

integer

None.

ClientID

integer

None.

AllergyID

integer

None.

AllergyType

AllergyType

None.

AllergyCode

string

None.

AllergyDescription

string

None.

ReportDate

date

None.

OnsetDate

date

None.

IsOnsetDateEstimated

boolean

None.

Severity

string

None.

Reaction

string

None.

InterventionAfterExposure

string

None.

Comments

string

None.

Sources

Collection of ClientAllergySourceDTO

None.

Props

Collection of Object

None.

RecordState

ClinicalRecordState

None.

CreatedByUserID

integer

None.

LastUpdatedByUserID

integer

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "clientAllergyID": 1,
  "clientID": 2,
  "allergyID": 3,
  "allergyType": 1,
  "allergyCode": "sample string 4",
  "allergyDescription": "sample string 5",
  "reportDate": "2024-12-04T08:10:10.1839827+00:00",
  "onsetDate": "2024-12-04T08:10:10.1839827+00:00",
  "isOnsetDateEstimated": true,
  "severity": "sample string 8",
  "reaction": "sample string 9",
  "interventionAfterExposure": "sample string 10",
  "comments": "sample string 11",
  "sources": [
    {
      "clientAllergyID": 1,
      "sourceEntryID": 2,
      "sourceDate": "2024-12-04T08:10:10.1839827+00:00",
      "sourceStatus": 1,
      "contactID": 1,
      "comments": "sample string 4",
      "recordState": 1,
      "createdByUserID": 5,
      "lastUpdatedByUserID": 6,
      "created": {
        "dateUtc": "2024-12-04T08:10:10.1839827+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:10:10 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:10:10.1839827+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:10:10 AM"
      },
      "sourceValue": "sample string 7",
      "summary": "sample string 7"
    },
    {
      "clientAllergyID": 1,
      "sourceEntryID": 2,
      "sourceDate": "2024-12-04T08:10:10.1839827+00:00",
      "sourceStatus": 1,
      "contactID": 1,
      "comments": "sample string 4",
      "recordState": 1,
      "createdByUserID": 5,
      "lastUpdatedByUserID": 6,
      "created": {
        "dateUtc": "2024-12-04T08:10:10.1839827+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:10:10 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:10:10.1839827+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:10:10 AM"
      },
      "sourceValue": "sample string 7",
      "summary": "sample string 7"
    }
  ],
  "recordState": 1,
  "createdByUserID": 12,
  "lastUpdatedByUserID": 13,
  "created": {
    "dateUtc": "2024-12-04T08:10:10.1839827+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:10:10 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:10:10.1839827+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:10:10 AM"
  }
}

application/xml, text/xml

Sample:
<ClientAllergyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <AllergyCode>sample string 4</AllergyCode>
  <AllergyDescription>sample string 5</AllergyDescription>
  <AllergyID>3</AllergyID>
  <AllergyType>Food</AllergyType>
  <ClientAllergyID>1</ClientAllergyID>
  <ClientID>2</ClientID>
  <Comments>sample string 11</Comments>
  <Created>
    <DateUtc>2024-12-04T08:10:10.1839827+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <CreatedByUserID>12</CreatedByUserID>
  <InterventionAfterExposure>sample string 10</InterventionAfterExposure>
  <IsOnsetDateEstimated>true</IsOnsetDateEstimated>
  <LastUpdated>
    <DateUtc>2024-12-04T08:10:10.1839827+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <LastUpdatedByUserID>13</LastUpdatedByUserID>
  <OnsetDate>2024-12-04T08:10:10.1839827+00:00</OnsetDate>
  <Props xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
  <Reaction>sample string 9</Reaction>
  <RecordState>Active</RecordState>
  <ReportDate>2024-12-04T08:10:10.1839827+00:00</ReportDate>
  <Severity>sample string 8</Severity>
  <Sources>
    <ClientAllergySourceDTO>
      <ClientAllergyID>1</ClientAllergyID>
      <Comments>sample string 4</Comments>
      <ContactID>1</ContactID>
      <Created>
        <DateUtc>2024-12-04T08:10:10.1839827+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <CreatedByUserID>5</CreatedByUserID>
      <LastUpdated>
        <DateUtc>2024-12-04T08:10:10.1839827+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <LastUpdatedByUserID>6</LastUpdatedByUserID>
      <RecordState>Active</RecordState>
      <SourceDate>2024-12-04T08:10:10.1839827+00:00</SourceDate>
      <SourceEntryID>2</SourceEntryID>
      <SourceStatus>Unknown</SourceStatus>
      <SourceValue>sample string 7</SourceValue>
    </ClientAllergySourceDTO>
    <ClientAllergySourceDTO>
      <ClientAllergyID>1</ClientAllergyID>
      <Comments>sample string 4</Comments>
      <ContactID>1</ContactID>
      <Created>
        <DateUtc>2024-12-04T08:10:10.1839827+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <CreatedByUserID>5</CreatedByUserID>
      <LastUpdated>
        <DateUtc>2024-12-04T08:10:10.1839827+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <LastUpdatedByUserID>6</LastUpdatedByUserID>
      <RecordState>Active</RecordState>
      <SourceDate>2024-12-04T08:10:10.1839827+00:00</SourceDate>
      <SourceEntryID>2</SourceEntryID>
      <SourceStatus>Unknown</SourceStatus>
      <SourceValue>sample string 7</SourceValue>
    </ClientAllergySourceDTO>
  </Sources>
</ClientAllergyDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
��R�N�0���+)�nJ�l�v`Z�`9���ؑ}���~��/pnڢ*-�C�H�ݽ{y~�_�"�Li湲��nD�{��!?�ԥZA���I�&Ne�6ӳ "��H9i�2�[�¬*�����)�:�wh4�q�(>�,�b޿�4��v�|�7cY��$`+���fP���+eB�=����W�����4��m/�!MQ ص���TV*��O���5�zM�9��f�	T�I�h��mr?�/Z!�M�n��Dg�ěz��������Lw��[,I�� �\!ǃ(�~r��(�m���Ư�+��`���rG���$�,�M�������kr�&_��#2a�@(�{N吜�7��O�@

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.