Download an exported package
get
/AgentWeb/api/elementmanager/export/EMPackages/download/{id}
Returns a byte stream that represents the zip file containing the exported items
Request
Supported Media Types
- application/xml
- multipart/form-data
- application/x-www-formurlencoded
Path Parameters
-
id(required): integer
Specify the id of the package
Header Parameters
-
API_VERSION: string
API VERSION for the headerDefault Value:
1
Allowed Values:[ "1" ]
-
USERSESSION(required): string
Authentication token for the header
-
accept(required): string
Content type to be downloadedAllowed Values:
[ "application/octet-stream" ]
Response
Supported Media Types
- application/octet-stream
200 Response
OK
Root Schema : schema
Type:
file
Examples
The following example shows how to download an export package.
cURL Command Example
curl -X GET https://mysite.example.com/AgentWeb/api/elementmanager/export/EMPackages/download/100012 -H "USERSESSION: feihg98GnT7i " -H "API_VERSION: 1"
Response Body Example
This downloads a zip file with the contents of the export package.