GET api/tags/{id}

Get a Tag by id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The primary key of the tag in the Hobsons database.

integer

Required

Body Parameters

None.

Response Information

Resource Description

TagDto
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

TagTypeId

The identifier of the TagType associated with the given record.

integer

Range: inclusive between 1 and 99999999

TagTypeName

The name of the TagType associated with the given record.

string

None.

Inactive

boolean

Required

Response Formats

application/json, text/json

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