我应该使用什么API来订阅Evault存储使用情况通知?
答案 0 :(得分:0)
请尝试以下休息请求:
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
}
}
]
}
用您自己的信息替换:$ user,$ apiKey。 另外,替换这些值: 498265 使用用户的标识符 带有evault标识符的 4862895
<强>参考文献:强>