POST api/Account/Authenticate
Request Information
URI Parameters
None.
Body Parameters
AccountAuthenticationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| AgriaId | string |
None. |
|
| BrandId | globally unique identifier |
None. |
|
| EmailAddress | string |
None. |
|
| Password | string |
None. |
|
| Postcode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AgriaId": "sample string 1",
"BrandId": "ec544a72-ffd4-4318-a518-3366461db28d",
"EmailAddress": "sample string 2",
"Password": "*******",
"Postcode": "sample string 4"
}
application/xml, text/xml
Sample:
<AccountAuthenticationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <AgriaId>sample string 1</AgriaId> <BrandId>ec544a72-ffd4-4318-a518-3366461db28d</BrandId> <EmailAddress>sample string 2</EmailAddress> <Password>sample string 3</Password> <Postcode>sample string 4</Postcode> </AccountAuthenticationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Account| Name | Description | Type | Additional information |
|---|---|---|---|
| AffiliateId | globally unique identifier |
None. |
|
| AgriaId | string |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| SecurityRole | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"AffiliateId": "1497e3d7-afa6-40b3-931b-e32e06480525",
"AgriaId": "sample string 1",
"CustomerId": "c7fbaea1-ced7-4fbb-9a73-87abaa7cb729",
"SecurityRole": 2
}
application/xml, text/xml
Sample:
<Account xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <AffiliateId>1497e3d7-afa6-40b3-931b-e32e06480525</AffiliateId> <AgriaId>sample string 1</AgriaId> <CustomerId>c7fbaea1-ced7-4fbb-9a73-87abaa7cb729</CustomerId> <SecurityRole>2</SecurityRole> </Account>