GET api/v2/Borders/GetFields/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of FieldModel
NameDescriptionTypeAdditional information
BorderId

integer

None.

ClientId

integer

None.

CropYear

integer

None.

FarmName

string

None.

FieldName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "borderId": 1,
    "clientId": 2,
    "cropYear": 3,
    "farmName": "sample string 4",
    "fieldName": "sample string 5"
  },
  {
    "borderId": 1,
    "clientId": 2,
    "cropYear": 3,
    "farmName": "sample string 4",
    "fieldName": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFieldModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web_Api.Models.WebApi">
  <FieldModel>
    <BorderId>1</BorderId>
    <ClientId>2</ClientId>
    <CropYear>3</CropYear>
    <FarmName>sample string 4</FarmName>
    <FieldName>sample string 5</FieldName>
  </FieldModel>
  <FieldModel>
    <BorderId>1</BorderId>
    <ClientId>2</ClientId>
    <CropYear>3</CropYear>
    <FarmName>sample string 4</FarmName>
    <FieldName>sample string 5</FieldName>
  </FieldModel>
</ArrayOfFieldModel>