GET api/soil/soiltype_list
The full list of available Soil Types
Request Information
Authorization is required
Response Codes
- OK (200)
- BadRequest (400)
- Unauthorized (401)
- NotFound (404)
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Returns a list of all available Soil Types
Collection of soiltype| Name | Description | Type | Additional information |
|---|---|---|---|
| SoilTypeID |
The ID value for a Soil Type item |
integer |
None. |
| SoilTypeName |
The Text value for a Soil Type item |
string |
None. |
| KReleasingClay |
Whether the Soil Type has the option of K Releasing or not |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"SoilTypeID": 1,
"SoilTypeName": "sample string 2",
"KReleasingClay": true
},
{
"SoilTypeID": 1,
"SoilTypeName": "sample string 2",
"KReleasingClay": true
}
]
application/xml, text/xml
Sample:
<ArrayOfsoiltype xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RB209_WebApi.Models.Soil">
<soiltype>
<KReleasingClay>true</KReleasingClay>
<SoilTypeID>1</SoilTypeID>
<SoilTypeName>sample string 2</SoilTypeName>
</soiltype>
<soiltype>
<KReleasingClay>true</KReleasingClay>
<SoilTypeID>1</SoilTypeID>
<SoilTypeName>sample string 2</SoilTypeName>
</soiltype>
</ArrayOfsoiltype>