Returns a list of campaign/prototype/resource that are available for the specific user. Filters for campaign, prototype and resource packages can be supplied, to narrow the result list. If none are provided, all results for the user are returned.
This resource can only be requested for Enterprise users.
Request URL
GET https://use.cloudshare.com/Api/v1/Env/CreateEntAppEnvOptions?campaignFilter=<camp_f>&prototypeFilter=<proto_f>&resourcePackageFIlter=<respkg>×tamp=<time_t>&UserApiId=<id>&HMAC=<signature>
Parameters
campaignFilter optional |
A filter string for the campaign name, to be applied to the result list. Example: MyCampaign1 |
prototypeFilter optional |
A filter string for the prototype package name, to be applied to the result list. Example: MyPrototye |
resourcePackageFilter optional |
A filter string for the resource package name, to be applied to the result list. Example: AllowSuspendEnvs_0D_1h |
Response example
{ "json": { "UsagePackagesList": [ { "Campaign": "MyCampaign1", "Organizations": [ "McAfee" ], "Prototype": "ePolicy Orchestrator 4.0 - 4.5", "ResourcePackage": "MyResource1h", "Snapshots": [ { "Author": "John Smith", "Comment": null, "CreationTime": "1/12/2011 6:52 AM", "IsDefault": false, "IsLatest": false, "Name": "System Generated Snapshot", "SnapshotId": "QO0Z3D1T1BXB" }, ], "UsagePackageId": "S3M2OV01LVZA" }, ] } }
The response is a list of Usage Packages for the user. Each Usage Package includes a Prototype, Resource Package and a set of Snapshots.