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
Body Parameters
- selectedCMSstringrequiredDescription
- cmsNamestringrequiredDescription
- fileLocationstringrequiredDescription
- locationstringDescription
json
{
"cmsName":"Name of the s3 system configured in Link Enterpri.",
"fileLocation":"C:\\someFolder\\someFile.txt",
"selectedCMS":"s3",
"location":"S3 Bucket Name"
}200
{
"docId": [
"01KWRZNISOYOOXWOQBKJGIRKQBPPKM",
null,
null
],
"FolderIds": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
...
]
}500
{
"docId": [
"123demotest",
null,
null
]
}Create a File (metadata)
Create a file with metadata
POST
http://localhost:82/scrud/create
Body Parameters
- selectedCMSstringrequiredDescription
- cmsNamestringrequiredDescription
- mdArrayArrayrequiredDescription
- fileLocationstringrequiredDescription
- locationstringDescription
json
{
"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"
}200
{
"docId": [
"123demotest",
null,
null
]
}500