POST api/requestReg/{uniqueDeviceIdentifier}
Request a new Registration Token for a tablet device. This token will be used to register the device to a particular operator on Flash Cash Online. Note: For testing, the uniqueDeviceIdentifier "8675309" is already registered to operator "Amadeus" with registrationCode "1KA5PU23"
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
uniqueDeviceIdentifier |
a string that uniquely identifies the tablet device. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Request a new Registration Token for a tablet device. This token will be used to register the device to a particular operator on Flash Cash Online. Note: For testing, the uniqueDeviceIdentifier "8675309" is already registered to operator "Amadeus" with registrationCode "1KA5PU23"
RegistrationTokenName | Description | Type | Additional information |
---|---|---|---|
RegistrationCode |
A code that will be entered by the user in FCOL to identify the tablet. This code should be displayed to the tablet user. The tablet user should be instructed to login to Flash Cash Online and register his/her tablet using this code. |
string |
Required String length: inclusive between 8 and 8 |
PreviouslyRequested |
Indicates whether this tablet has previously requested a RegistrationToken using the same uniqueDeviceIdentifier. (If true, the same RegistrationCode would have been received previously) |
boolean |
Required |
Response Formats
application/json, text/json
{ "RegistrationCode": "sample string 1", "PreviouslyRequested": true }
text/html
{"RegistrationCode":"sample string 1","PreviouslyRequested":true}
application/xml, text/xml
<RegistrationToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GI.Tablet.Interface"> <PreviouslyRequested>true</PreviouslyRequested> <RegistrationCode>sample string 1</RegistrationCode> </RegistrationToken>