Scan&Paste logo
  • Home
  • API
  • How it works
  • Office Add-ins
  • Contact
  • Scan & Paste Business
Home > API > Get >

api/BundleManager/Get

This method returns detailed information about the bundle with the data necessary to review the contents. This method requires storageAccessKey and an ID of the bundle.

Parameters

Name Description Type Required
id Bundle ID integer True
storageAccessKey A key allowing an access to the application user’s storage. string True

Responses

Status Description
The content of the bundle.
StorageAccessKey parameter is incorrect.
The provided storageAccessKey is not connected to any storage.
Lack of credits, no bundles can be downloaded.
A bundle of a given ID does not exist.
Internal server error

Sample of using

using (WebClient client = new WebClient())
{
    var url = "https://scanandpaste.com/api/BundleManager/Get?id=285&storageAccessKey=f676c533-b1f8-41dc-a060-0a2830150245";
    string response = client.DownloadString(url);
    Console.WriteLine(response);
}
import urllib2

url = 'https://scanandpaste.com/api/BundleManager/Get?id=285&storageAccessKey=f676c533-b1f8-41dc-a060-0a2830150245'
response = urllib2.urlopen(url).read()
print response
URL url = new URL("https://scanandpaste.com/api/BundleManager/Get?id=285&storageAccessKey=f676c533-b1f8-41dc-a060-0a2830150245");
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
BufferedReader br = new BufferedReader(new InputStreamReader(
        (conn.getInputStream())));
String output;
while ((output = br.readLine()) != null) {
    System.out.println(output);
}
conn.disconnect();

JSON Response

{
  "ID": 415,
  "StorageID": "f449571f-ad3c-4ded-a2e0-101aa3162b43",
  "ConfigurationID": "0",
  "FormID": "0",
  "DeviceID": "353339060471054",
  "FormName": "Default",
  "Thumbnail": null,
  "Description": null,
  "UserInfo": null,
  "GPS": "52°26'9\"N 16°54'43\"E",
  "UsedCredits": 0,
  "URL": "https://scanandpaste.blob.core.windows.net/bundles/353339060471054/f449571f-ad3c-4ded-a2e0-101aa3162b43/0/415/bundle.zip",
  "Modules": [
    {
      "ID": "501152c2-7e91-4452-b1ec-84b04f4717a1",
      "Type": "Video",
      "Label": "Video",
      "Values": [],
      "URLs": [
        {
          "Thumbnail": null,
          "URL": "https://scanandpaste.blob.core.windows.net/bundles/353339060471054/f449571f-ad3c-4ded-a2e0-101aa3162b43/0/415/501152c2-7e91-4452-b1ec-84b04f4717a1.mp4",
          "Name": "Video.mp4",
          "Type": "Video",
          "ExifOrientation": 0
        }
      ]
    }
  ],
  "Status": 200,
  "InputDate": "2016-11-23T13:23:36.4284617Z"
};
Copyright 2025 Scan&Paste  |  License Agreement
Realization: Creandi.pl