GET v2/soil-types.{ext}

Returns a list of all soil types in the database. This is a simple list of soil types. To retrieve soil types in more detail, call /soil-types/list.{ext}

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of SoilTypeBasic
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2"
  },
  {
    "Id": 1,
    "Name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSoilTypeBasic xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SoilTypeBasic>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </SoilTypeBasic>
  <SoilTypeBasic>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </SoilTypeBasic>
</ArrayOfSoilTypeBasic>