GET api/ClientAllergies/GetByID/{ID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

ClientAllergyDto
NameDescriptionTypeAdditional information
ID

integer

None.

ClientID

integer

None.

ClientName

string

None.

AllergyName

string

None.

AllergyImage

string

None.

IsDelete

boolean

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

CreatedDate

date

None.

UpdatedDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "ClientID": 1,
  "ClientName": "sample string 2",
  "AllergyName": "sample string 3",
  "AllergyImage": "sample string 4",
  "IsDelete": true,
  "CreatedBy": 1,
  "UpdatedBy": 1,
  "CreatedDate": "2026-06-30T14:18:53.3547264+01:00",
  "UpdatedDate": "2026-06-30T14:18:53.3547264+01:00"
}

text/xml

Sample:
<ClientAllergyDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Models">
  <AllergyImage>sample string 4</AllergyImage>
  <AllergyName>sample string 3</AllergyName>
  <ClientID>1</ClientID>
  <ClientName>sample string 2</ClientName>
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2026-06-30T14:18:53.3547264+01:00</CreatedDate>
  <ID>1</ID>
  <IsDelete>true</IsDelete>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedDate>2026-06-30T14:18:53.3547264+01:00</UpdatedDate>
</ClientAllergyDto>