PUT v3/ranches/{ranchGuid}.json
Updates ranch information
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ranchGuid | globally unique identifier |
Required |
Body Parameters
RanchUpdateParamsName | Description | Type | Additional information |
---|---|---|---|
Name |
Ranch name. Must be no more than 255 characters in length |
string |
Required |
Coordinates |
Ranch coordinates. E.g. "34.813328, -113.541914" |
string |
Required |
Acres |
Optional field, used for usage statistics |
decimal number |
Range: inclusive between 0 and 2147483647 |
Request Formats
application/json, text/json, text/html
Sample:
{ "Name": "sample string 1", "Coordinates": "sample string 2", "Acres": 1.0 }
application/xml, text/xml
Sample:
<RanchUpdateParams xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Name>sample string 1</Name> <Coordinates>sample string 2</Coordinates> <Acres>1</Acres> </RanchUpdateParams>
Response Information
Resource Description
SuccessResponseName | Description | Type | Additional information |
---|---|---|---|
Message |
Response message |
string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{ "Message": "sample string 1" }
application/xml, text/xml
Sample:
<SuccessResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Message>sample string 1</Message> </SuccessResponse>