GET api/workNormative/{id}/ResponsibilityUsers

Список пользователей из группы ответственности для норматива

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

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

integer

Required

Body Parameters

None.

Response Information

Success Resource Description

Список пользователей

Collection of EmployeeViewModel
NameDescriptionTypeAdditional information
Id

Идентификатор сотрудника

integer

None.

FirstName

Имя сотрудника

string

None.

LastName

Фамилия сотрудника

string

None.

Position

Должность

string

None.

Department

Отдел сотрудника

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

text/html, multipart/form-data

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

application/xml, text/xml

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