Read
1 min
Link Enterprise provides a web service endpoint that will allow you to retrieve a file or folders metadata or binary content of a file.
Included below are examples of reading a files metadata and it's binary content. (Two separate calls)
Read (metadata)
Retrieve a file or folders metadata by using sharepoint unique one drive Id.
POST
https://localhost:82/scrud/read
{
"cmsName":"insertProductionSystemName (located in Link Enterprise gui)",
"id":"unique sharepoint id specfic to folder/id",
"location":"/<subsite>/<documentLibraray>",
"repo":"<domainName>/sites/<siteName>",
"getContent":false,
"selectedCMS":"sp"
}
Read (Binary content)
Retrieve a files binary by using sharepoint one drive Id.
POST
https://localhost:82/scrud/read
{
"cmsName":"insertProductionSystemName (located in Link Enterprise gui)",
"id":"unique sharepoint id specfic to folder/id",
"location":"/<subsite>/<documentLibraray>",
"repo":"<domainName>/sites/<siteName>",
"getContent":true,
"selectedCMS":"sp"
"tmpDirectory":"C:\\middleware\\tmp"
}