POST api/PostSourceKnowledge
Request Information
URI Parameters
None.
Body Parameters
SourceOfKnowledge_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| SrcID | integer |
None. |
|
| UserId | integer |
None. |
|
| State_Agriculture_Departments | boolean |
None. |
|
| KVK | boolean |
None. |
|
| SAU | boolean |
None. |
|
| ICAR | boolean |
None. |
|
| HelpLIne | boolean |
None. |
|
| Meetings | boolean |
None. |
|
| Trainings | boolean |
None. |
|
| TV | boolean |
None. |
|
| Radio | boolean |
None. |
|
| SMS | boolean |
None. |
|
| Progressive_Farmers | boolean |
None. |
|
| Extension_Workers | boolean |
None. |
|
| Machine_Ipaddress | string |
None. |
|
| ModuleName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SrcID": 1,
"UserId": 2,
"State_Agriculture_Departments": true,
"KVK": true,
"SAU": true,
"ICAR": true,
"HelpLIne": true,
"Meetings": true,
"Trainings": true,
"TV": true,
"Radio": true,
"SMS": true,
"Progressive_Farmers": true,
"Extension_Workers": true,
"Machine_Ipaddress": "sample string 3",
"ModuleName": "sample string 4"
}
application/xml, text/xml
Sample:
<SourceOfKnowledge_Input xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WDD_Models"> <Extension_Workers>true</Extension_Workers> <HelpLIne>true</HelpLIne> <ICAR>true</ICAR> <KVK>true</KVK> <Machine_Ipaddress>sample string 3</Machine_Ipaddress> <Meetings>true</Meetings> <ModuleName>sample string 4</ModuleName> <Progressive_Farmers>true</Progressive_Farmers> <Radio>true</Radio> <SAU>true</SAU> <SMS>true</SMS> <SrcID>1</SrcID> <State_Agriculture_Departments>true</State_Agriculture_Departments> <TV>true</TV> <Trainings>true</Trainings> <UserId>2</UserId> </SourceOfKnowledge_Input>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.