Create
2 min
Link Enterprise provides a web service endpoint that will allow you to create a document.
The following endpoint allows the following capabilities.
- Create a File
- Create a File with metadata
Create a File
Create a file with no metadata
POST
https://localhost:82/scrud/create
{
"cmsName":"Name of the s3 system configured in Link Enterpri.",
"fileLocation":"C:\\someFolder\\someFile.txt",
"selectedCMS":"s3",
"location":"S3 Bucket Name"
}Create a File (metadata)
Create a file with metadata
POST
http://localhost:82/scrud/create
{
"cmsName":"Name of the sharepoint system configured in Link Enterpri.",
"fileLocation":"C:\\someFolder\\1GB.bin",
"mdArray":[
{
"md1":"contRep",
"md2":"K1"
}
],
"selectedCMS":"s3",
"location":"S3 Bucket Name"
}