POST api/ClientAllergies/PutClientAllergy
Request Information
URI Parameters
None.
Body Parameters
ClientAllergyDto| Name | Description | Type | Additional 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. |
Request 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:17:43.4578666+01:00",
"UpdatedDate": "2026-06-30T14:17:43.4578666+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:17:43.4578666+01:00</CreatedDate> <ID>1</ID> <IsDelete>true</IsDelete> <UpdatedBy>1</UpdatedBy> <UpdatedDate>2026-06-30T14:17:43.4578666+01:00</UpdatedDate> </ClientAllergyDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>