GET api/Types

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Types
NameDescriptionTypeAdditional information
TypeID

integer

None.

TypeName

string

None.

Comments

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TypeID": 1,
    "TypeName": "sample string 2",
    "Comments": "sample string 3"
  },
  {
    "TypeID": 1,
    "TypeName": "sample string 2",
    "Comments": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTypes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CenturyAPI">
  <Types>
    <Comments>sample string 3</Comments>
    <TypeID>1</TypeID>
    <TypeName>sample string 2</TypeName>
  </Types>
  <Types>
    <Comments>sample string 3</Comments>
    <TypeID>1</TypeID>
    <TypeName>sample string 2</TypeName>
  </Types>
</ArrayOfTypes>