POST api/Question/QuestionsByRegion_Filters
Получения списка заявок с фильтрами
Request Information
URI Parameters
None.
Body Parameters
GetQuestionFiltersPost| Name | Description | Type | Additional information |
|---|---|---|---|
| employeeID |
Id сотрудника |
integer |
None. |
| dateStart |
Дата от |
string |
None. |
| dateEnd |
Дата до |
string |
None. |
| isReglament |
Регламент |
boolean |
None. |
| AreaID |
Id ветки |
Collection of integer |
None. |
| withCredit | boolean |
None. |
|
| showDone |
Выполненные |
boolean |
None. |
| showUndone |
Не выполненные |
boolean |
None. |
| showInwork |
В работе |
boolean |
None. |
| showNew |
Показать новые |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"employeeID": 1,
"dateStart": "sample string 2",
"dateEnd": "sample string 3",
"isReglament": true,
"AreaID": [
1,
2
],
"withCredit": true,
"showDone": true,
"showUndone": true,
"showInwork": true,
"showNew": true
}
application/xml, text/xml
Sample:
<GetQuestionFiltersPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceApi.Models">
<AreaID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</AreaID>
<dateEnd>sample string 3</dateEnd>
<dateStart>sample string 2</dateStart>
<employeeID>1</employeeID>
<isReglament>true</isReglament>
<showDone>true</showDone>
<showInwork>true</showInwork>
<showNew>true</showNew>
<showUndone>true</showUndone>
<withCredit>true</withCredit>
</GetQuestionFiltersPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetQuestionsResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Data |
Лист заявок |
Collection of OneQuestion |
None. |
| Result |
Результат обработки запроса |
boolean |
None. |
| Message |
Сообщение |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"Id": 1,
"Code": 2,
"Address": "sample string 3",
"Date": "2026-02-04T02:05:14.809415+00:00",
"Created": "2026-02-04T02:05:14.809415+00:00",
"Comment": "sample string 4",
"ReasonId": "sample string 5",
"Reason": "sample string 6",
"AnswerReason": "sample string 7",
"Time": "sample string 8",
"Employee": 9,
"EmployeeName": "sample string 10",
"Performer": "sample string 11",
"AnswerCreated": "2026-02-04T02:05:14.809415+00:00",
"AnswerComment": "sample string 12"
},
{
"Id": 1,
"Code": 2,
"Address": "sample string 3",
"Date": "2026-02-04T02:05:14.809415+00:00",
"Created": "2026-02-04T02:05:14.809415+00:00",
"Comment": "sample string 4",
"ReasonId": "sample string 5",
"Reason": "sample string 6",
"AnswerReason": "sample string 7",
"Time": "sample string 8",
"Employee": 9,
"EmployeeName": "sample string 10",
"Performer": "sample string 11",
"AnswerCreated": "2026-02-04T02:05:14.809415+00:00",
"AnswerComment": "sample string 12"
}
],
"Result": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<GetQuestionsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceApi.Models">
<Message>sample string 2</Message>
<Result>true</Result>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Data.Models.dto">
<d2p1:OneQuestion>
<d2p1:Address>sample string 3</d2p1:Address>
<d2p1:AnswerComment>sample string 12</d2p1:AnswerComment>
<d2p1:AnswerCreated>2026-02-04T02:05:14.809415+00:00</d2p1:AnswerCreated>
<d2p1:AnswerReason>sample string 7</d2p1:AnswerReason>
<d2p1:Code>2</d2p1:Code>
<d2p1:Comment>sample string 4</d2p1:Comment>
<d2p1:Created>2026-02-04T02:05:14.809415+00:00</d2p1:Created>
<d2p1:Date>2026-02-04T02:05:14.809415+00:00</d2p1:Date>
<d2p1:Employee>9</d2p1:Employee>
<d2p1:EmployeeName>sample string 10</d2p1:EmployeeName>
<d2p1:Id>1</d2p1:Id>
<d2p1:Performer>sample string 11</d2p1:Performer>
<d2p1:Reason>sample string 6</d2p1:Reason>
<d2p1:ReasonId>sample string 5</d2p1:ReasonId>
<d2p1:Time>sample string 8</d2p1:Time>
</d2p1:OneQuestion>
<d2p1:OneQuestion>
<d2p1:Address>sample string 3</d2p1:Address>
<d2p1:AnswerComment>sample string 12</d2p1:AnswerComment>
<d2p1:AnswerCreated>2026-02-04T02:05:14.809415+00:00</d2p1:AnswerCreated>
<d2p1:AnswerReason>sample string 7</d2p1:AnswerReason>
<d2p1:Code>2</d2p1:Code>
<d2p1:Comment>sample string 4</d2p1:Comment>
<d2p1:Created>2026-02-04T02:05:14.809415+00:00</d2p1:Created>
<d2p1:Date>2026-02-04T02:05:14.809415+00:00</d2p1:Date>
<d2p1:Employee>9</d2p1:Employee>
<d2p1:EmployeeName>sample string 10</d2p1:EmployeeName>
<d2p1:Id>1</d2p1:Id>
<d2p1:Performer>sample string 11</d2p1:Performer>
<d2p1:Reason>sample string 6</d2p1:Reason>
<d2p1:ReasonId>sample string 5</d2p1:ReasonId>
<d2p1:Time>sample string 8</d2p1:Time>
</d2p1:OneQuestion>
</Data>
</GetQuestionsResult>