Information Classification: External Restricted.
See https://www.chili-publish.com/security
Webservice Functions - DocumentGetEditorURL
Returns a URL for editing (or viewing) of the specified document, with arguments to determine how the interface will be constructed
Declaration
public string DocumentGetEditorURL ( string apiKey, string itemID, string workSpaceID, string viewPrefsID, string constraintsID, bool viewerOnly, bool forAnonymousUser );
Arguments
Name | Type | Description |
|---|---|---|
apiKey | The API key previously generated by calling the GenerateApiKey function | |
itemID | The document's ID | |
workSpaceID | The (optional) WorkSpace ID for the Editor (emtpy string to use the default) | |
viewPrefsID | The (optional) ViewPreferences ID for the Editor (emtpy string to use the default) | |
constraintsID | The (optional) Constraints ID for the Editor (emtpy string to use the default) | |
viewerOnly | bool | The (optional) DocumentConstraints ID for the Editor (emtpy string to use the default) |
forAnonymousUser | bool | If true, the anonymous user's apiKey will be appended. This does require the anonymous user to have view or edit privileges on the Documents resource |