PreferenceDefault
Last updated
Was this helpful?
Last updated
Was this helpful?
Retrieve preference default
POST /nexum/627/2022.01/parameter/getPreferenceDefault HTTP/1.1
Host: naas.ymcu.libum.io
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 124
{
"Credentials": {
"AdministrativeCredentials": {
"Password": "suwn37834b91&"
}
},
"nxAttributes": {
"customFields": {
"appId": "glaci"
}
}
}
Successful operation.
{
"PreferenceDefault": {
"AudioAccess": "text",
"AudioAccess2": "text",
"AudioEnable": 1,
"BillPayCountLimit": 1,
"BillPayLimit": 1,
"BillPayMax": 1,
"DepCountLimit": 1,
"DepLimit": 1,
"DepMax": 1,
"HbEnable": 1,
"HbMode": 1,
"InteractMode": 1,
"Language": 1,
"ListTransactions": 1,
"Reference": "text",
"TranCodes": "text",
"Type": 1,
"UserCode": 1,
"WdCashCountLimit": 1,
"WdCashLimit": 1,
"WdCashMax": 1,
"WdCheckCountLimit": 1,
"WdCheckLimit": 1,
"WdCheckMax": 1,
"XferCountLimit": 1,
"XferLimit": 1,
"XferMax": 1
}
}
Returns the preference default with select fields
POST /nexum/627/2022.01/parameter/getPreferenceDefaultSelectFields HTTP/1.1
Host: naas.ymcu.libum.io
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 715
{
"Credentials": {
"AdministrativeCredentials": {
"Password": "suwn37834b91&"
}
},
"SelectableFields": {
"IncludeAllPreferenceDefaultFields": true,
"PreferenceDefaultFields": {
"AudioAccess": true,
"AudioAccess2": true,
"AudioEnable": true,
"BillPayCountLimit": true,
"BillPayLimit": true,
"BillPayMax": true,
"DepCountLimit": true,
"DepLimit": true,
"DepMax": true,
"HbEnable": true,
"HbMode": true,
"InteractMode": true,
"Language": true,
"ListTransactions": true,
"Reference": true,
"TranCodes": true,
"Type": true,
"UserCode": true,
"WdCashCountLimit": true,
"WdCashLimit": true,
"WdCashMax": true,
"WdCheckCountLimit": true,
"WdCheckLimit": true,
"WdCheckMax": true,
"XferCountLimit": true,
"XferLimit": true,
"XferMax": true
}
},
"nxAttributes": {
"customFields": {
"appId": "glaci"
}
}
}
Successful operation.
{
"PreferenceDefault": {
"AudioAccess": "text",
"AudioAccess2": "text",
"AudioEnable": 1,
"BillPayCountLimit": 1,
"BillPayLimit": 1,
"BillPayMax": 1,
"DepCountLimit": 1,
"DepLimit": 1,
"DepMax": 1,
"HbEnable": 1,
"HbMode": 1,
"InteractMode": 1,
"Language": 1,
"ListTransactions": 1,
"Reference": "text",
"TranCodes": "text",
"Type": 1,
"UserCode": 1,
"WdCashCountLimit": 1,
"WdCashLimit": 1,
"WdCashMax": 1,
"WdCheckCountLimit": 1,
"WdCheckLimit": 1,
"WdCheckMax": 1,
"XferCountLimit": 1,
"XferLimit": 1,
"XferMax": 1
}
}
Update default preferences by ID
POST /nexum/627/2022.01/parameter/updatePreferenceDefaultByID HTTP/1.1
Host: naas.ymcu.libum.io
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 601
{
"Credentials": {
"AdministrativeCredentials": {
"Password": "suwn37834b91&"
}
},
"PreferenceDefaultUpdatableFields": {
"AudioAccess": "text",
"AudioAccess2": "text",
"AudioEnable": 1,
"BillPayCountLimit": 1,
"BillPayLimit": 1,
"BillPayMax": 1,
"DepCountLimit": 1,
"DepLimit": 1,
"DepMax": 1,
"HbEnable": 1,
"HbMode": 1,
"InteractMode": 1,
"Language": 1,
"ListTransactions": 1,
"Reference": "text",
"TranCodes": "text",
"Type": 1,
"UserCode": 1,
"WdCashCountLimit": 1,
"WdCashLimit": 1,
"WdCashMax": 1,
"WdCheckCountLimit": 1,
"WdCheckLimit": 1,
"WdCheckMax": 1,
"XferCountLimit": 1,
"XferLimit": 1,
"XferMax": 1
},
"nxAttributes": {
"customFields": {
"appId": "glaci"
}
}
}
Successful operation.
{
"UpdateStatus": {
"isAllFieldsUpdateSuccess": true,
"FailedUpdateStatus": [
{
"Record": "text",
"ErrorCode": "text",
"ErrorMessage": "text",
"PrimaryKeyField": [
{
"Name": "text",
"Value": "text"
}
]
}
]
}
}