White Papers
47 REST API Guide OpenManage Essentials | Revision A02
IdSubscriberService number
Description
1
Google Cloud
2.9.1 AlertSubscription GET command
To get the associated subscription that is assigned to a mobile device, you must specify the device ID that is
associated to the particular device. The GET command suffix is as follows:
/AlertSubscriptions/<deviceId>
2.9.2 AlertSubscription DELETE command
Deletion of the subscription (or unsubscribe) is accomplished using the standard HTTP DELETE operation.
Note: For the DELETE operation, you have to provide the DeviceId value to the alert subscription that you
want to delete.
2.9.3 AlertSubscription POST example Data
The payload for the POST command is an XML structure that defines the various fields that are needed to
create an Alert Subscription.
Note: All the values in the payload are case sensitive.
Of particular importance are Boolean values such as the <IsEnabled> included in the following example. This
will create an invalid data error when posting.
<RESTSubscription>
<IdDevice>sshiphone4</IdDevice>
<IdSubscriberService>1</IdSubscriberService>
<UserName>SteveHeracleous</UserName>
<IsEnabled>true</IsEnabled>
<AlertFilterId>1006921498</AlertFilterId>
<Token>Token16</Token>
<Description>REST POST subscription creation</Description>
</RESTSubscription>
Note: The field for Id is read-only and its value is only applicable on a GET operation. For the POST operation,
this field is ignored; the recommendation is to set it to 0.
The following screenshot shows the result of executing an AlertSubscription POST command using SoapUI
4.5.0.