GET api/TaskUserFilters

Получить все фильтры задач пользователя

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Success Resource Description

Collection of UserTaskFilterModel
NameDescriptionTypeAdditional information
Id

Идентификатор пользовательского фильтра

integer

Элемент не учитывается при создании/вставке

Name

Наименование пользовательского фильтра

string

Элемент является обязательным при сохранении

Filter

Содержимое фильтра

TaskFilter

None.

Error Resource Description (Реализовано не везде)

OperationResult
NameDescriptionTypeAdditional information
Target

Возвращаемый объект

Object

None.

Status

Статус операции

ResultStatus

None.

Error

Детализация ошибки

Error

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Filter": {
      "Initiators": [
        1,
        2
      ],
      "Contractors": [
        1,
        2
      ],
      "Statuses": [
        1,
        2
      ],
      "HashTags": [
        1,
        2
      ],
      "BeginCreateDate": "2022-08-17T03:27:21+03:00",
      "EndCreateDate": "2022-08-17T03:27:21+03:00"
    }
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Filter": {
      "Initiators": [
        1,
        2
      ],
      "Contractors": [
        1,
        2
      ],
      "Statuses": [
        1,
        2
      ],
      "HashTags": [
        1,
        2
      ],
      "BeginCreateDate": "2022-08-17T03:27:21+03:00",
      "EndCreateDate": "2022-08-17T03:27:21+03:00"
    }
  }
]

text/html, multipart/form-data

Sample:
[{"Id":1,"Name":"sample string 2","Filter":{"Initiators":[1,2],"Contractors":[1,2],"Statuses":[1,2],"HashTags":[1,2],"BeginCreateDate":"2022-08-17T03:27:21+03:00","EndCreateDate":"2022-08-17T03:27:21+03:00"}},{"Id":1,"Name":"sample string 2","Filter":{"Initiators":[1,2],"Contractors":[1,2],"Statuses":[1,2],"HashTags":[1,2],"BeginCreateDate":"2022-08-17T03:27:21+03:00","EndCreateDate":"2022-08-17T03:27:21+03:00"}}]

application/xml, text/xml

Sample:
<ArrayOfUserTaskFilterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGAT.TSSM.API.Models.Tasks">
  <UserTaskFilterModel>
    <Filter xmlns:d3p1="http://schemas.datacontract.org/2004/07/AGAT.TSSM.Logic.Filtering">
      <d3p1:BeginCreateDate>2022-08-17T03:27:21.7332576+03:00</d3p1:BeginCreateDate>
      <d3p1:Contractors xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d3p1:Contractors>
      <d3p1:EndCreateDate>2022-08-17T03:27:21.7332576+03:00</d3p1:EndCreateDate>
      <d3p1:HashTags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d3p1:HashTags>
      <d3p1:Initiators xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d3p1:Initiators>
      <d3p1:Statuses xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d3p1:Statuses>
    </Filter>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </UserTaskFilterModel>
  <UserTaskFilterModel>
    <Filter xmlns:d3p1="http://schemas.datacontract.org/2004/07/AGAT.TSSM.Logic.Filtering">
      <d3p1:BeginCreateDate>2022-08-17T03:27:21.7332576+03:00</d3p1:BeginCreateDate>
      <d3p1:Contractors xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d3p1:Contractors>
      <d3p1:EndCreateDate>2022-08-17T03:27:21.7332576+03:00</d3p1:EndCreateDate>
      <d3p1:HashTags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d3p1:HashTags>
      <d3p1:Initiators xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d3p1:Initiators>
      <d3p1:Statuses xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d3p1:Statuses>
    </Filter>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </UserTaskFilterModel>
</ArrayOfUserTaskFilterModel>