Version Reference
Input
Parameter name | Type | Description |
---|---|---|
output | String | The output type for the page. Possible types include 'XML', 'JSON', 'JSONXML', 'HTML', and 'CUSTOM'. |
obsId | String | (Required for JSON/JSONXML output) The object listening for the JSON callback. |
obsSuccessMethod | String | (Required for JSON/JSONXML output) The JSON success callback function. |
obsErrorMethod | String | (Required for JSON/JSONXML output) The JSON error callback function. |
transformer | String | (Required for CUSTOM output) The XSLT to use to transform the XML output. |
action | Alphabetic string | (Required) One of the following actions: activate - activates a pending or suspended Version. assign - assigns edit permission to another user. create - creates a new Version. discard - discards changes. checkIn - makes changes made by the Version visible to the public. suspend - sets the Version aside. |
versionId | Alpha-numeric string | ID of an existing version. In the format: <sessionid>_<record sequence>. For example 1234_5. (Required when action = activate, assign, discard, checkIn, or suspend) |
assigneeId | Integer | The assignee's user ID. (Required when action = assign) |
recSeq | Integer | Record sequence - a unique integer to assign to each new Version created in a session. (Required when action = create) |
name | String | (optional, default: current date and time) Version name. (use when action = create) |
desc | String | (optional, default: null) Description (use when action = create) |