GET v2/ranches/{ranchGuid}/permissions.{ext}

Retrieves a user's ranch planting permissions.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ranchGuid

Ranch GUID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

RanchPlantingsPermissions
NameDescriptionTypeAdditional information
RanchName

string

None.

RanchExternalGuid

globally unique identifier

None.

UserIsRanchOwner

boolean

None.

UserCanEditPlanting

boolean

None.

UserCanEditFertilizationEvent

boolean

None.

UserCanEditIrrigationEvent

boolean

None.

UserCanEditSoilSampleEvent

boolean

None.

UserCanEditRanch

boolean

None.

UserCanDataExport

boolean

None.

HasActivePlantings

boolean

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "RanchName": "sample string 1",
  "RanchExternalGuid": "1064202c-7d3c-474e-a808-b1b7e70de6f6",
  "UserIsRanchOwner": true,
  "UserCanEditPlanting": true,
  "UserCanEditFertilizationEvent": true,
  "UserCanEditIrrigationEvent": true,
  "UserCanEditSoilSampleEvent": true,
  "UserCanEditRanch": true,
  "UserCanDataExport": true,
  "HasActivePlantings": true
}

application/xml, text/xml

Sample:
<RanchPlantingsPermissions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <RanchName>sample string 1</RanchName>
  <RanchExternalGuid>1064202c-7d3c-474e-a808-b1b7e70de6f6</RanchExternalGuid>
  <UserIsRanchOwner>true</UserIsRanchOwner>
  <UserCanEditPlanting>true</UserCanEditPlanting>
  <UserCanEditFertilizationEvent>true</UserCanEditFertilizationEvent>
  <UserCanEditIrrigationEvent>true</UserCanEditIrrigationEvent>
  <UserCanEditSoilSampleEvent>true</UserCanEditSoilSampleEvent>
  <UserCanEditRanch>true</UserCanEditRanch>
  <UserCanDataExport>true</UserCanDataExport>
  <HasActivePlantings>true</HasActivePlantings>
</RanchPlantingsPermissions>