ModifyUserNotificationSettings¶
-
class
saxo_openapi.endpoints.valueadd.pricealerts.
ModifyUserNotificationSettings
(data)¶ Modify the current user’s price alert notification settings.
-
ENDPOINT
= 'openapi/vas/v1/pricealerts/usersettings/'¶
-
EXPECTED_STATUS
= 204¶
-
METHOD
= 'PUT'¶
-
RESPONSE_DATA
= None¶
-
__init__
(data)¶ Instantiate a ModifyUserNotificationSettings request.
Parameters: data (dict (required)) – dict representing the body parameters. >>> import saxo_openapi >>> import saxo_openapi.endpoints.valueadd as va >>> import json >>> client = saxo_openapi.API(access_token=...) >>> data = { "EmailAddress": "john.doe@broker.com", "EmailAddressValidated": false, "NotifyWithMail": true, "NotifyWithPopup": true, "Sound": "None" }
>>> r = va.pricealerts.ModifyUserNotificationSettings(data=data) >>> client.request(r) >>> assert r.status_code == r.expected_status
No response data is returned.
-
expected_status
¶
-
response
¶ response - get the response of the request.
-
status_code
¶
-