GET api/unitclasses/{unitClassId}

Gets the unit class by identifier.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
unitClassId

The unit class identifier.

integer

Required

Body Parameters

None.

Response Information

Resource Description

UnitClassViewModel
NameDescriptionTypeAdditional information
Id

integer

Required

Name

string

Required

Invalid Chars: .!@#$%^&*\|`~=+/?<>()[],"'

Max length: 30

BaseClassId

integer

None.

Links

Gets the links.

Collection of LinkModel

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "baseClassId": 1
}

application/xml, text/xml

Sample:
<UnitClassViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TelogWebAPI.Models">
  <BaseClassId>1</BaseClassId>
  <Id>1</Id>
  <Name>sample string 2</Name>
</UnitClassViewModel>