Get the URL and Sas needed to upload an attachment to cloud storage.

To use with the Azure Storage SDK or the Microsoft Blob Service REST API (https://docs.microsoft.com/en-us/rest/api/storageservices/put-blob). If you choose to work with the former, you will need both the 'AttachmentUrl' and 'AttachmentSas' values and you can disregard the 'BlobServiceRestApiUrl' value. If you choose to work with the latter, you must upload your document using HTTP PUT using the URL in 'BlobServiceRestApiUrl' and you can disregard the 'AttachmentUrl' and 'AttachmentSas' values. /// For improved user experience, the following headers should be used when uploading the file:

  • Content-Type: The MIME content type of the blob. For example, for a PDF, "application/pdf" should be used.
  • x-ms-blob-content-disposition: The content-disposition of the blob. We recommend using "filename=YourFileName.extension". Note that Basic Authentication is required for all requests as such, make sure to provide the Authorization header with a valid value.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Query Params
string
Responses
200

The URL and Sas were successfully generated

400

Request has missing/invalid values

404

Order not found

500

An error occurred when trying to generate the URL and Sas.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!