Agnostic Guides
...
FileNet Endpoints
Update
1 min
link enterprise provides a web service endpoint that will allow you to update a document metadata { "tab" "request", "url" "https //localhost 82/scrud/update", "name" "update file metadata", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "kind" "required", "name" "ids", "type" "string", "description" "unique id of filenet file " }, { "kind" "required", "name" "cmsname", "type" "string", "description" "name of the filenet system configured in link enterprise " }, { "kind" "required", "name" "selectedcms", "type" "string", "description" "value should always be set to \\"filenet\\" to let link enterprise know which configured content system to search " }, { "kind" "required", "name" "mdarray", "type" "array", "description" "a json array where each index is a json object with the keys \\"md1\\" and \\"md2\\" where md1 is the column name, and md2 is the value to be inserted in that column sharepoint allows multi value field while updating multi value fields separate the field values with \\"!dflow!\\" " }, { "name" "location", "kind" "required", "type" "string", "description" "filenet folder where the document need to be updated ", "children" \[] }, { "name" "repository", "kind" "required", "type" "string", "description" "filenet repository value", "children" \[] }, { "name" "domain", "kind" "required", "type" "string", "description" "filenet domain name", "children" \[] }, { "name" "checkout", "kind" "optional", "type" "string", "description" "if true, does an checkout on filenet document ", "children" \[] }, { "name" "datetimeformat", "kind" "required", "type" "string", "description" "update datetime property in this provided format ", "children" \[] }, { "name" "type", "kind" "optional", "type" "string", "description" "filenet class name attached to the document default is \\"document\\"", "children" \[] }, { "name" "cancelcheckout", "kind" "optional", "type" "string", "description" "if true, cancel checkout on filenet document ", "children" \[] } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "np6 jkluvfkwgt7zc9anv", "code" "", "language" "200" }, { "id" "2qv2iy q0df7ncsx i60q", "code" "", "language" "500" } ], "selectedlanguageid" "np6 jkluvfkwgt7zc9anv" }, "examples" { "languages" \[ { "id" "jlncgo8tqxpnzqxn2xt04", "code" "{\n \\"cmsname\\" \\"name of the filenet system configured in link enterpri \\", \n \\"repository\\" \\"filenet repository\\",\n \\"selectedcms\\" \\"filenet\\",\n \\"domain\\" \\"domain name\\",\n\t\\"checkout\\"\ false,\n\t\\"datetimeformat\\" \\"mm/dd/yyyy hh\ mm\ ss a z\\",\n \\"type\\" \\"metadataclassname\\",\n\t\\"location\\" \\"/foldername\\",\n\t\\"mdarray\\" \[\n\t{\\"md1\\" \\"metadatafield\\", \\"md2\\" \\"metadatavalue\\"}]\n\t\\"id\\" \\"filenet document id\\",\n\t\\"cancelcheckout\\"\ false\n}\n", "language" "json" } ], "selectedlanguageid" "jlncgo8tqxpnzqxn2xt04" }, "description" "", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }