POST api/minor/GetFarmer
Request Information
URI Parameters
None.
Body Parameters
ReqFarmerData| Name | Description | Type | Additional information |
|---|---|---|---|
| ApiUserName | string |
None. |
|
| Token | string |
None. |
|
| FinYearid | string |
None. |
|
| Schemeid | string |
None. |
|
| OfficeCode | string |
None. |
|
| PanhayatCode | string |
None. |
|
| VillageCode | string |
None. |
|
| Procid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ApiUserName": "sample string 1",
"Token": "sample string 2",
"FinYearid": "sample string 3",
"Schemeid": "sample string 4",
"OfficeCode": "sample string 5",
"PanhayatCode": "sample string 6",
"VillageCode": "sample string 7",
"Procid": 8
}
application/xml, text/xml
Sample:
<ReqFarmerData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MinorAPI.Models"> <ApiUserName>sample string 1</ApiUserName> <FinYearid>sample string 3</FinYearid> <OfficeCode>sample string 5</OfficeCode> <PanhayatCode>sample string 6</PanhayatCode> <Procid>8</Procid> <Schemeid>sample string 4</Schemeid> <Token>sample string 2</Token> <VillageCode>sample string 7</VillageCode> </ReqFarmerData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RespMasterData| Name | Description | Type | Additional information |
|---|---|---|---|
| respCode | string |
None. |
|
| respMessage | string |
None. |
|
| Data | Collection of MasterData |
None. |
Response Formats
application/json, text/json
Sample:
{
"respCode": "sample string 1",
"respMessage": "sample string 2",
"Data": [
{
"MasterId": 1,
"MasterName": "sample string 2"
},
{
"MasterId": 1,
"MasterName": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<RespMasterData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MinorAPI.Models">
<Data>
<MasterData>
<MasterId>1</MasterId>
<MasterName>sample string 2</MasterName>
</MasterData>
<MasterData>
<MasterId>1</MasterId>
<MasterName>sample string 2</MasterName>
</MasterData>
</Data>
<respCode>sample string 1</respCode>
<respMessage>sample string 2</respMessage>
</RespMasterData>