PV API Service

<back to all web services

PublicDocStorageStreamRequest

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:
GET/DocStorage/Public/{Environment}/{ForceSecureTransfer}/{ForDownload}/{DocStorageType}/{DocStorageName}

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

HTTP + XML

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

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

<PublicDocStorageStreamRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DocStorage.External.DataModel">
  <DocStorageName>String</DocStorageName>
  <DocStorageType>String</DocStorageType>
  <Environment>String</Environment>
  <ForDownload>false</ForDownload>
  <ForceSecureTransfer>false</ForceSecureTransfer>
</PublicDocStorageStreamRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<CustomHttpResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types" />