POST Api/Token/TokenReprints

Request Information

URI Parameters

None.

Body Parameters

GetTokenReprintRequest
NameDescriptionTypeAdditional information
MeterNo

string

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:
{
  "MeterNo": "sample string 1",
  "Username": "sample string 2",
  "Password": "sample string 3",
  "DeviceManufacturer": "sample string 4",
  "DeviceModel": "sample string 5",
  "DeviceSDKInt": "sample string 6",
  "DeviceSDKVersion": "sample string 7"
}

application/xml, text/xml

Sample:
<GetTokenReprintRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPWAssistMobileAPI.Models">
  <DeviceManufacturer>sample string 4</DeviceManufacturer>
  <DeviceModel>sample string 5</DeviceModel>
  <DeviceSDKInt>sample string 6</DeviceSDKInt>
  <DeviceSDKVersion>sample string 7</DeviceSDKVersion>
  <Password>sample string 3</Password>
  <Username>sample string 2</Username>
  <MeterNo>sample string 1</MeterNo>
</GetTokenReprintRequest>

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 'GetTokenReprintRequest'.

Response Information

Resource Description

GetTokenReprintResponse
NameDescriptionTypeAdditional information
Tokens

Collection of ReprintTokens

None.

fromSGC

string

None.

fromKRN

string

None.

fromTI

string

None.

toSGC

string

None.

toKRN

string

None.

toTI

string

None.

SGCOptions

Collection of SGCOptions

None.

TIDRolloverExists

boolean

None.

TIDRolloverComplete

boolean

None.

KeyChangeToken1

string

None.

KeyChangeToken2

string

None.

TestToken

string

None.

KeyChangeRequestID

string

None.

TestTokenRequestID

string

None.

TIDRolloverID

string

None.

AndroidVersion

string

None.

IOSVersion

string

None.

FBETokenMeter

string

None.

Success

boolean

None.

ErrorMessage

string

None.

ServerDateTime

string

None.

ErrorType

Errors

None.

Response Formats

application/json, text/json

Sample:
{
  "Tokens": [
    {
      "MeterNumber": "sample string 1",
      "TokenDate": "sample string 2",
      "Token": "sample string 3"
    },
    {
      "MeterNumber": "sample string 1",
      "TokenDate": "sample string 2",
      "Token": "sample string 3"
    }
  ],
  "fromSGC": "sample string 1",
  "fromKRN": "sample string 2",
  "fromTI": "sample string 3",
  "toSGC": "sample string 4",
  "toKRN": "sample string 5",
  "toTI": "sample string 6",
  "SGCOptions": [
    {
      "SGC": "sample string 1",
      "KRN": "sample string 2"
    },
    {
      "SGC": "sample string 1",
      "KRN": "sample string 2"
    }
  ],
  "TIDRolloverExists": true,
  "TIDRolloverComplete": true,
  "KeyChangeToken1": "sample string 9",
  "KeyChangeToken2": "sample string 10",
  "TestToken": "sample string 11",
  "KeyChangeRequestID": "sample string 12",
  "TestTokenRequestID": "sample string 13",
  "TIDRolloverID": "sample string 14",
  "AndroidVersion": "sample string 15",
  "IOSVersion": "sample string 16",
  "FBETokenMeter": "sample string 17",
  "Success": true,
  "ErrorMessage": "sample string 19",
  "ServerDateTime": "sample string 20",
  "ErrorType": 0
}

application/xml, text/xml

Sample:
<GetTokenReprintResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPWAssistMobileAPI.Models">
  <ErrorMessage>sample string 19</ErrorMessage>
  <ErrorType>SystemError</ErrorType>
  <ServerDateTime>sample string 20</ServerDateTime>
  <Success>true</Success>
  <AndroidVersion>sample string 15</AndroidVersion>
  <FBETokenMeter>sample string 17</FBETokenMeter>
  <IOSVersion>sample string 16</IOSVersion>
  <KeyChangeRequestID>sample string 12</KeyChangeRequestID>
  <KeyChangeToken1>sample string 9</KeyChangeToken1>
  <KeyChangeToken2>sample string 10</KeyChangeToken2>
  <SGCOptions>
    <SGCOptions>
      <KRN>sample string 2</KRN>
      <SGC>sample string 1</SGC>
    </SGCOptions>
    <SGCOptions>
      <KRN>sample string 2</KRN>
      <SGC>sample string 1</SGC>
    </SGCOptions>
  </SGCOptions>
  <TIDRolloverComplete>true</TIDRolloverComplete>
  <TIDRolloverExists>true</TIDRolloverExists>
  <TIDRolloverID>sample string 14</TIDRolloverID>
  <TestToken>sample string 11</TestToken>
  <TestTokenRequestID>sample string 13</TestTokenRequestID>
  <Tokens>
    <ReprintTokens>
      <MeterNumber>sample string 1</MeterNumber>
      <Token>sample string 3</Token>
      <TokenDate>sample string 2</TokenDate>
    </ReprintTokens>
    <ReprintTokens>
      <MeterNumber>sample string 1</MeterNumber>
      <Token>sample string 3</Token>
      <TokenDate>sample string 2</TokenDate>
    </ReprintTokens>
  </Tokens>
  <fromKRN>sample string 2</fromKRN>
  <fromSGC>sample string 1</fromSGC>
  <fromTI>sample string 3</fromTI>
  <toKRN>sample string 5</toKRN>
  <toSGC>sample string 4</toSGC>
  <toTI>sample string 6</toTI>
</GetTokenReprintResponse>