POST api/Weather/GetCountDetails
Request Information
URI Parameters
None.
Body Parameters
CountDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| LanguageType | string |
None. |
|
| CropAdvisoryCount | integer |
None. |
|
| NotificationCount | integer |
None. |
|
| SurveyCount | integer |
None. |
|
| UsersCount | integer |
None. |
|
| RefreshDateTime | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"LanguageType": "sample string 2",
"CropAdvisoryCount": 3,
"NotificationCount": 4,
"SurveyCount": 5,
"UsersCount": 6,
"RefreshDateTime": "sample string 7"
}
application/xml, text/xml
Sample:
<CountDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGROMET_WEATHER"> <CropAdvisoryCount>3</CropAdvisoryCount> <ID>1</ID> <LanguageType>sample string 2</LanguageType> <NotificationCount>4</NotificationCount> <RefreshDateTime>sample string 7</RefreshDateTime> <SurveyCount>5</SurveyCount> <UsersCount>6</UsersCount> </CountDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CountResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful | boolean |
None. |
|
| SuccessMessage | string |
None. |
|
| ErrorMessage | string |
None. |
|
| ObjCounttwo | Collection of CountDetails |
None. |
|
| ObjCountone | Collection of CountDetails |
None. |
|
| ObjCount | CountDetails |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccessful": true,
"SuccessMessage": "sample string 2",
"ErrorMessage": "sample string 3",
"ObjCounttwo": [
{
"ID": 1,
"LanguageType": "sample string 2",
"CropAdvisoryCount": 3,
"NotificationCount": 4,
"SurveyCount": 5,
"UsersCount": 6,
"RefreshDateTime": "sample string 7"
},
{
"ID": 1,
"LanguageType": "sample string 2",
"CropAdvisoryCount": 3,
"NotificationCount": 4,
"SurveyCount": 5,
"UsersCount": 6,
"RefreshDateTime": "sample string 7"
}
],
"ObjCountone": [
{
"ID": 1,
"LanguageType": "sample string 2",
"CropAdvisoryCount": 3,
"NotificationCount": 4,
"SurveyCount": 5,
"UsersCount": 6,
"RefreshDateTime": "sample string 7"
},
{
"ID": 1,
"LanguageType": "sample string 2",
"CropAdvisoryCount": 3,
"NotificationCount": 4,
"SurveyCount": 5,
"UsersCount": 6,
"RefreshDateTime": "sample string 7"
}
],
"ObjCount": {
"ID": 1,
"LanguageType": "sample string 2",
"CropAdvisoryCount": 3,
"NotificationCount": 4,
"SurveyCount": 5,
"UsersCount": 6,
"RefreshDateTime": "sample string 7"
}
}
application/xml, text/xml
Sample:
<CountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGROMET_WEATHER">
<ErrorMessage>sample string 3</ErrorMessage>
<IsSuccessful>true</IsSuccessful>
<ObjCount>
<CropAdvisoryCount>3</CropAdvisoryCount>
<ID>1</ID>
<LanguageType>sample string 2</LanguageType>
<NotificationCount>4</NotificationCount>
<RefreshDateTime>sample string 7</RefreshDateTime>
<SurveyCount>5</SurveyCount>
<UsersCount>6</UsersCount>
</ObjCount>
<ObjCountone>
<CountDetails>
<CropAdvisoryCount>3</CropAdvisoryCount>
<ID>1</ID>
<LanguageType>sample string 2</LanguageType>
<NotificationCount>4</NotificationCount>
<RefreshDateTime>sample string 7</RefreshDateTime>
<SurveyCount>5</SurveyCount>
<UsersCount>6</UsersCount>
</CountDetails>
<CountDetails>
<CropAdvisoryCount>3</CropAdvisoryCount>
<ID>1</ID>
<LanguageType>sample string 2</LanguageType>
<NotificationCount>4</NotificationCount>
<RefreshDateTime>sample string 7</RefreshDateTime>
<SurveyCount>5</SurveyCount>
<UsersCount>6</UsersCount>
</CountDetails>
</ObjCountone>
<ObjCounttwo>
<CountDetails>
<CropAdvisoryCount>3</CropAdvisoryCount>
<ID>1</ID>
<LanguageType>sample string 2</LanguageType>
<NotificationCount>4</NotificationCount>
<RefreshDateTime>sample string 7</RefreshDateTime>
<SurveyCount>5</SurveyCount>
<UsersCount>6</UsersCount>
</CountDetails>
<CountDetails>
<CropAdvisoryCount>3</CropAdvisoryCount>
<ID>1</ID>
<LanguageType>sample string 2</LanguageType>
<NotificationCount>4</NotificationCount>
<RefreshDateTime>sample string 7</RefreshDateTime>
<SurveyCount>5</SurveyCount>
<UsersCount>6</UsersCount>
</CountDetails>
</ObjCounttwo>
<SuccessMessage>sample string 2</SuccessMessage>
</CountResponse>