Appearance
staff.accountOverrides
1 method on staff.accountOverrides. Each returns the answer's data and throws NoviqaError on a failed answer.
list
GET
/admin/v1/account-overridesList explicit individual settings
Paginated flat explicit selections only, scoped by account group and hidden-account rights. login and symbol_id are exact filters; group is an optional mask. Default limit 100, maximum 500; offset starts at zero. Values preserve explicit false, zero and nullable choices.
More details
Rights: the staff member needs every one of: accounts.overrides.view.
Parameters
logininteger · querygroupstring · querysymbol_idinteger · querylimitinteger · queryoffsetinteger · queryReturns
Promise<OverridePage>The answer's
data.Errors
400
invalid_input: invalid input401
auth.session_expired: session expired, sign in again403
auth.invalid_terminal: this terminal cannot be used here403
auth.otp_enrol_required: your group requires one-time codes: set them up to continue403
auth.password_change_required: you must change your password first403
forbidden: you do not have access to this action500
internal: something went wrongts
import { staff } from "@/lib/noviqa"
const data = await staff.accountOverrides.list({
login: 1001,
group: "string",
symbol_id: 1
})bash
curl -X GET "$NOVIQA_API_URL/admin/v1/account-overrides?login=1001&group=string&symbol_id=1" \
-H "Authorization: Bearer $NOVIQA_TOKEN"json
{
"success": true,
"code": "ok",
"message": "done",
"data": {
"items": [
{
"commission_id": 1,
"field": "string",
"group": "real\\standard",
"login": 1001,
"policy_revision": 1,
"scope": "string",
"symbol": "EURUSD",
"symbol_id": 1,
"value": null,
"version": 1
}
],
"limit": 1,
"offset": 1,
"total": 1
},
"request_id": "5b7f2c1e"
}ts
staff.accountOverrides.list(query?: { login?, group?, symbol_id?, limit?, offset? }, options?: RequestOptions): Promise<account.OverridePage>