Preferences
URL
preferences/getpreferences
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
| Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| key | String | 32 | 32 | M | 7RRFULs33VY7Q1f9Fhx8KAX15d7iGoYg | Key obtained from authentiaction. |
| productid | String | M | IQ_V3 | Product ID to be given |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| preferencesettings | Array | M | Application preference settings | |||
| variable | String | M | printState | Variable of the Pref Setting | ||
| id | Integer | M | 1 | Unique ID of the Pref Setting | ||
| prefvalue | String | M | 0 | Arguments passed by the Pref Setting | ||
| valuetype | String | M | NUM | Preff Setting value type |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"productid": "IQ_V3"
}
Sample Success Response
{
"preferencesettings": [
{
"variable": "printState",
"id": "1",
"prefvalue": "0",
"valuetype": "NUM"
}
],
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 400,
"msg": "Bad Request."
}