POST api/Client/Definition/GetComment
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:04:11.1299068+03:00",
"ModifiedOn": "2025-10-25T21:04:11.1299068+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:04:11.1299068+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:04:11.1299068+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
ResultModelOfListOfCommentResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | boolean |
None. |
|
| Message | string |
None. |
|
| Exception | string |
None. |
|
| Data | Collection of CommentResponseModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Response": true,
"Message": "sample string 2",
"Exception": "sample string 3",
"Data": [
{
"CustomerId": 1,
"TeacherId": 1,
"ReservationId": 1,
"RegardingObjectType": 1,
"Type": 1,
"Message": "sample string 1",
"CustomerFullName": "sample string 2",
"TeacherFullName": "sample string 3",
"PeriodName": "sample string 4",
"PeriodId": 1,
"Id": 5,
"CreatedOn": "2025-10-25T21:04:11.1454967+03:00",
"ModifiedOn": "2025-10-25T21:04:11.1454967+03:00",
"Status": 6
},
{
"CustomerId": 1,
"TeacherId": 1,
"ReservationId": 1,
"RegardingObjectType": 1,
"Type": 1,
"Message": "sample string 1",
"CustomerFullName": "sample string 2",
"TeacherFullName": "sample string 3",
"PeriodName": "sample string 4",
"PeriodId": 1,
"Id": 5,
"CreatedOn": "2025-10-25T21:04:11.1454967+03:00",
"ModifiedOn": "2025-10-25T21:04:11.1454967+03:00",
"Status": 6
}
]
}
application/xml, text/xml
Sample:
<ResultModelOfArrayOfCommentResponseModelIjrq4xa9 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Entities.Models.Client.Definition">
<d2p1:CommentResponseModel>
<CreatedOn>2025-10-25T21:04:11.1454967+03:00</CreatedOn>
<Id>5</Id>
<ModifiedOn>2025-10-25T21:04:11.1454967+03:00</ModifiedOn>
<Status>6</Status>
<d2p1:CustomerFullName>sample string 2</d2p1:CustomerFullName>
<d2p1:CustomerId>1</d2p1:CustomerId>
<d2p1:Message>sample string 1</d2p1:Message>
<d2p1:PeriodId>1</d2p1:PeriodId>
<d2p1:PeriodName>sample string 4</d2p1:PeriodName>
<d2p1:RegardingObjectType>1</d2p1:RegardingObjectType>
<d2p1:ReservationId>1</d2p1:ReservationId>
<d2p1:TeacherFullName>sample string 3</d2p1:TeacherFullName>
<d2p1:TeacherId>1</d2p1:TeacherId>
<d2p1:Type>1</d2p1:Type>
</d2p1:CommentResponseModel>
<d2p1:CommentResponseModel>
<CreatedOn>2025-10-25T21:04:11.1454967+03:00</CreatedOn>
<Id>5</Id>
<ModifiedOn>2025-10-25T21:04:11.1454967+03:00</ModifiedOn>
<Status>6</Status>
<d2p1:CustomerFullName>sample string 2</d2p1:CustomerFullName>
<d2p1:CustomerId>1</d2p1:CustomerId>
<d2p1:Message>sample string 1</d2p1:Message>
<d2p1:PeriodId>1</d2p1:PeriodId>
<d2p1:PeriodName>sample string 4</d2p1:PeriodName>
<d2p1:RegardingObjectType>1</d2p1:RegardingObjectType>
<d2p1:ReservationId>1</d2p1:ReservationId>
<d2p1:TeacherFullName>sample string 3</d2p1:TeacherFullName>
<d2p1:TeacherId>1</d2p1:TeacherId>
<d2p1:Type>1</d2p1:Type>
</d2p1:CommentResponseModel>
</Data>
<Exception>sample string 3</Exception>
<Message>sample string 2</Message>
<Response>true</Response>
</ResultModelOfArrayOfCommentResponseModelIjrq4xa9>