如何将用户添加到 evault 存储的订阅列表

How to add an user to subscription list for an evault storage

我应该使用什么 API 来订阅 Evault 存储使用通知?

尝试以下休息请求:

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 带用户标识符 4862895 带有避难所的标识符

参考文献: