POST Api/Authenticate/Login

Request Information

URI Parameters

None.

Body Parameters

LoginRequest
NameDescriptionTypeAdditional information
FirebaseToken

string

None.

OSVersion

string

None.

ApplicationVersion

string

None.

MobileApplicationID

Applications

None.

Username

string

None.

Password

string

None.

DeviceManufacturer

string

None.

DeviceModel

string

None.

DeviceSDKInt

string

None.

DeviceSDKVersion

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FirebaseToken": "sample string 1",
  "OSVersion": "sample string 2",
  "ApplicationVersion": "sample string 3",
  "MobileApplicationID": 1,
  "Username": "sample string 4",
  "Password": "sample string 5",
  "DeviceManufacturer": "sample string 6",
  "DeviceModel": "sample string 7",
  "DeviceSDKInt": "sample string 8",
  "DeviceSDKVersion": "sample string 9"
}

application/xml, text/xml

Sample:
<LoginRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPWAssistMobileAPI.Models">
  <DeviceManufacturer>sample string 6</DeviceManufacturer>
  <DeviceModel>sample string 7</DeviceModel>
  <DeviceSDKInt>sample string 8</DeviceSDKInt>
  <DeviceSDKVersion>sample string 9</DeviceSDKVersion>
  <Password>sample string 5</Password>
  <Username>sample string 4</Username>
  <ApplicationVersion>sample string 3</ApplicationVersion>
  <FirebaseToken>sample string 1</FirebaseToken>
  <MobileApplicationID>SwitchOneConnectAndroid</MobileApplicationID>
  <OSVersion>sample string 2</OSVersion>
</LoginRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LoginRequest'.

Response Information

Resource Description

LoginResponse
NameDescriptionTypeAdditional information
AndroidVersion

string

None.

IOSVersion

string

None.

MobileApplicationVersion

string

None.

PaymentTypes

Collection of PaymentTypesModel

None.

BillIdentifierFormats

Collection of BillIdentifierFormat

None.

Success

boolean

None.

ErrorMessage

string

None.

ServerDateTime

string

None.

ErrorType

Errors

None.

Response Formats

application/json, text/json

Sample:
{
  "AndroidVersion": "sample string 1",
  "IOSVersion": "sample string 2",
  "MobileApplicationVersion": "sample string 3",
  "PaymentTypes": [
    {
      "PaymentTypeID": 1,
      "PaymentType": "sample string 2"
    },
    {
      "PaymentTypeID": 1,
      "PaymentType": "sample string 2"
    }
  ],
  "BillIdentifierFormats": [
    {
      "BillIdentifierFormatTypeID": "668ac5e1-9e14-4c73-a1e0-3a0ad6939c34",
      "BillIdentifierTypeID": "1c3c8c72-a8b5-49db-a49a-41b12d6def8d",
      "Identifier": "sample string 3",
      "MinLength": 4,
      "MaxLength": 5
    },
    {
      "BillIdentifierFormatTypeID": "668ac5e1-9e14-4c73-a1e0-3a0ad6939c34",
      "BillIdentifierTypeID": "1c3c8c72-a8b5-49db-a49a-41b12d6def8d",
      "Identifier": "sample string 3",
      "MinLength": 4,
      "MaxLength": 5
    }
  ],
  "Success": true,
  "ErrorMessage": "sample string 5",
  "ServerDateTime": "sample string 6",
  "ErrorType": 0
}

application/xml, text/xml

Sample:
<LoginResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPWAssistMobileAPI.Models">
  <ErrorMessage>sample string 5</ErrorMessage>
  <ErrorType>SystemError</ErrorType>
  <ServerDateTime>sample string 6</ServerDateTime>
  <Success>true</Success>
  <AndroidVersion>sample string 1</AndroidVersion>
  <BillIdentifierFormats>
    <BillIdentifierFormat>
      <BillIdentifierFormatTypeID>668ac5e1-9e14-4c73-a1e0-3a0ad6939c34</BillIdentifierFormatTypeID>
      <BillIdentifierTypeID>1c3c8c72-a8b5-49db-a49a-41b12d6def8d</BillIdentifierTypeID>
      <Identifier>sample string 3</Identifier>
      <MaxLength>5</MaxLength>
      <MinLength>4</MinLength>
    </BillIdentifierFormat>
    <BillIdentifierFormat>
      <BillIdentifierFormatTypeID>668ac5e1-9e14-4c73-a1e0-3a0ad6939c34</BillIdentifierFormatTypeID>
      <BillIdentifierTypeID>1c3c8c72-a8b5-49db-a49a-41b12d6def8d</BillIdentifierTypeID>
      <Identifier>sample string 3</Identifier>
      <MaxLength>5</MaxLength>
      <MinLength>4</MinLength>
    </BillIdentifierFormat>
  </BillIdentifierFormats>
  <IOSVersion>sample string 2</IOSVersion>
  <MobileApplicationVersion>sample string 3</MobileApplicationVersion>
  <PaymentTypes>
    <PaymentTypesModel>
      <PaymentType>sample string 2</PaymentType>
      <PaymentTypeID>1</PaymentTypeID>
    </PaymentTypesModel>
    <PaymentTypesModel>
      <PaymentType>sample string 2</PaymentType>
      <PaymentTypeID>1</PaymentTypeID>
    </PaymentTypesModel>
  </PaymentTypes>
</LoginResponse>