GET v2/ranches/{ranchGuid}/permissions.{ext}
Retrieves a user's ranch planting permissions.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ranchGuid |
Ranch GUID |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
RanchPlantingsPermissionsName | Description | Type | Additional 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": "dae80205-bf3d-40a9-8084-22602cd038a2", "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>dae80205-bf3d-40a9-8084-22602cd038a2</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>