Community
Showing results for 
Search instead for 
Do you mean 
Reply

How to upload a document through API

Copper Contributor
Posts: 145
Country: USA

How to upload a document through API

[ Edited ]

I'm sending this json to create a history with an uploaded document but the document is never uploaded:

The history item is created though.

Tried 

https://servername/act.web.api/api/Documents

https://servername/act.web.api/api/History

 

{"details":"APItest",
 "startTime":"2018-08-02T12:40:50.479Z",
  "endTime":"2018-08-02T12:40:50.479Z",
   "historyTypeID":"16",
    "contacts":
    [{"id":"086273c0-12cf-446e-9afe-f09164628d4d"}],
     "attachment":
     {"displayName":"Lala",
     "fileExtension":".txt",
     "fileName":"c:\\effe\\lala.txt",
     "personal":false,
     "fileSize":1,
     "fileType":"Text document"}
}

Thanks,
Inge van Gemert
ACT! Certified Consultant
The Netherlands
inge@inkey.net
Highlighted
Employee
Posts: 103
Country: USA

Re: How to upload a document through API

Thank you for submitting this item! We will have the team take a look and see what's going on. Once we have a solution, I'll post that information back on this thread.

 

Again, thank you for sending us this feedback!

 

Regards,

Jeff Hanrahan