POST api/Account/Authenticate
Request Information
URI Parameters
None.
Body Parameters
AccountAuthenticationRequestName | 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": "43585659-864f-4b6e-840f-6ccd05653c31", "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>43585659-864f-4b6e-840f-6ccd05653c31</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
AccountName | 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": "1c13fbaa-ab72-4960-beac-44c0f7248e90", "AgriaId": "sample string 1", "CustomerId": "e1626940-215a-4af0-8766-04a6762979af", "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>1c13fbaa-ab72-4960-beac-44c0f7248e90</AffiliateId> <AgriaId>sample string 1</AgriaId> <CustomerId>e1626940-215a-4af0-8766-04a6762979af</CustomerId> <SecurityRole>2</SecurityRole> </Account>