Strategy ONE

Deleting Subscriptions and Schedules Using the URL API

Deleting Subscriptions

The table below shows the URL parameters used to delete subscriptions and schedules using the URL API.

Argument Description

evt

128001

Allows users to delete subscriptions and schedules

objectIDs

Identifies a single subscription or schedule to be deleted, specified by the GUID of the subscription or schedule. Multiple subscriptions or schedules have to be specified individually using separate objectIDs arguments.

The sample URL shown below illustrates how to delete a subscription or schedule. The only difference between deleting a subscription and a schedule is the GUID you use.

J2EE environment:

http://webserver/MicroStrategy/servlet/mstrWeb?

Server=localhost

&Project=MicroStrategy+Tutorial

&Port=0

&uid=Administrator

&pwd=

&evt=128001

&src=mstrWeb.subs.allSubscriptions.128001

&objectIDs=9D32E7144E2288763B5F13B30D6F7EA9

&objectIDs=095BAB2E4E0BFD603C25B5AA67332566

.NET environment:

http://webserver/MicroStrategy/asp/Main.aspx?

Server=localhost

&Project=MicroStrategy+Tutorial

&Port=0

&uid=Administrator

&pwd=

&evt=128001

&src=Main.aspx.subs.allSubscriptions.128001

&objectIDs=9D32E7144E2288763B5F13B30D6F7EA9

&objectIDs=095BAB2E4E0BFD603C25B5AA67332566

In prior versions of the product, you used a different event ID value (128003) for the evt parameter when deleting subscriptions and, for deleting schedules, you had to specify in the src parameter whether you were deleting an e-mail schedule, a file schedule, or a print schedule. Now, you use the same event ID value (128001) for the evt parameter to delete both subscriptions and schedules and do not need to distinguish between schedule types.

See also: