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": "91bec1e9-78cb-4f72-a927-8e6969e33235", "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>91bec1e9-78cb-4f72-a927-8e6969e33235</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": "a06bbd6e-42ee-4eef-b365-390b9345c320", "AgriaId": "sample string 1", "CustomerId": "69bca1b7-d6a1-4cfa-87d6-c61172a3c001", "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>a06bbd6e-42ee-4eef-b365-390b9345c320</AffiliateId> <AgriaId>sample string 1</AgriaId> <CustomerId>69bca1b7-d6a1-4cfa-87d6-c61172a3c001</CustomerId> <SecurityRole>2</SecurityRole> </Account>