TabletAPI
API | Description |
---|---|
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" |
GET api/customerCode?regCode={regCode} |
Get the CusomerCode that this tablet is registered to |
GET api/accounts?regCode={regCode} |
Get a list of all Accounts for an Operator |
GET api/accounts/{accountID}?regCode={regCode} |
Retrieve an Account |
GET api/accounts/{accountID}/locations?regCode={regCode} |
Get a list of all Locations for an Account |
GET api/locations/{locationID}/machines?regCode={regCode} |
Get a list of all Machines for a Location |
GET api/machines/{machineID}?regCode={regCode} |
Retrieve the details of a Machine |
POST api/machines/{machineID}/uploadTransactions?regCode={regCode} |
Upload Transaction Collection Data |
POST api/machines/{machineID}/uploadCounters?regCode={regCode} |
Upload Counter Collection Data |
GET api/machines/{machineID}/setup?regCode={regCode} |
Generate a Machine Setup |
GET api/machines/{machineID}/qrcode?regCode={regCode} |
Generate a Machine QR Code |
POST api/machines/{machineID}/assignReader?regCode={regCode} |
Report that a particular reader was assigned to a machine. |