GET api/arable/potatovariety_item/{potatovarietyid}

Individual Potato Variety Text filtered from the supplied corresponding Potato Variety ID (only required for Arable Potato crops)

Request Information

Authorization is required

Response Codes

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

URI Parameters

NameDescriptionTypeAdditional information
potatovarietyid

The Potato Variety ID to filter on

integer

Required

Body Parameters

None.

Response Information

Resource Description

Returns the Potato Variety Text

potatovarietyitem
NameDescriptionTypeAdditional information
PotatoVarietyName

The Text value for Potato Variety

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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