GET api/Authentication/Get?email={email}&password={password}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| string |
Required |
||
| password | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Farmer| Name | Description | Type | Additional information |
|---|---|---|---|
| FarmerID | integer |
None. |
|
| FirstName | string |
Required Max length: 50 |
|
| LastName | string |
Max length: 200 |
|
| string |
Max length: 200 |
||
| Password | string |
None. |
|
| Phone | string |
None. |
|
| Address | string |
None. |
|
| Gender | string |
None. |
|
| State | string |
None. |
|
| City | string |
None. |
|
| FCode | string |
None. |
|
| FatherName | string |
None. |
|
| Image | Image |
None. |
Response Formats
application/xml, text/xml
Sample:
<Farmer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebFarmApi.Models"> <Address>sample string 7</Address> <City>sample string 10</City> <Email>sample string 4</Email> <FCode>sample string 11</FCode> <FarmerID>1</FarmerID> <FatherName>sample string 12</FatherName> <FirstName>sample string 2</FirstName> <Gender>sample string 8</Gender> <Image xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Drawing" i:nil="true" /> <LastName>sample string 3</LastName> <Password>sample string 5</Password> <Phone>sample string 6</Phone> <State>sample string 9</State> </Farmer>