GET api/tasktypes/{id}

Get a TaskType by id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The primary key of the taskType in the Hobsons database

integer

Required

Body Parameters

None.

Response Information

Resource Description

TaskTypeDto
NameDescriptionTypeAdditional information
Id

The primary key of the record in the Hobsons database.

integer

None.

Name

string

Required

String length: inclusive between 0 and 100

Inactive

boolean

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Inactive": true
}