Method AddLinksToDocument
AddLinksToDocument(String, List<String>, String)
Add a links to a document
Declaration
void AddLinksToDocument(string connectionId, List<string> documentIds, string targetId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.Collections.Generic.List<System.String> | documentIds | List of document ids. See also Id |
System.String | targetId | The link target id (document id or process id) . See also Id or See also Id |
Examples
POST http://YourServerName/InfoShare/Json/Document/AddLinksToDocument
Example for adds a link to document.{
"connectionId": "1fbe116a-20a9-4378-b198-6cf3283f0238",
"documentIds": ["7d58533d-75db-e911-a946-00155d290a08", "8e58533d-75db-e911-a946-00155d290a08", "1e68533d-75db-e911-a946-00155d290a08"],
"targetId": "d3fb72e0-18d0-e911-a93a-00155d290a08"
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | No document found for documentId {documentId} (10005) |
ServiceException | Target not found (10017) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |