POST api/Client/Definition/DeleteComment
Request Information
URI Parameters
None.
Body Parameters
CommentSearchModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| TeacherId | integer |
None. |
|
| ReservationId | integer |
None. |
|
| RegardingObjectType | integer |
None. |
|
| Type | integer |
None. |
|
| Message | string |
None. |
|
| CustomerFullName | string |
None. |
|
| TeacherFullName | string |
None. |
|
| PeriodId | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| CompanyId | integer |
None. |
|
| Id | integer |
None. |
|
| CreatedOn | date |
None. |
|
| ModifiedOn | date |
None. |
|
| Status | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"TeacherId": 1,
"ReservationId": 1,
"RegardingObjectType": 1,
"Type": 1,
"Message": "sample string 1",
"CustomerFullName": "sample string 2",
"TeacherFullName": "sample string 3",
"PeriodId": 1,
"CreatedBy": 4,
"CompanyId": 5,
"Id": 6,
"CreatedOn": "2025-10-25T21:12:29.4500539+03:00",
"ModifiedOn": "2025-10-25T21:12:29.4500539+03:00",
"Status": 7
}
application/xml, text/xml
Sample:
<CommentSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.Models.Client.Definition"> <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">2025-10-25T21:12:29.4500539+03:00</CreatedOn> <Id xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">6</Id> <ModifiedOn xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">2025-10-25T21:12:29.4500539+03:00</ModifiedOn> <Status xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">7</Status> <CompanyId>5</CompanyId> <CreatedBy>4</CreatedBy> <CustomerFullName>sample string 2</CustomerFullName> <CustomerId>1</CustomerId> <Message>sample string 1</Message> <PeriodId>1</PeriodId> <RegardingObjectType>1</RegardingObjectType> <ReservationId>1</ReservationId> <TeacherFullName>sample string 3</TeacherFullName> <TeacherId>1</TeacherId> <Type>1</Type> </CommentSearchModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | boolean |
None. |
|
| Message | string |
None. |
|
| Exception | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Response": true,
"Message": "sample string 2",
"Exception": "sample string 3"
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.Models"> <Exception>sample string 3</Exception> <Message>sample string 2</Message> <Response>true</Response> </ResultModel>