GET api/Types/Get?id={id}

Gets a specific type.

Request Information

Parameters

NameDescriptionAdditional information
id
The ID of the type.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "Parent": 1,
  "Category": 0
}

application/xml, text/xml

Sample:
<Type xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CapitalPlanner.Data.Models">
  <Category>Cost</Category>
  <ID>1</ID>
  <Name>sample string 2</Name>
  <Parent>1</Parent>
</Type>