GET api/workNormative/jobTypes/{id}

Вид работ с идентификатором Id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

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

integer

Required

Body Parameters

None.

Response Information

Success Resource Description

Возвращает вид работ

JobTypeViewModel
NameDescriptionTypeAdditional information
Id

Код вида рвбот

integer

None.

RequestTypeId

ссылка на тип заявки

integer

None.

Name

Наименование вида работ

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,
  "RequestTypeId": 2,
  "Name": "sample string 3"
}

text/html, multipart/form-data

Sample:
{"Id":1,"RequestTypeId":2,"Name":"sample string 3"}

application/xml, text/xml

Sample:
<JobTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGAT.TSSM.API.Models.WorkNormative">
  <Id>1</Id>
  <Name>sample string 3</Name>
  <RequestTypeId>2</RequestTypeId>
</JobTypeViewModel>