POST api/GetvotersBySearch
Request Information
URI Parameters
None.
Body Parameters
Voter| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| part_no | integer |
None. |
|
| serial_no | string |
None. |
|
| voter_card_no | string |
None. |
|
| voter_name | string |
None. |
|
| relative_name | string |
None. |
|
| relation | string |
None. |
|
| age | integer |
None. |
|
| gender | string |
None. |
|
| house_no | string |
None. |
|
| AssemblyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"part_no": 1,
"serial_no": "sample string 2",
"voter_card_no": "sample string 3",
"voter_name": "sample string 4",
"relative_name": "sample string 5",
"relation": "sample string 6",
"age": 1,
"gender": "sample string 7",
"house_no": "sample string 8",
"AssemblyId": 1
}
application/xml, text/xml
Sample:
<Voter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/findmyvote_api.DBContext"> <AssemblyId>1</AssemblyId> <Id>1</Id> <age>1</age> <gender>sample string 7</gender> <house_no>sample string 8</house_no> <part_no>1</part_no> <relation>sample string 6</relation> <relative_name>sample string 5</relative_name> <serial_no>sample string 2</serial_no> <voter_card_no>sample string 3</voter_card_no> <voter_name>sample string 4</voter_name> </Voter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.