GET api/Types
Gets all the types.
Response Information
Response body formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Name": "sample string 2",
"Parent": 1,
"Category": 0
},
{
"ID": 1,
"Name": "sample string 2",
"Parent": 1,
"Category": 0
},
{
"ID": 1,
"Name": "sample string 2",
"Parent": 1,
"Category": 0
}
]
application/xml, text/xml
Sample:
<ArrayOfType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CapitalPlanner.Data.Models">
<Type>
<Category>Cost</Category>
<ID>1</ID>
<Name>sample string 2</Name>
<Parent>1</Parent>
</Type>
<Type>
<Category>Cost</Category>
<ID>1</ID>
<Name>sample string 2</Name>
<Parent>1</Parent>
</Type>
<Type>
<Category>Cost</Category>
<ID>1</ID>
<Name>sample string 2</Name>
<Parent>1</Parent>
</Type>
</ArrayOfType>