PV API Service

<back to all web services

PrivateDocStorageStreamRequest

GET a previously requested file by it's token and extension. File must have already been requested, must not be outside of the bounds of the proper request time window, and must be requested by the person who made the original request, for this operation to succeed.

The following routes are available for this service:
PUT/DocStorage/Private
GET/DocStorage/Private/{Environment}/{ForceSecureTransfer}/{ForDownload}/{Token}/{NameForDownload}
GET/DocStorage/Private/{Environment}/{ForceSecureTransfer}/{ForDownload}/{Token}.{Extension}
PUT/DocStorage/Private/{Environment}/{Token}.{Extension}

To override the Content-type in your clients HTTP Accept Header, append ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/PrivateDocStorageStreamRequest HTTP/1.1 
Host: api.practicevelocity.com 
Content-Type: application/json
Content-Length: length

{"token":"00000000000000000000000000000000","nameForDownload":"String","extension":"String","forDownload":false,"forceSecureTransfer":false,"environment":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{}