POST api/LegacyAccountToken/GetToken

Get user token for service

Request Information

URI Parameters

None.

Body Parameters

AccountTokenRequest
NameDescriptionTypeAdditional information
Phone

string

None.

SAML

string

None.

SSN

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Phone": "sample string 1",
  "SAML": "sample string 2",
  "SSN": "sample string 3"
}

application/xml, text/xml

Sample:
<AccountTokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2.Token">
  <Phone>sample string 1</Phone>
  <SAML>sample string 2</SAML>
  <SSN>sample string 3</SSN>
</AccountTokenRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetTokenResponse
NameDescriptionTypeAdditional information
GetTokenResult

string

None.

outStatus

ResultStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "GetTokenResult": "sample string 1",
  "outStatus": {
    "StatusCode": "00",
    "Message": "sample string 2",
    "Result": 0
  }
}

application/xml, text/xml

Sample:
<GetTokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2.Legacy">
  <outStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/Advania.Model.Common" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2">
    <d2p1:Message>sample string 2</d2p1:Message>
    <d2p1:Result>Success</d2p1:Result>
    <d2p1:StatusCode>00</d2p1:StatusCode>
  </outStatus>
  <GetTokenResult>sample string 1</GetTokenResult>
</GetTokenResponse>