What API should I use for subscription of Evault Storage Usage Notification?
Try the following rest request:
https://$user:$apiKey@api.softlayer.com/rest/v3/SoftLayer_Notification_User_Subscriber/createObject
Method: post
{
"parameters":[
{
"active":1,
"notificationId":3,
"userRecordId":498265,
"preferences":[
{
"notificationPreferenceId":2,
"value":"70"
},
{
"notificationPreferenceId":3,
"value":"1"
}
],
"resourceRecord":{
"resourceTableId":4862895
}
}
]
}
Replace: $user, $apiKey with you own information. Also, replace these values: 498265 with the user's identifier 4862895 with the evault's identifier
References: