GET api/soil/nutrientindex_item/{nutrientid}/{indexid}

Individual Nutrient Index filtered from the supplied corresponding Nutrient ID and Index ID

Request Information

Authorization is required

Response Codes

  • OK (200)
  • BadRequest (400)
  • Unauthorized (401)
  • NotFound (404)

URI Parameters

NameDescriptionTypeAdditional information
nutrientid

The Nutrient ID to filter on

integer

Required

indexid

The Index ID to filter on

integer

Required

Body Parameters

None.

Response Information

Resource Description

Returns the Nutrient Index Value

nutrientindexitem
NameDescriptionTypeAdditional information
Index

The Text value for Nutrient Index

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Index": "sample string 1"
}

application/xml, text/xml

Sample:
<nutrientindexitem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RB209_WebApi.Models.Soil">
  <Index>sample string 1</Index>
</nutrientindexitem>