GET api/field/siteclass_list
Site Class list
Request Information
Authorization is required
Response Codes
- OK (200)
- NotFound (404)
- BadRequest (400)
- Unauthorized (401)
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Returns a list of each item for the provided Site Class
Collection of siteclassName | Description | Type | Additional information |
---|---|---|---|
SiteClassID |
The ID value for a Site Class item |
integer |
None. |
SiteClassName |
The Text value for a Site Class item |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "SiteClassID": 1, "SiteClassName": "sample string 2" }, { "SiteClassID": 1, "SiteClassName": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfsiteclass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RB209_WebApi.Models.Field"> <siteclass> <SiteClassID>1</SiteClassID> <SiteClassName>sample string 2</SiteClassName> </siteclass> <siteclass> <SiteClassID>1</SiteClassID> <SiteClassName>sample string 2</SiteClassName> </siteclass> </ArrayOfsiteclass>