POST v2/ranches/{ranchGuid}/weather-stations.{ext}
Add weather stations to a ranch.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ranchGuid |
ranch GUID |
globally unique identifier |
Required |
Body Parameters
an array of ranch station IDs
WeatherStationsBatchAddModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Ids |
a list of weather station IDs |
Collection of integer |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"Ids": [
1,
2
]
}
application/xml, text/xml
Sample:
<WeatherStationsBatchAddModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Ids>
<int>1</int>
<int>2</int>
</Ids>
</WeatherStationsBatchAddModel>
Response Information
Resource Description
SuccessResponse| Name | 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>