HomeRecipesAPI ReferenceChangelogDiscussions
Log In
Discussions

Discussions

Ask a Question
Back to All

Uploading a document to a WorkOrder from SharePoit (or binary)

Hi,

I am trying to upload a document to a WorkOrder using the base API.

I am able to upload a URL link to the document with a query based on the sample in the API Reference guide (my working query is show in the Postman screenshots below.

However, what I can't see in the documentation is how to:

  1. Upload an actual PDF and store it in the WO, from a file and/or web location (likely SharePoint), or
  2. Upload a actual PDF from a binary of the PDF that I have extracted from an email attachment

I expect the key properties are

a. StorageTypeId

b. DocURL (or this property may change depending on the StorageTypeId)

Any help how to upload actual PDFs from a location or a binary would be greatly appreciated.

Thanks again

GrahamGra