Agnostic Guides
...
SharePoint Endpoints
Upload
1 min
link enterprise provides an endpoint to upload files to this is strictly for uploading files, and if you require metadata to be transferred following up with an update endpoint call is required tab request url https localhost 82 scrud upload name upload method post request pathparameters queryparameters headerparameters kind required name cmsname type string description name of the content management system configured in link enterprise kind required name location type string description sharepoint document library location including any sub site present each field is separated with kind optional name content type type string description multipart form data; boundary insert boundary n nexample is included in code examples name repository kind required type string description sharepoint repository id it consists of domain name and root site name separated with sites or teams children bodydataparameters formdataparameters results languages id 81evm7wxdgryfdwshyjw6 code success example n n t id 01kwrznireizd5tsqy3beks225htgzusmf n t result success n n nfailed example n n t id null n t result fail n language 200 id 6u9gw gsaoldqs3wcfi9t code language 500 selectedlanguageid 81evm7wxdgryfdwshyjw6 examples languages id xy6nlyt bp3jeey jkb3 code post scrud upload http 1 1 ncookie vertx web session 135e85c919328477ec243e270a692c4d nuser agent insomnia 2023 5 8 ncmsname sprko365demo nlocation documentlibraryname naccept nrepository domainname sites rootsitename nauthorization basic ywrtaw46ywrtaw4 ncontent type multipart form data; boundary 011000010111000001101001 nhost localhost 82 ncontent length 172 n n 011000010111000001101001 ncontent disposition form data; name ; filename pospaper cod 04 pdf ncontent type application pdf n n n 011000010111000001101001 language none selectedlanguageid xy6nlyt bp3jeey jkb3 description upload a file using http multi part form data http headers specifying repository location and the content system named must be specified currentnewparameter label header parameter value headerparameters