Forum Discussion

pavani827115's avatar
pavani827115
Copper Contributor
Apr 30, 2021

Share attachment from servicenow to Sharepoint

Hi Team,

 

  I have a requirement to share the audio file from servicenow to sharepoint. I want to use the Rest API to integrate this. Could some one suggest the way how we can do it. Rest endpoint and how the sharepoint rest api is working and all.

 

 

Thanks,

Pavani.

2 Replies

  • cberon's avatar
    cberon
    Brass Contributor

    pavani827115 For the SharePoint side of things, you can look at the uploadfile() method in article: https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/upload-a-file-by-using-the-rest-api-and-jquery#code-example-1-upload-a-file-across-sharepoint-domains-by-using-the-rest-api-and-jquery

     

    The servicenow attachments api is at: https://docs.servicenow.com/bundle/paris-application-development/page/integrate/inbound-rest/concept/c_AttachmentAPI.html#c_AttachmentAPI

    • pavani827115's avatar
      pavani827115
      Copper Contributor
      Hi Cberon,

      Could you please suggest how to Upload a file by using the REST API and Javascript.

      Thanks,
      Pavani.

Resources