GET api/Requests/{id}/GetContractorsList

Возвращает список исполнителей для данной заявки

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Идентификатор заявки

integer

Required

Body Parameters

None.

Response Information

Success Resource Description

Возвращает сохранённые пользователем фильтры

Collection of UserNameViewModel
NameDescriptionTypeAdditional information
Id

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

integer

None.

Login

Логин пользователя

string

None.

FirstName

Имя пользователя

string

None.

LastName

Фамилия пользователя

string

None.

RegionId

Регион сотрудника

integer

None.

Appoint

Должность

string

None.

Organization

Организация

string

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,
    "Login": "sample string 2",
    "FirstName": "sample string 3",
    "LastName": "sample string 4",
    "RegionId": 5,
    "Appoint": "sample string 6",
    "Organization": "sample string 7"
  },
  {
    "Id": 1,
    "Login": "sample string 2",
    "FirstName": "sample string 3",
    "LastName": "sample string 4",
    "RegionId": 5,
    "Appoint": "sample string 6",
    "Organization": "sample string 7"
  }
]

text/html, multipart/form-data

Sample:
[{"Id":1,"Login":"sample string 2","FirstName":"sample string 3","LastName":"sample string 4","RegionId":5,"Appoint":"sample string 6","Organization":"sample string 7"},{"Id":1,"Login":"sample string 2","FirstName":"sample string 3","LastName":"sample string 4","RegionId":5,"Appoint":"sample string 6","Organization":"sample string 7"}]

application/xml, text/xml

Sample:
<ArrayOfUserNameViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGAT.TSSM.API.Models.Users">
  <UserNameViewModel>
    <Appoint>sample string 6</Appoint>
    <FirstName>sample string 3</FirstName>
    <Id>1</Id>
    <LastName>sample string 4</LastName>
    <Login>sample string 2</Login>
    <Organization>sample string 7</Organization>
    <RegionId>5</RegionId>
  </UserNameViewModel>
  <UserNameViewModel>
    <Appoint>sample string 6</Appoint>
    <FirstName>sample string 3</FirstName>
    <Id>1</Id>
    <LastName>sample string 4</LastName>
    <Login>sample string 2</Login>
    <Organization>sample string 7</Organization>
    <RegionId>5</RegionId>
  </UserNameViewModel>
</ArrayOfUserNameViewModel>