POST api/Mandate/GetToken

Get a token for authentication and submit

Request Information

URI Parameters

None.

Body Parameters

The token request

TokenRequest
NameDescriptionTypeAdditional information
SSN

string

None.

Mobile

string

None.

MandateForm

integer

None.

MandateID

string

None.

ReturnURL

string

None.

CertString

string

None.

Username

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SSN": "sample string 1",
  "Mobile": "sample string 2",
  "MandateForm": 3,
  "MandateID": "sample string 4",
  "ReturnURL": "sample string 5",
  "CertString": "sample string 6",
  "Username": "sample string 7",
  "Password": "sample string 8"
}

application/xml, text/xml

Sample:
<TokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Authorization">
  <Password>sample string 8</Password>
  <Username>sample string 7</Username>
  <CertString>sample string 6</CertString>
  <MandateForm>3</MandateForm>
  <MandateID>sample string 4</MandateID>
  <Mobile>sample string 2</Mobile>
  <ReturnURL>sample string 5</ReturnURL>
  <SSN>sample string 1</SSN>
</TokenRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>