POST Api/Token/TIDKeyChangeTokens

Request Information

URI Parameters

None.

Body Parameters

TIDMeterKeyChangeRequest
NameDescriptionTypeAdditional information
MeterNo

string

None.

CellNumber

string

None.

fromSGC

string

None.

fromKRN

string

None.

fromTI

string

None.

toSGC

string

None.

toKRN

string

None.

toTI

string

None.

GenerateTestToken

boolean

None.

IsTIDRollover

boolean

None.

Longitude

string

None.

Latitude

string

None.

TokenConfirmationSignature

string

None.

Address

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",
  "CellNumber": "sample string 2",
  "fromSGC": "sample string 3",
  "fromKRN": "sample string 4",
  "fromTI": "sample string 5",
  "toSGC": "sample string 6",
  "toKRN": "sample string 7",
  "toTI": "sample string 8",
  "GenerateTestToken": true,
  "IsTIDRollover": true,
  "Longitude": "sample string 11",
  "Latitude": "sample string 12",
  "TokenConfirmationSignature": "sample string 13",
  "Address": "sample string 14",
  "Username": "sample string 15",
  "Password": "sample string 16",
  "DeviceManufacturer": "sample string 17",
  "DeviceModel": "sample string 18",
  "DeviceSDKInt": "sample string 19",
  "DeviceSDKVersion": "sample string 20"
}

application/xml, text/xml

Sample:
<TIDMeterKeyChangeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPWAssistMobileAPI.Models">
  <DeviceManufacturer>sample string 17</DeviceManufacturer>
  <DeviceModel>sample string 18</DeviceModel>
  <DeviceSDKInt>sample string 19</DeviceSDKInt>
  <DeviceSDKVersion>sample string 20</DeviceSDKVersion>
  <Password>sample string 16</Password>
  <Username>sample string 15</Username>
  <Address>sample string 14</Address>
  <CellNumber>sample string 2</CellNumber>
  <GenerateTestToken>true</GenerateTestToken>
  <IsTIDRollover>true</IsTIDRollover>
  <Latitude>sample string 12</Latitude>
  <Longitude>sample string 11</Longitude>
  <MeterNo>sample string 1</MeterNo>
  <TokenConfirmationSignature>sample string 13</TokenConfirmationSignature>
  <fromKRN>sample string 4</fromKRN>
  <fromSGC>sample string 3</fromSGC>
  <fromTI>sample string 5</fromTI>
  <toKRN>sample string 7</toKRN>
  <toSGC>sample string 6</toSGC>
  <toTI>sample string 8</toTI>
</TIDMeterKeyChangeRequest>

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

Response Information

Resource Description

TIDMeterKeyChangeResponse
NameDescriptionTypeAdditional information
KeyChangeToken1

string

None.

KeyChangeToken2

string

None.

TestToken

string

None.

KeyChangeRequestID

string

None.

TestTokenRequestID

string

None.

TIDRolloverID

string

None.

Success

boolean

None.

ErrorMessage

string

None.

ServerDateTime

string

None.

ErrorType

Errors

None.

Response Formats

application/json, text/json

Sample:
{
  "KeyChangeToken1": "sample string 1",
  "KeyChangeToken2": "sample string 2",
  "TestToken": "sample string 3",
  "KeyChangeRequestID": "sample string 4",
  "TestTokenRequestID": "sample string 5",
  "TIDRolloverID": "sample string 6",
  "Success": true,
  "ErrorMessage": "sample string 8",
  "ServerDateTime": "sample string 9",
  "ErrorType": 0
}

application/xml, text/xml

Sample:
<TIDMeterKeyChangeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPWAssistMobileAPI.Models">
  <ErrorMessage>sample string 8</ErrorMessage>
  <ErrorType>SystemError</ErrorType>
  <ServerDateTime>sample string 9</ServerDateTime>
  <Success>true</Success>
  <KeyChangeRequestID>sample string 4</KeyChangeRequestID>
  <KeyChangeToken1>sample string 1</KeyChangeToken1>
  <KeyChangeToken2>sample string 2</KeyChangeToken2>
  <TIDRolloverID>sample string 6</TIDRolloverID>
  <TestToken>sample string 3</TestToken>
  <TestTokenRequestID>sample string 5</TestTokenRequestID>
</TIDMeterKeyChangeResponse>