tasks
Link a SharePoint file to a task (Onplana for SharePoint's document-library commands)
Session only (personal and app tokens are refused). The caller must be allowed to attach files to the task. The url must be an https address on a SharePoint Online host, and the same host as the request's Origin, otherwise 400 ORIGIN_REQUIRED or ORIGIN_MISMATCH. The link is kept in the project's Project Documents folder, pointing back at the task. The same address already linked to the task answers 200 with created false.
post/tasks/{id}/sharepoint-link
Request
- Base URL: https://api.onplana.com/api
- URL: https://api.onplana.com/api/tasks/{id}/sharepoint-link
- Auth: one of:
- HTTP bearer
- API key in header Authorization
Path parameters
idstring required
Task UUID
Headers
X-Organization-Idstring required
UUID of the active organization. Sets org context for all scoped operations.
Request body
Response
{ documentId, created: false }
Changes
No recorded changes to this operation across all 1 revision of this API.