POST authenticate
Request Information
URI Parameters
None.
Body Parameters
AuthenticationRequestName | Description | Type | Additional information |
---|---|---|---|
string |
None. |
||
Password | string |
None. |
|
Username | string |
None. |
|
TrackingDetailsModel | TrackingDetailsModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "Email": "sample string 1", "Password": "sample string 2", "Username": "sample string 3", "TrackingDetailsModel": { "Fp": "sample string 1", "LandingPageUrl": "sample string 2", "Offer": "sample string 3", "RegistrationFlowType": "sample string 4", "ReferrerUrl": "sample string 5" } }
application/xml, text/xml
Sample:
<AuthenticationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBI.WebAPI.RegistrationGateway.Business.Models.Registration"> <Email>sample string 1</Email> <Password>sample string 2</Password> <TrackingDetailsModel xmlns:d2p1="http://schemas.datacontract.org/2004/07/GBI.WebAPI.RegistrationGateway.Business.Models.Registration.Users"> <d2p1:Fp>sample string 1</d2p1:Fp> <d2p1:LandingPageUrl>sample string 2</d2p1:LandingPageUrl> <d2p1:Offer>sample string 3</d2p1:Offer> <d2p1:ReferrerUrl>sample string 5</d2p1:ReferrerUrl> <d2p1:RegistrationFlowType>sample string 4</d2p1:RegistrationFlowType> </TrackingDetailsModel> <Username>sample string 3</Username> </AuthenticationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AuthenticationResultName | Description | Type | Additional information |
---|---|---|---|
IsExistingUser | boolean |
None. |
|
JwtToken | string |
None. |
|
JwtRefreshToken | string |
None. |
|
RefreshToken | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsExistingUser": true, "JwtToken": "sample string 2", "JwtRefreshToken": "sample string 3", "RefreshToken": "sample string 4" }
application/xml, text/xml
Sample:
<AuthenticationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBI.WebAPI.RegistrationGateway.Business.Models.Registration"> <IsExistingUser>true</IsExistingUser> <JwtRefreshToken>sample string 3</JwtRefreshToken> <JwtToken>sample string 2</JwtToken> <RefreshToken>sample string 4</RefreshToken> </AuthenticationResult>