WebCenter Content REST API v1.1

WebCenter Content REST API

About the REST APIs

The WebCenter Content REST APIs allow you to interact with content in WebCenter Content.

REST Overview

REST, or Representational State Transfer, uses basic methods such as GET, POST, PUT, and DELETE over a standard protocol, such as HTTPS, to submit requests from a client application to operate on objects stored on a server.

A request is in the form of a uniform resource identifier (URI) that identifies the resource (such as a dDocName, dID, or GUID) on which to operate and includes any parameters necessary for the operation.

Each REST request from the client to a server contains all of the information necessary to understand the request and does not rely on the server to store information about the individual request or about any relationship between requests. Session state is stored (cached) entirely on the client.

Each REST request is translated to an IdcService request and the results of the service are returned as a JSON response. The primary IdcService called by each REST API is noted in the description of each API.

Getting Started

To use WebCenter Content REST API, install a REST client like Postman.

REST Requirements

The WebCenter Content REST API requires Oracle Web Services Manager (OWSM) for authentication of REST API. The Oracle Metadata Service (MDS) schema must be installed and OWSM must target the UCM_server1.

If installing a new WebCenter Content domain; see the knowledge base article Creating a WCC Domain With OWSM Enabled Doc ID 1332250.1.

If the WebCenter Content domain exists, the domain must be extented to enable OWSM; see the knowledge base article Making the WCC Domain OWSM Enabled (Doc ID 2523588.1). (Note: This how-to article references 12c, but the steps are similar in 14c.)

Authorization

The WebCenter Content REST API supports multiple authorization types. The following types are supported:

OWSM is required, WebCenter Content REST API uses the oracle/multi_token_rest_access_service_policy policy.

Using the Universal Query Format

The WebCenter Content REST API supports Universal Query Format. The Universal Query Format is intended to allow client applications to retrieve search results with a query syntax that could be recognized across all WebCenter Content supported search engines. For details see the knowledge base article UniversalQueryFormat for WebCenter Content Doc ID 1670824.1.

CORS Support

Cross-Origin Resource Sharing (CORS) is a protocol to allow handshake between the client and the server using HTTP Headers and Methods to ensure that the cross-origin request is allowed by the server. This handshake is handled seamlessly by the client when using the Javascript XMLHttpRequest object. Most browsers enforce a “Same-Origin” policy but if the server responds to the CORS handshake appropriately then the cross-origin request will be allowed by the browser.

If a customer has a browser application that integrates with WebCenter Content but is hosted in a different domain, adding the browser application domain to the CORS origins list will whitelist the domain.

Whitelist Configuration

There are two config.cfg settings that control CORS behavior for both WebCenter Content REST APIs and Native (IdcService) APIs. A user with Admin privileges needs to set these in config.cfg to control CORS behavior, and when these settings are changed, the server must be restarted.

Name Default Description Example
AllowedCrossOriginDomains null A comma separated list of allowed domain origins. The * character is supported as a wildcard character AllowedCrossOriginDomains=https://*.company.com
Allows both https://front.company.com and https://back.company.com
DisableCORSCredentials false When false, the Access-Control-Allow-Credentials response header is returned as true DisableCORSCredentials=true
The Access-Control-Allow-Credentials header is not returned

REST Preflight

All resources support an OPTIONS method. These OPTIONS methods always return 200 with no HTTP body. If the Origin header is set on the request AND allowed, the following headers are returned.

Header Description
Access-Control-Allow-Origin A list of the domains permitted to make cross origin requests.
Access-Control-Allow-Methods A list of the HTTP methods that can be called on the resource.
Access-Control-Allow-Credentials A boolean indicating if requests must be made with credentials to the server, by default this is true.
Access-Control-Allow-Headers A list of allowed response headers. If request header Access-Control-Request-Headers is set, that list is returned as the response headers; otherwise the list is Authorization, Accept, Content-Type.
Access-Control-Max-Age The seconds a CORS preflight request can be cached. The server always returns 300.

REST Cross-Site Protection

All resources validate the Origin header. If the Origin header is set on the request AND allowed, the following headers are returned.

Header Description
Access-Control-Allow-Origin A list of the domains permitted to make cross origin requests.
Access-Control-Allow-Credentials A boolean indicating if requests must be made with credentials to the server. By default, this is true.

Resource URI

A REST call includes an HTTPS method, such as OPTIONS, POST, GET, PUT, or DELETE, and a resource identified by a Uniform Resource Identifier (URI).

The URI is in this format:

https://{WCCHost}[:WCCPort]/documents/wcc/api/version/resourcePath

For example:

https://www.example.com/documents/wcc/api/v1.1

REST Request

The WebCenter Content REST API supports direct URL and JSON data format for REST requests. In general, the WebCenter Content REST API uses parameter names similar to the IdcService names. The WebCenter Content imposes no limits on REST request (URI and parameters). Good practice keeps URI length under 2048 characters and REST request bodies under 4096 characters.

Path Parameters

Path parameters are resource parameters passed directly in the URI resource before the ? character.

Query Parameters

Query parameters are resource parameters passed directly in the URI resource after the ? character.

Body Parameters

Body parameters are resource parameters passed in the HTTP body of the REST request.

FormData Parameters

FormData parameters are used in multi-part requests and passed in the HTTP body of the REST request. WebCenter Content REST APIs make use of this when uploading files.

REST Response

The REST API supports returning the following data:

In general, the responses of the WebCenter Content REST APIs use parameter names similar to the IdcService names.

HTTP Response Codes

The WebCenter Content REST APIs may return any valid HTTP response code. The most commonly returned codes are defined in the following table.

HTTP Status Code Description
200 OK The request was successfully completed.
201 Created The request has been fulfilled and resulted in a new resource being created. The response may include a Location header containing the canonical URI for the newly created resource.
204 No Content The request has been fulfilled and the server has no more details.
400 Bad Request The request could not be processed because it contains missing or invalid information (such as a validation error on an input field or a missing required value).
401 Unauthorized The request is not authorized. The authentication credentials included with this request are missing or invalid.
403 Forbidden The user cannot be authenticated. The user does not have authorization to perform this request.
404 Not Found The request includes a resource URI that does not exist.
409 Conflict The request could not be processed because there is a conflict with the current state of the resource.
500 Internal Server Error The server encountered an unexpected condition that prevented it from fulfilling the request.

Error Responses

The following table describes the fields for error messages that can be returned when an error is returned.

Name Description
type A link that describes the type of error.
title A brief summary error message.
detail Details about the error from the server; the service StatusMessage.
errorKey When the error comes from the service layer; the service StatusMessageKey
o:errorCode When the error comes from the service layer StatusCode. A negative number indicates that the service failed.

Supported Capabilities

Objects in the server can have capabilities. The list of supported capabilties is:

Name Description
CREATE_CHILD_FOLDER The capability to create a new child folder of the specified folder.
CREATE_CHILD_DOCUMENT The capability to create a new document in the specified folder.
FILE_DOCUMENT The capability to create an owner link to the specified document.
UNFILE_DOCUMENT The capability to delete the owner link to the specified document (without deleting the document itself or other soft links to it).
UPDATE_METADATA The capability to update the metadata of the specified item (other than access control metadata).
UPDATE_SECURITY_GROUP The capability to update the security group of the specified folder or revision.
UPDATE_ACCOUNT The capability to update the account of the specified folder or revision.
UPDATE_ACCESS_CONTROL_LIST The capability to update the access control list of the specified folder or revision.
UPDATE_AUTHOR The capability to update the author of the specified folder or revision.
MOVE The capability to move the specified folder, document, or shortcut.
COPY The capability to copy the specified folder, document, or shortcut.
DELETE The capability to delete the specified folder, document, or shortcut.
PROPAGATE_METADATA The capability to propagate the metadata defaults of the specified folder.
CHECK_OUT The capability to check out the specified document.
CANCEL_CHECK_OUT The capability to cancel the check out of the specified document.
CHECK_IN The capability to check in a new revision of the specified document.
DELETE_REVISION The capability to delete the specified revision.
RESTORE_REVISION The capability to create a new revision of a document as a copy of the specified revision.
LATEST_REVISION The capability to test if a document revision is the latest revision.
FOLLOW The capability to follow a folder or document.
UNFOLLOW The capability to unfollow a folder or document.
APPROVE The capability to approve a document.
SIGN_AND_APPROVE The capability to sign and approve a document.
REJECT The capability to reject a document.

REST API Definitions

Files

Upload Document

POST /documents/wcc/api/v1.1/files/data

Description

Upload a new file, creating a new document. (CHECKIN_UNIVERSAL)

Parameters

Name Located in Description Required Schema
metadataValues formData The metadata to associate with this document in JSON format. Some fields are required, some are optional; this can vary based on how the server is configured. These fields are required:
•dDocType – The type of document being uploaded
•dDocTitle – The title of the document being uploaded
•dRevLabel – The revision of the document being uploaded
•dSecurityGroup – The security group of the document being uploaded
Additional fields might be required.

When the FrameworkFolders component is enabled, to upload to a folder include:
•fParentGUID – The folder GUID of the uploaded file.
Yes string
primaryFile formData The primary file for this document. Yes file
alternateFile formData The alternate file for this document. No file

Responses

Code Description Schema
201 Document successfully uploaded.
Returns Header Location which is a URI to get the metadata of the new document.
 
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Upload a file.

Request

POST …/documents/wcc/api/v1.1/files/data

Request Body

FormData Parameters

metadataValues = {“dDocTitle”:”Rest”,”dSecurityGroup”:”Public”,”dDocType”:”Document”}

primaryFile = [filePath]

HTTP Response

Status = 201

Header

Location = …/documents/wcc/api/v1.1/files/ID14006201

Example 2

Upload a file to the Users:weblogic folder.

Request

POST …/documents/wcc/api/v1.1/files/data

Request Body

FormData Parameters

metadataValues = {“dDocTitle”:”Rest”,”dSecurityGroup”:”Public”,”dDocType”:”Document”, “fParentGUID”:”FLD_USER:weblogic”}

primaryFile = [filePath]

HTTP Response

Status = 201

Header

Location = …/documents/wcc/api/v1.1/folders/files/5D6FC0B59C968931834B5BF2D6DAA52C

Upload Document Revision

POST /documents/wcc/api/v1.1/files/{dDocName}/data

Description

Uploads a new document as a new revision of an existing document. (CHECKIN_UNIVERSAL)

Parameters

Name Located in Description Required Schema
dDocName path The dDocName of the document to add the revision to. Yes string
metadataValues formData The metadata to associate with this revision in JSON format. Fields that are not provided will be inherited. The dDocName field may be required depending on the server configuration. Yes string
primaryFile formData The primary file for this revision. Yes file
alternateFile formData The alternate file for this revision. No file

Responses

Code Description Schema
201 Revision successfully uploaded.
Returns Header Location which is a URI to get the metadata of the new document.
 
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Upload a new revision with a new dDocTitle.

Request

POST …/documents/wcc/api/v1.1/files/ID14006201/data

Request Body

FormData Parameters

metadataValues = {“dDocTitle”:”Rest Update Title”}

primaryFile = [filePath]

HTTP Response

Status = 201

Header

Location = …/documents/wcc/api/v1.1/files/ID14006201

Download Document

GET /documents/wcc/api/v1.1/files/{dDocName}/data

Description

Downloads file content for the specified document as a stream. (GET_FILE)

Parameters

Name Located in Description Required Schema
dDocName path The dDocName of the document to download. Yes string
version query The version of the document to download. If not provided, the latest released version is assumed. No string
rendition query The rendition of the document to retrieve. If rendition is not specified, primary rendition of the document is assumed. Allowed renditions:
•primary
•alternate
•web
•rendition:T
•custom attachments by name
No string

Responses

Code Description Schema
200 Successfully returned the complete stream of the document  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Download a document

Request

GET …/documents/wcc/api/v1.1/files/ID14006201/data

Request Body

None

HTTP Response

Status = 200

Body

stream of file contents as application/octet-stream

Download Revision of a Document by its dID

GET /documents/wcc/api/v1.1/files/.by.did/{dID}/data

Description

Downloads file content for the specified document revision as a stream by providing its dID. (GET_FILE)

Parameters

Name Located in Description Required Schema
dID path Revision identifier of the content item. Yes string
rendition query The rendition of the document to retrieve. If rendition is not specified, primary rendition of the document is assumed. Allowed renditions:
•primary
•alternate
•web
•rendition:T
•custom attachments by name
No string

Responses

Code Description Schema
200 Successfully returned the complete stream of the document  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Download a document by dID

Request

GET …/documents/wcc/api/v1.1/files/.by.did/6205/data

Request Body

None

HTTP Response

Status = 200

Body

stream of file contents as application/octet-stream

Copy Document Revision

POST /documents/wcc/api/v1.1/files/{dDocName}/{dID}/copyRevision

Description

Create a new document by copying the revision of an existing document. (COPY_REVISION)

Parameters

Name Located in Description Required Schema
dDocName path The dDocName of the document to be used as the source of the copy. Yes string
dID path The dID of the document to be used as the source of the copy. Yes string
body body The metadata as JSON to apply to the newly created copy. Any field not set in the JSON will be inherited from the source file. If the dDocName used does not exist on the server, a new document is created; if the dDocName exists, a new revision is created. The dDocName field may be required depending on server configuration. No MetadataChangeObjectParameter

Responses

Code Description Schema
201 Revision copy successfully created.
Returns Header Location which is a URI to get the metadata of the new document.
 
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Create a copy of ID14006201 and dID 6202 as a new content item.

Request

POST …/documents/wcc/api/v1.1/files/ID14006201/6202/copyRevision

Request Body

Set dDocName and dDocTitle on the new content item.

{ “dDocName”: “createCopyRevision”,

“dDocTitle”:”Rest copyRevision” }

HTTP Response

Status = 201

Body

Location = …/documents/wcc/api/v1.1/files/ID14006205

Get Document Information

GET /documents/wcc/api/v1.1/files/{dDocName}

Description

Get the document information for a document. (DOC_INFO_LATESTRELEASE or DOC_INFO_SIMPLE_BYREV)

Parameters

Name Located in Description Required Schema
dDocName path The dDocName of the document to return information. Yes string
version query The version of the document to return information. If not provided, the latest released version is returned. No string
getFullInfo query If true, addition arrays like docInfo, wfInfo, revisionHistory, and fileInfo may be returned. This can be used with fields parameter to further filter what is returned. No boolean
fields query By default, all fields that would be returned by the DOC_INFO family of services are returned. When provided, the field is a comma separated list of explicit fields returned. When used with getFullinfo=true, the format is: \{array\}.\{fieldsName\}. For example, fields=docInfo.dDocName,revisionHistory.dID,wfInfo.*,root.dDocTitle. There are 2 keywords:
root refers to the top level of the JSON being returned; fields can be referred to by using either keyword root.fieldName or without the keyword as fieldName.
•The \* character means all fields in an array.
No string

Responses

Code Description Schema
200 Successfully returned the metadata MetadataObjectResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Get the metadata for CREATECOPYREVISION.

Request

GET …/documents/wcc/api/v1.1/files/CREATECOPYREVISION

Request Body

None.

HTTP Response

Status = 200

Body

{
"dDocName": "CREATECOPYREVISION",
"dID": 6203,
"dDocType": "Document",
"dDocTitle": "Rest copyRevision",
"dRevLabel": "1",
"dSecurityGroup": "Public",
"dDocAuthor": "weblogic",
"dStatus": "RELEASED",
"dOriginalName": "exif-xmp.jpg",
"dFormat": "image/jpeg",
"dFileSize": 129756,
"dDocCreator": "weblogic",
"dDocLastModifier": "weblogic",
"dDocOwner": "weblogic",
"dIndexedID": 6203,
"dIsWebFormat": false,
"dCharacterSet": null,
"dRendition1": null,
"dPublishType": null,
"dRendition2": null,
"dDocClass": null,
"dInDate": "2024-05-21 16:08:00Z",
"dRevRank": "0",
"dDocID": 6405,
"dWebExtension": "jpg",
"dCheckoutUser": null,
"dLocation": null,
"dIsPrimary": false,
"dExtension": "jpg",
"dReleaseState": "Y",
"dProcessingState": "Y",
"dWorkflowState": null,
"dIndexerState": null,
"dReleaseDate": "2024-05-21 16:08:00Z",
"dFlag1": null,
"dCreateDate": "2024-05-21 16:08:00Z",
"dOutDate": null,
"dRevClassID": 6203,
"dLanguage": null,
"xExternalDataSet": null,
"dRevisionID": 1,
"dIsCheckedOut": false,
"dDocAccount": null,
"dPublishState": null,
}

Get Document Information by dID

GET /documents/wcc/api/v1.1/files/.by.did/{dID}

Description

Get the document information for a document by dID. (DOC_INFO_SIMPLE_BYREV)

Parameters

Name Located in Description Required Schema
dID path The dID/Revision identifier of the document. Yes string
getFullInfo query If true, addition arrays like docInfo, wfInfo, revisionHistory, and fileInfo may be returned. This can be used with fields parameter to further filter what is returned. No boolean
fields query By default, all fields that would be returned by the DOC_INFO family of services are returned. When provided, the field is a comma separated list of explicit fields returned. When used with getFullinfo=true, the format is: \{array\}.\{fieldsName\}. For example, fields=docInfo.dDocName,revisionHistory.dID,wfInfo.*,root.dDocTitle. There are 2 keywords:
root refers to the top level of the JSON being returned; fields can be referred to by using either keyword root.fieldName or without the keyword as fieldName.
•The \* character means all fields in an array.
No string

Responses

Code Description Schema
200 Successfully returned the metadata MetadataObjectResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Get the metadata for content item with dID 6203.

Request

GET …/documents/wcc/api/v1.1/files/.by.did/6203

Request Body

None.

HTTP Response

Status = 200

Body

{
 "dDocName": "CREATECOPYREVISION",
"dID": 6203,
"dDocType": "Document",
"dDocTitle": "Rest copyRevision",
"dRevLabel": "1",
"dSecurityGroup": "Public",
"dDocAuthor": "weblogic",
"dStatus": "RELEASED",
"dOriginalName": "exif-xmp.jpg",
"dFormat": "image/jpeg",
"dFileSize": 129756,
"dDocCreator": "weblogic",
"dDocLastModifier": "weblogic",
"dDocOwner": "weblogic",
"dIndexedID": 6203,
"dIsWebFormat": false,
"dCharacterSet": null,
"dRendition1": null,
"dPublishType": null,
"dRendition2": null,
"dDocClass": null,
"dInDate": "2024-05-21 16:08:00Z",
"dRevRank": "0",
"dDocID": 6405,
"dWebExtension": "jpg",
"dCheckoutUser": null,
"dLocation": null,
"dIsPrimary": false,
"dExtension": "jpg",
"dReleaseState": "Y",
"dProcessingState": "Y",
"dWorkflowState": null,
"dIndexerState": null,
"dReleaseDate": "2024-05-21 16:08:00Z",
"dFlag1": null,
"dCreateDate": "2024-05-21 16:08:00Z",
"dOutDate": null,
"dRevClassID": 6203,
"dLanguage": null,
"xExternalDataSet": null,
"dRevisionID": 1,
"dIsCheckedOut": false,
"dDocAccount": null,
"dPublishState": null,
}

Delete Document

DELETE /documents/wcc/api/v1.1/files/{dDocName}

Description

Deletes the document and all its revisions. (DELETE_DOC)

Parameters

Name Located in Description Required Schema
dDocName path The dDocName of the document to be deleted. Yes string
version query The version number of the document to delete. If the version is not specified, the content item and all its versions will be deleted. No string

Responses

Code Description Schema
204 Successfully deleted document  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Delete the content item with dDocName CREATECOPYREVISION.

Request

DELETE …/documents/wcc/api/v1.1/files/CREATECOPYREVISION

Request Body

None.

HTTP Response

Status = 204

Body

None.

Delete Revision of a Document by its dID

DELETE /documents/wcc/api/v1.1/files/.by.did/{dID}

Description

Deletes a document revision. (DELETE_REV_EX)

Parameters

Name Located in Description Required Schema
dID path The dID (revision) of the document to be deleted. Yes string

Responses

Code Description Schema
204 Successfully deleted the document.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Delete the content item with dID 6206.

Request

DELETE …/documents/wcc/api/v1.1/files/.by.did/6206

Request Body

None.

HTTP Response

Status = 204

Body

None.

Get Document Version Information

GET /documents/wcc/api/v1.1/files/{dDocName}/versions

Description

Get all the revision information of a document. (DOC_INFO_BY_NAME)

Parameters

Name Located in Description Required Schema
dDocName path The dDocName of the document to return revision information. Yes string
fields query This parameter is optional. When it is not provided, all fields that would be returned by the DOC_INFO family of services are returned. When provided, the field is a comma separated list of explicit fields returned. No string

Responses

Code Description Schema
200 Successfully returned the metadata MetadataVersionsResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Get the metadata for all the versions of the content item with dDocName ID14006204.

Request

GET …/documents/wcc/api/v1.1/files/ID14006204/versions

Request Body

None.

HTTP Response

Status = 200

Body

 {
"dDocName": "ID14006204",    
"dRevLabelLatest": "2",
"count": 2,
"items": [
    {
        "dDocName": "ID14006204",
        "dID": 6205,
        "dDocType": "Document",
        "dDocTitle": "Rest Update Title",
        "dRevLabel": "2",
        "dSecurityGroup": "Public",
        "dDocAuthor": "weblogic",
        "dStatus": "RELEASED",
        "dOriginalName": "exif-xmp.jpg",
        "dFormat": "image/jpeg",
        "dFileSize": 129756,
        "dDocCreator": "weblogic",
        "dDocLastModifier": "weblogic",
        "dDocOwner": "weblogic",
        "dIndexedID": 6205,
        "xIdcProfile": null,
        "dIsWebFormat": false,
        "xIsACLReadOnlyOnUI": 0,
        "dCharacterSet": null,
        "xComments": null,
        "xDecimal": null,
        "dRendition1": null,
        "dPublishType": null,
        "dRendition2": null,
        "dDocClass": null,
        "xReqText": null,
        "dInDate": "2024-05-21 19:19:14Z",
        "dRevRank": "0",
        "dDocID": 6409,
        "dMessage": null,
        "dWebExtension": "jpg",
        "dCheckoutUser": null,
        "dLocation": null,
        "xPartitionId": null,
        "xWebFlag": null,
        "dIsPrimary": false,
        "dExtension": "jpg",
        "xStorageRule": "DispByContentId",
        "dReleaseState": "Y",
        "dProcessingState": "Y",
        "dWorkflowState": null,
        "dIndexerState": null,
        "xLongText": null,
        "xTest": 0,
        "xOptionList": null,
        "xAnnotationDetails": 0,
        "xMemo": "Test memo",
        "dReleaseDate": "2024-05-21 19:24:05Z",
        "dDocFunction": null,
        "dFlag1": null,
        "dCreateDate": "2024-05-21 19:19:14Z",
        "dOutDate": null,
        "dRevClassID": 6204,
        "dLanguage": null,
        "xExternalDataSet": null,
        "dRevisionID": 2,
        "dIsCheckedOut": false,
        "dDocAccount": null,
        "dPublishState": null,
        "xDate": null,
        "xLibraryGUID": null
    },
    {
        "dDocName": "BB14006204",
        "dID": 6204,
        "dDocType": "Document",
        "dDocTitle": "Rest",
        "dRevLabel": "1",
        "dSecurityGroup": "Public",
        "dDocAuthor": "weblogic",
        "dStatus": "RELEASED",
        "dOriginalName": "Mugs.jpg",
        "dFormat": "image/jpeg",
        "dFileSize": 53834,
        "dDocCreator": "weblogic",
        "dDocLastModifier": "weblogic",
        "dDocOwner": "weblogic",
        "dIndexedID": 6205,
        "xIdcProfile": null,
        "dIsWebFormat": false,
        "xIsACLReadOnlyOnUI": 0,
        "dCharacterSet": null,
        "xComments": null,
        "xDecimal": null,
        "dRendition1": null,
        "dPublishType": null,
        "dRendition2": null,
        "dDocClass": null,
        "xReqText": null,
        "dInDate": "2024-05-21 19:18:39Z",
        "dRevRank": "1",
        "dDocID": 6407,
        "dMessage": null,
        "dWebExtension": "jpg",
        "dCheckoutUser": null,
        "dLocation": null,
        "xPartitionId": null,
        "xWebFlag": null,
        "dIsPrimary": false,
        "dExtension": "jpg",
        "xStorageRule": "DispByContentId",
        "dReleaseState": "O",
        "dProcessingState": "Y",
        "dWorkflowState": null,
        "dIndexerState": null,
        "xLongText": null,
        "xTest": 0,
        "xOptionList": null,
        "xAnnotationDetails": 0,
        "xMemo": "Test memo",
        "dReleaseDate": "2024-05-21 19:18:41Z",
        "dDocFunction": null,
        "dFlag1": null,
        "dCreateDate": "2024-05-21 19:18:39Z",
        "dOutDate": null,
        "dRevClassID": 6204,
        "dLanguage": null,
        "xExternalDataSet": null,
        "dRevisionID": 1,
        "dIsCheckedOut": false,
        "dDocAccount": null,
        "dPublishState": null,
        "xDate": null,
        "xLibraryGUID": null
    }
    ]
}

GET /documents/wcc/api/v1.1/files/search/items

Description

Search for documents in the server. (GET_SEARCH_RESULTS)

Parameters

Name Located in Description Required Schema
q query The search query to search for content items. See Using Universal Query Format No string
fields query The names of metadata fields to be returned for each content item . There is a set of fields that are always returned whether or not this parameter is passed. No string
orderBy query The sort field and sort order which will be used to arrange the filtered content items. No string
limit query The maximum number of items listed per page. No integer
offset query Specifies the point from which items are listed for the response. No integer

Responses

Code Description Schema
200 Successfully returned the search results SearchResultsResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Search for all files in the Public security group.

Request

GET …/documents/wcc/api/v1.1/files/search/items

Request Body

query parameter q = dSecurityGroup <matches> `Public`

HTTP Response

Status = 200

Body

{
"totalResults": 5,
"query": "dSecurityGroup <matches> \`Public\`",
"offset": 0,
"limit": 20,
"count": 5,
"hasMore": "false",
"pageNumber": 1,
"items": [
    {
        "dDocName": "ID14006204",
        "dID": 6205,
        "dDocType": "Document",
        "dDocTitle": "Rest Update Title",
        "dRevLabel": "2",
        "dSecurityGroup": "Public",
        "dDocAuthor": "weblogic",
        "dStatus": "Released",
        "dOriginalName": "exif-xmp.jpg",
        "dFormat": "image/jpeg",
        "dFileSize": 129756,
        "dDocCreatedDate": "2024-05-21 19:18:39Z",
        "dDocCreator": "weblogic",
        "dDocLastModifiedDate": "2024-05-21 19:24:04Z",
        "dDocLastModifier": "weblogic",
        "dIndexedID": 6205,
        "dDocOwner": "weblogic",
        "dRendition1": null,
        "dPublishType": null,
        "URL": "/cs/groups/public/documents/document/yje0/mda2/~edisp/id14006204.jpg",
        "dRendition2": null,
        "VaultFileSize": 129756,
        "dDocClass": null,
        "dInDate": "2024-05-21 19:19:14Z",
        "dWebExtension": "jpg",
        "xWebFlag": null,
        "dExtension": "jpg",
        "xStorageRule": "DispByContentId",
        "dDocFunction": null,
        "dCreateDate": "2024-05-21 19:19:14Z",
        "dOutDate": null,
        "dRevClassID": 6204,
        "xExternalDataSet": null,
        "dRevisionID": 2,
        "dDocAccount": null,
    },
    {
        "dDocName": "ID14006201",
        "dID": 6202,
        "dDocType": "Document",
        "dDocTitle": "Rest Update Title",
        "dRevLabel": "2",
        "dSecurityGroup": "Public",
        "dDocAuthor": "weblogic",
        "dStatus": "Released",
        "dOriginalName": "exif-xmp.jpg",
        "dFormat": "image/jpeg",
        "dFileSize": 129756,
        "dDocCreatedDate": "2024-05-21 14:54:46Z",
        "dDocCreator": "weblogic",
        "dDocLastModifiedDate": "2024-05-21 15:49:16Z",
        "dDocLastModifier": "weblogic",
        "dIndexedID": 6202,
        "dDocOwner": "weblogic",
        "dRendition1": null,
        "dPublishType": null,
        "URL": "/cs/groups/public/documents/document/yje0/mda2/~edisp/id14006201.jpg",
        "dRendition2": null,
        "VaultFileSize": 129756,
        "dDocClass": null,
        "dInDate": "2024-05-21 15:49:16Z",
        "dWebExtension": "jpg",
        "xWebFlag": null,
        "dExtension": "jpg",
        "xStorageRule": "DispByContentId",
        "dDocFunction": null,
        "dCreateDate": "2024-05-21 15:49:16Z",
        "dOutDate": null,
        "dRevClassID": 6201,
        "xExternalDataSet": null,
        "dRevisionID": 2,
        "dDocAccount": null,
    },
    {
        "dDocName": "ID14006002",
        "dID": 6002,
        "dDocType": "Document",
        "dDocTitle": "Rest",
        "dRevLabel": "1",
        "dSecurityGroup": "Public",
        "dDocAuthor": "weblogic",
        "dStatus": "Released",
        "dOriginalName": "Mugs.jpg",
        "dFormat": "image/jpeg",
        "dFileSize": 53834,
        "dDocCreatedDate": "2024-05-13 16:53:42Z",
        "dDocCreator": "weblogic",
        "dDocLastModifiedDate": "2024-05-13 16:53:42Z",
        "dDocLastModifier": "weblogic",
        "dIndexedID": 6002,
        "dDocOwner": "weblogic",
        "dRendition1": null,
        "dPublishType": null,
        "URL": "/cs/groups/public/documents/document/yje0/mda2/~edisp/id14006002.jpg",
        "dRendition2": null,
        "VaultFileSize": 53834,
        "dDocClass": null,
        "dInDate": "2024-05-13 16:53:42Z",
        "dWebExtension": "jpg",
        "xPartitionId": null,
        "xWebFlag": null,
        "dExtension": "jpg",
        "dDocFunction": null,
        "dCreateDate": "2024-05-13 16:53:42Z",
        "dOutDate": null,
        "dRevClassID": 6002,
        "xExternalDataSet": null,
        "dRevisionID": 1,
        "dDocAccount": null,
    },
    {
        "dDocName": "ID14005802",
        "dID": 5802,
        "dDocType": "Document",
        "dDocTitle": "file",
        "dRevLabel": "1",
        "dSecurityGroup": "Public",
        "dDocAuthor": "UserB",
        "dStatus": "Released",
        "dOriginalName": "Mugs.jpg",
        "dFormat": "image/jpeg",
        "dFileSize": 53834,
        "dDocCreatedDate": "2024-05-09 16:25:20Z",
        "dDocCreator": "UserB",
        "dDocLastModifiedDate": "2024-05-09 16:25:20Z",
        "dDocLastModifier": "UserB",
        "dIndexedID": 5802,
        "dDocOwner": "UserB",
        "dRendition1": null,
        "dPublishType": null,
        "URL": "/cs/groups/public/documents/document/yje0/mda1/~edisp/id14005802.jpg",
        "dRendition2": null,
        "VaultFileSize": 53834,
        "dDocClass": null,
        "dInDate": "2024-05-09 16:24:00Z",
        "dWebExtension": "jpg",
        "xWebFlag": null,
        "dExtension": "jpg",
        "xStorageRule": "DispByContentId",
        "dDocFunction": null,
        "dCreateDate": "2024-05-09 16:25:20Z",
        "dOutDate": null,
        "dRevClassID": 5802,
        "xExternalDataSet": null,
        "dRevisionID": 1,
        "dDocAccount": null,
    },
    {
        "dDocName": "1715255331863",
        "dID": 5801,
        "dDocType": "Document",
        "dDocTitle": "Copy Title",
        "dRevLabel": "1",
        "dSecurityGroup": "Public",
        "dDocAuthor": "weblogic",
        "dStatus": "Released",
        "dOriginalName": "CSASampleImage.jpg",
        "dFormat": "image/jpeg",
        "dFileSize": 25382,
        "dDocCreatedDate": "2024-05-09 11:48:53Z",
        "dDocCreator": "weblogic",
        "dDocLastModifiedDate": "2024-05-09 11:48:53Z",
        "dDocLastModifier": "weblogic",
        "dIndexedID": 5801,
        "dDocOwner": "weblogic",
        "dRendition1": null,
        "dPublishType": null,
        "URL": "/cs/groups/public/documents/document/mju1/mzmx/~edisp/1715255331863.jpg",
        "dRendition2": null,
        "VaultFileSize": 25382,
        "dDocClass": null,
        "dInDate": "2024-05-09 11:48:53Z",
        "dWebExtension": "jpg",
        "xPartitionId": null,
        "xWebFlag": null,
        "dExtension": "jpg",
        "dDocFunction": null,
        "dCreateDate": "2024-05-09 11:48:53Z",
        "dOutDate": null,
        "dRevClassID": 5801,
        "xExternalDataSet": null,
        "dRevisionID": 1,
        "dDocAccount": null,
    }
],
"sortOrder": "dInDate:Desc"
}

Resubmit a document

POST /documents/wcc/api/v1.1/files/{dDocName}/resubmitConversion

Description

Resubmit a document that failed conversion. (RESUBMIT_FOR_CONVERSION)

Parameters

Name Located in Description Required Schema
dDocName path The dDocName of the document to be resubmitted. Yes string
version query The version number of the document to be resubmitted. If the version is not specified, the latest version will be resubmitted. No string
alwaysResubmit query By default, only files in a failed conversion state can be resubmitted. Setting this to true allows files that were successfully converted to be resubmitted. No boolean

Responses

Code Description Schema
202 The file has been resubmitted.  
401 Unauthorized  
409 The file is not in a failed converted state, and could be resubmitted with the alwaysResubmit parameter. ResubmitConflictErrorResponse
500 The server encountered an unexpected condition that prevented it from fulfilling the request. GeneralErrorResponse

Example

Resubmit content item ID14006204.

Request

POST …/documents/wcc/api/v1.1/files/ID14006204/resubmitConversion

Request Body

None

HTTP Response

Status = 202

Body

None.

Resubmit a document by dID

POST /documents/wcc/api/v1.1/files/.by.did/{dID}/resubmitConversion

Description

Resubmit a document that failed conversion. (RESUBMIT_FOR_CONVERSION)

Parameters

Name Located in Description Required Schema
dID path The dID of the document. Yes string

Responses

Code Description Schema
202 The file has been resubmitted  
401 Unauthorized  
409 The file is not in a failed converted state, and could be resubmitted with the alwaysResubmit parameter ResubmitConflictErrorResponse
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Resubmit revision 6205 (but it has not failed conversion).

Request

POST …/documents/wcc/api/v1.1/files/.by.did/6205/resubmitConversion

Request Body

None

HTTP Response

Status = 409

Body

{

“type”: “https://www.rfc-editor.org/rfc/rfc9110.html#name-409-conflict”,

“title”: “Resubmit Not Required”,

“detail”: “The content item is not in a failed conversion state.”,

“o:errorCode”: -1

}

Get Work in Progress

GET /documents/wcc/api/v1.1/files/workInProgress/items

Description

Returns a list of items in GENWWW or DONE status and not present in a workflow. (WORK_IN_PROGRESS)

Parameters

Name Located in Description Required Schema
fields query The names of metadata fields to be returned for each content item. There is a set of fields that is always returned whether or not this parameter is passed. No string
orderBy query The sort field and sort order which will be used to arrange the filtered content items. No string
limit query The maximum number of items listed per page. No integer
offset query Specifies the point from which items are listed for the response. No integer

Responses

Code Description Schema
200 Successfully returned work in progress. WorkInProgressResponse
204 There is no work in progress.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Update Document

PUT /documents/wcc/api/v1.1/files/{dDocName}

Description

Updates the document. Update the document metadata or update a metadate file to a different file (the file can only be updated once from a metadata file). (UPDATE_DOCINFO_BYFORM & UPDATE_DOCINFO)

Parameters

Name Located in Description Required Schema
dDocName path The dDocName of the document to be updated. Yes string
version query The version of the document to be updated. If not provided, the latest version is updated. No string
createPrimaryMetaFile query When true, a primary metafile is checked in and the primaryFile parameter is ignored. No boolean
createAlternateMetaFile query When true, an alternate metafile is checked in and the alternateFile parameter is ignored. No boolean
metadataValues formData The metadata as JSON to update. Any field set in the JSON set on the document; fields which are not present will not be updated. Yes MetadataChangeObjectParameter
primaryFile formData The new primary file for this document (can only update from a metadata file). No file
alternateFile formData The new alternate file for this document (can only update from a metadata file). No file

Responses

Code Description Schema
204 Document successfully updated.
Returns Header Location which is a URI to get the metadata of the updated document.
 
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Update the latest released version of the METADATA document to set the field xComments to ‘my update’.

Request

PUT …/documents/wcc/api/v1.1/files/METADATA

Request Body

FormData Parameters

metadataValues = {“xComments”: “my update”}

HTTP Response

Status = 204

Header

Location = …/documents/wcc/api/v1.1/files/METADATA

Update Document by dID

PUT /documents/wcc/api/v1.1/files/.by.did/{dID}

Description

Updates the document. Update the metadata or update a metadate file to a different file (the file can only be updated once from a metadata file). (UPDATE_DOCINFO_BYFORM & UPDATE_DOCINFO)

Parameters

Name Located in Description Required Schema
dID path The dID of the document to be updated. Yes string
createPrimaryMetaFile query When true, a primary metafile is checked in and the primaryFile parameter is ignored. No boolean
createAlternateMetaFile query When true, an alternate metafile is checked in and the alternateFile parameter is ignored. No boolean
metadataValues formData The metadata as JSON to update. Any field set in the JSON set on the document; fields which are not present will not be updated. Yes MetadataChangeObjectParameter
primaryFile formData The new primary file for this document (can only update from a metadata file). No file
alternateFile formData The new alternate file for this document (can only update from a metadata file). No file

Responses

Code Description Schema
204 Document successfully updated.
Returns Header Location which is a URI to get the metadata of the updated document.
 
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Assume the file revision 7603 exists with a metadata file. This update will update the file and set the field xComments to ‘changeFile’.

Request

PUT …/documents/wcc/api/v1.1/files/.by.did/7603

Request Body

FormData Parameters

metadataValues = {“xComments”: “changeFile”}

primaryFile = [filePath]

HTTP Response

Status = 204

Header

Location = …/documents/wcc/api/v1.1/files/ID14007635

Checkout a Document

POST /documents/wcc/api/v1.1/files/{dDocName}/.checkout

Description

Checkout the latest version of a file. (CHECKOUT_BY_NAME)

Parameters

Name Located in Description Required Schema
dDocName path The dDocName of the document to checkout. Yes string

Responses

Code Description Schema
204 Document successfully checked out.
Returns Header Location which is a URI to get the metadata of the document.
 
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Checkout content item ID14045102

Request

POST …/documents/wcc/api/v1.1/files/ID14045102/.checkout

Request Body

None.

HTTP Response

Status = 204

Body

None.

Header

Location = …/documents/wcc/api/v1.1/files/ID14045102

Reverse the Checkout of a Document

POST /documents/wcc/api/v1.1/files/{dDocName}/.undocheckout

Description

Reverse the checkout of a file. (UNDO_CHECKOUT_BY_NAME)

Parameters

Name Located in Description Required Schema
dDocName path The dDocName of the document to reverse the checkout. Yes string

Responses

Code Description Schema
204 Successfully reversed the checked out.
Returns Header Location which is a URI to get the metadata of the document.
 
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Reverse the checkout content item ID14045102.

Request

POST …/documents/wcc/api/v1.1/files/ID14045102/.undocheckout

Request Body

None.

HTTP Response

Status = 204

Body

None.

Header

Location = …/documents/wcc/api/v1.1/files/ID14045102

Get the Capabilities of a Document

GET /documents/wcc/api/v1.1/files/{dDocName}/capabilities

Description

Get the capabilities the user has on a document. (FLD_TEST_USER_CAPABILITIES)

Parameters

Name Located in Description Required Schema
dDocName path The dDocName of the document to test. Yes string
testedCapabilities query A comma separated list of capabilities to be tested. See the Supported Capabilities. Yes string

Responses

Code Description Schema
200 Successfully tested the document. CapabilitiesResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Test if the user can MOVE,COPY and DELETE the content item with dDocName ID14010605.

Request

GET …/documents/wcc/api/v1.1/files/ID14010605/capabilities

Request Body

query parameter: testedCapabilities = MOVE,COPY,DELETE

HTTP Response

Status = 200

Body

{
"count": 3,
"items": [
    {
        "capabiltyName": "MOVE",
        "capabilityValue": -1
    },
    {
        "capabiltyName": "COPY",
        "capabilityValue": -1
    },
    {
        "capabiltyName": "DELETE",
        "capabilityValue": -1
    }
]
}

Get the Capabilities of a Document by dID

GET /documents/wcc/api/v1.1/files/.by.did/{dID}/capabilities

Description

Get the capabilities the user has on a revision of a document. (FLD_TEST_USER_CAPABILITIES)

Parameters

Name Located in Description Required Schema
dID path The dID of the revision to test. Yes string
testedCapabilities query A comma separated list of capabilities to be tested. See the Supported Capabilities. Yes string

Responses

Code Description Schema
200 Successfully tested the revision. CapabilitiesResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Test if the user can MOVE, COPY, and DELETE the content item with dID 10805.

Request

GET …/documents/wcc/api/v1.1/files/.by.did/10805/capabilities

Request Body

query parameter: testedCapabilities = MOVE,COPY,DELETE

HTTP Response

Status = 200

Body

{
"count": 3,
"items": [
    {
        "capabiltyName": "MOVE",
        "capabilityValue": -1
    },
    {
        "capabiltyName": "COPY",
        "capabilityValue": -1
    },
    {
        "capabiltyName": "DELETE",
        "capabilityValue": -1
    }
]
}

Get Content Item workflow information

GET /documents/wcc/api/v1.1/files/{dDocName}/workflow

Description

Workflow information based on the dDocName of a document in the workflow. (GET_WORKFLOW_INFO_BYNAME)

Parameters

Name Located in Description Required Schema
dDocName path The name of a document in an active workflow Yes string

Responses

Code Description Schema
200 Workflow information based on the dDocName of a document in the workflow. WorkflowInfoResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Get information on the workflow state for content item ID45654.

Request

GET …documents/wcc/api/v1.1/files/ID45654/workflow

Request Body

None.

HTTP Response

Status = 200

Body

{
"dWfName": "criteriawf1",
"dWfStepID": 4,
"remainingStepUsers": "weblogic",
"doc_info": {
    "dDocName": "ID45654",
    "dID": 8446,
    "dDocType": "Document",
    "dDocTitle": "workflow demo",
    "dRevLabel": "1",
    "dSecurityGroup": "Public",
    "dDocAuthor": "weblogic",
    "dStatus": "REVIEW",
    "dOriginalName": "Desert.jpg",
    "dFormat": "image/jpeg",
    "dFileSize": 845941,
    "dVitalState": "Y",
    "xReportType": null,
    "xRecordSupersededDate": null,
    "xDeleteApproveDate": null,
    "xIsEditable": 1,
    "xHasFixedClone": 0,
    "xIsACLReadOnlyOnUI": 0,
    "dCharacterSet": null,
    "xComments": "criteriawf1",
    "xRelatedContentTriggerDate": null,
    "dRendition1": null,
    "xNewRevisionDate": "5/22/24 9:34 AM",
    "dRendition2": null,
    "xRecordCancelledDate": null,
    "xRecordCutoffDate": null,
    "dLastModifiedDate": "5/22/24 9:34 AM",
    "dRecordState": null,
    "dRmaSegmentID": 3,
    "dMessage": null,
    "dWebExtension": "jpg",
    "dCheckoutUser": null,
    "xClassifiedMarkings": null,
    "xRecordExpirationDate": null,
    "xVitalPeriod": 0,
    "dIsPrimary": false,
    "dExtension": "jpg",
    "xStorageRule": "DispByContentId",
    "dProcessingState": "Y",
    "xIsFrozen": 0,
    "dWorkflowState": "W",
    "dIndexerState": null,
    "xIsRevisionable": 1,
    "xSuperSupersededDate": null,
    "dReleaseDate": null,
    "xRecordActivationDate": null,
    "dOutDate": null,
    "dRevClassID": 7846,
    "xIsVital": 0,
    "dLanguage": null,
    "xRelatedContentList": null,
    "dIsCheckedOut": false,
    "xIsDeletable": 1,
    "xSupersededContent": null,
    "xIdcProfile": null,
    "dIsWebFormat": false,
    "xFreezeID": 0,
    "xIsSubjectToAudit": 0,
    "dRmaProcessState": "Y",
    "xRecordDestroyDate": null,
    "xFreezeReason": null,
    "dPublishType": null,
    "xVitalPeriodUnits": null,
    "xClbraUserList": null,
    "xSource": null,
    "xIsRecord": 0,
    "xRecordFilingDate": "5/22/24 9:32 AM",
    "xFolderID": null,
    "dInDate": "2024-05-22 16:32:00Z",
    "dRevRank": "0",
    "xRecordReviewDate": null,
    "dDocID": 13691,
    "xClbraAliasList": null,
    "dLocation": null,
    "xSupplementalMarkings": null,
    "xCpdIsTemplateEnabled": 0,
    "xPartitionId": null,
    "xWebFlag": null,
    "dReleaseState": "E",
    "xCpdIsLocked": 0,
    "xRecordObsoleteDate": null,
    "xAnnotationDetails": 0,
    "xVitalReviewer": null,
    "dFlag1": null,
    "dCreateDate": "2024-05-22 16:34:00Z",
    "xIsFixedClone": 0,
    "xRecordRescindedDate": null,
    "xExternalDataSet": null,
    "xReportContentType": null,
    "dRevisionID": 1,
    "xLongName": null,
    "xCategoryID": null,
    "dPublishState": null,
    "xAuditPeriod": null,
    "dDocAccount": null,
    "xIsCutoff": 0,
    "xNoLatestRevisionDate": null,
    "xLibraryGUID": null
},
"workflowInfo": {
    "dWfID": 2,
    "dWfName": "criteriawf1",
    "dWfDescription": "Criteria Workflow1",
    "dCompletionDate": null,
    "dSecurityGroup": "Public",
    "dWfStatus": "INPROCESS",
    "dWfType": "Criteria",
    "dIsCollaboration": 0
},
"wf_doc_info": {
    "dWfID": 2,
    "dDocName": "ID45654",
    "dWfDocState": "INPROCESS",
    "dWfComputed": null,
    "dWfCurrentStepID": 4,
    "dWfDirectory": "public"
},
"workflowStep": {
    "dWfStepID": 4,
    "dWfStepName": "step1",
    "dWfID": 2,
    "dWfStepDescription": null,
    "dWfStepType": ":R:C:CE:",
    "dWfStepIsAll": 0,
    "dWfStepWeight": 1,
    "dWfStepIsSignature": 0,
    "dUsers": "weblogic",
    "dHasTokens": "false"
},
"workflowSteps": [
    {
        "dWfStepID": 3,
        "dWfStepName": "contribution",
        "dWfID": 2,
        "dWfStepDescription": null,
        "dWfStepType": ":C:CA:CE:",
        "dWfStepIsAll": 0,
        "dWfStepWeight": 1,
        "dWfStepIsSignature": 0
    },
    {
        "dWfStepID": 4,
        "dWfStepName": "step1",
        "dWfID": 2,
        "dWfStepDescription": null,
        "dWfStepType": ":R:C:CE:",
        "dWfStepIsAll": 0,
        "dWfStepWeight": 1,
        "dWfStepIsSignature": 0
    }
],
"workflowActionHistory": [
    {
        "dWfName": "criteriawf1",
        "dWfStepName": "contribution",
        "wfAction": "CHECKIN",
        "wfActionTs": "2024-05-22 16:34:05Z",
        "wfUsers": "weblogic",
        "wfMessage": null
    },
    {
        "dWfName": "criteriawf1",
        "dWfStepName": "contribution",
        "wfAction": "APPROVE",
        "wfActionTs": "2024-05-22 16:34:05Z",
        "wfUsers": "weblogic",
        "wfMessage": null
    },
    {
        "dWfName": "criteriawf1",
        "dWfStepName": "step1",
        "wfAction": "WORK_NOTIFICATION",
        "wfActionTs": "2024-05-22 16:34:05Z",
        "wfUsers": "weblogic",
        "wfMessage": "Content item 'ID45654' is ready for workflow step 'step1'.\n"
    }
]
}

Approve a workflow

POST /documents/wcc/api/v1.1/files/{dDocName}/workflow/.approve

Description

Approve a content item in a workflow. (WORKFLOW_APPROVE)

Parameters

Name Located in Description Required Schema
dDocName path dDocName of the document in workflow Yes string

Responses

Code Description Schema
204 The content item has been approved.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Approve content item ID9400002010 in its workflow.

Request

POST …/documents/wcc/api/v1.1/files/ID9400002010/workflow/.approve

Request Body

None.

HTTP Response

Status = 204

Body

None.

Approve a workflow

POST /documents/wcc/api/v1.1/files/.by.did/{dID}/workflow/.approve

Description

Approve a content item revision in a workflow. (WORKFLOW_APPROVE)

Parameters

Name Located in Description Required Schema
dID path dID of a document in workflow. Yes string

Responses

Code Description Schema
204 The content item has been approved.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Approve item revision 23454323 in its workflow.

Request

POST …/documents/wcc/api/v1.1/files/.by.did/23454323/workflow/.approve

Request Body

None.

HTTP Response

Status = 204

Body

None.

Reject a workflow

POST /documents/wcc/api/v1.1/files/{dDocName}/workflow/.reject

Description

Reject a content item in a workflow. (WORKFLOW_REJECT)

Parameters

Name Located in Description Required Schema
dDocName path dDocName of the document in workflow Yes string
rejectMessage query The rejection message. No string

Responses

Code Description Schema
204 The content item has been rejected.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Reject content item ID9400002011 in its workflow.

Request

POST …/documents/wcc/api/v1.1/files/ID9400002011/workflow/.reject

Request Body

None.

HTTP Response

Status = 204

Body

None.

Reject a workflow

POST /documents/wcc/api/v1.1/files/.by.did/{dID}/workflow/.reject

Description

Rejects content item revision in a workflow. (WORKFLOW_REJECT)

Parameters

Name Located in Description Required Schema
dID path Revision identifier of the content item in workflow. Yes string
rejectMessage query The rejection message. No string

Responses

Code Description Schema
204 The content item has been rejected.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Reject item revision 24353523 in its workflow.

Request

POST …/documents/wcc/api/v1.1/files/.by.did/24353523/workflow/.reject

Request Body

None.

HTTP Response

Status = 204

Body

None.

Add an Attachment

POST /documents/wcc/api/v1.1/files/{dDocName}/attachments/data

Description

Upload an attachment to a document. (EDIT_RENDITIONS)

Parameters

Name Located in Description Required Schema
dDocName path The dDocName of the document to add the attachment. Yes string
extRenditionName formData The name of the attachment. Yes string
extRenditionDescription formData The description of the attachment. No string
extRenditionFile formData The file for this attachment. Yes file
version formData The the version of the document to add the attachment. By default, the attachment is added to the latest version. No string

Responses

Code Description Schema
201 Attachment successfully created.
Returns Header Location which is a URI to get the list of attachments.
 
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Upload a new attachment to the latest version of ID14004398.

Request

POST …/documents/wcc/api/v1.1/files/ID14004398/attachments/data

Request Body

FormData Parameters

extRenditionName = myattachment1

extRenditionDescription = my attachment example

extRenditionFile = [filePath]

HTTP Response

Status = 201

Header

Location = …/documents/wcc/api/v1.1/files/.by.did/8616/attachments/

Add an Attachment by dID

POST /documents/wcc/api/v1.1/files/.by.did/{dID}/attachments/data

Description

Upload an attachment to a specified document revision. (EDIT_RENDITIONS)

Parameters

Name Located in Description Required Schema
dID path The dID of the revision to add the attachment. Yes string
extRenditionName formData The name of the attachment. Yes string
extRenditionDescription formData The description of the attachment. No string
extRenditionFile formData The file for this attachment. Yes file

Responses

Code Description Schema
201 Attachment successfully created.
Returns Header Location which is a URI to get the list of attachments.
 
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Upload a new attachment to the revision 4398.

Request

POST …/documents/wcc/api/v1.1/files/.by.did/4398/attachments/data

Request Body

FormData Parameters

extRenditionName = myattachment2

extRenditionDescription = attachment description

extRenditionFile = [filePath]

HTTP Response

Status = 201

Header

Location = …/documents/wcc/api/v1.1/files/.by.did/4389/attachments/

Download an Attachment

GET /documents/wcc/api/v1.1/files/{dDocName}/attachments/{extRenditionName}/data/

Description

Download the attachment file as a stream. (GET_FILE)

Parameters

Name Located in Description Required Schema
Range header The byte range of the attachment to download. No Range
dDocName path The dDocName of the document the attachment belongs to. Yes string
extRenditionName path The name of the attachment. Yes string
version query The version of the document to download the attachment. By default, the attachment is downloaded from the latest version. No string

Responses

Code Description Schema
200 Successfully returned the complete stream of the file.  
206 Successfully returned the byte range of the document  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
416 The server cannot return the bytes requested  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Download an attachment myattachment1 from the latest version of ID14004398.

Request

GET …documents/wcc/api/v1.1/files/ID14004398/attachments/myattachment1/data

Request Body

None

HTTP Response

Status = 200

Body

stream of file contents as application/octet-stream

Download an Attachment by dID

GET /documents/wcc/api/v1.1/files/.by.did/{dID}/attachments/{extRenditionName}/data/

Description

Download the attachment file from a document revision as a stream. (GET_FILE)

Parameters

Name Located in Description Required Schema
Range header The byte range the of the attachment to download. No Range
dID path The dID of the revision the attachment belongs to. Yes string
extRenditionName path The name of the attachment. Yes string

Responses

Code Description Schema
200 Successfully returned the complete stream of the file  
206 Successfully returned the byte range of the file  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
416 The server cannot return the bytes requested  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Download an attachment myattachment1 from revision 4398.

Request

GET …documents/wcc/api/v1.1/files/.by.did/4398/attachments/myattachment1/data

Request Body

None

HTTP Response

Status = 200

Body

stream of file contents as application/octet-stream

Delete an Attachment

DELETE /documents/wcc/api/v1.1/files/files/{dDocName}/attachments/{extRenditionName}

Description

Delete an attachment from a document. (DELETE_RENDITIONS)

Parameters

Name Located in Description Required Schema
dDocName path The dDocName of the document to delete the attachment. Yes string
extRenditionName path The name of the attachment. Yes string
version query The version of the document to delete the attachment. By default, the attachment is deleted from the latest version. No string

Responses

Code Description Schema
204 Successfully deleted an attachment  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Delete attachment myattachment1 from the latest version of ID14004398.

Request

DELETE …/documents/wcc/api/v1.1/files/ID14004398/attachments/myattachment1

Request Body

None.

HTTP Response

Status = 204

Delete an Attachment by dID

DELETE /documents/wcc/api/v1.1/files/files/.by.did/{dID}/attachments/{extRenditionName}

Description

Delete an attachment a document revision. (DELETE_RENDITIONS)

Parameters

Name Located in Description Required Schema
dID path The dID of the revision to delete the attachment. Yes string
extRenditionName path The name of the attachment. Yes string

Responses

Code Description Schema
204 Successfully deleted an attachment  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Delete attachment myattachment2 from the revsion 4398.

Request

DELETE …/documents/wcc/api/v1.1/files/.by.did/4398/attachments/myattachment2

Request Body

None.

HTTP Response

Status = 204

Get List of Attachments

GET /documents/wcc/api/v1.1/files/{dDocName}/attachments/

Description

Get a list of attachements for a document. (DOC_INFO)

Parameters

Name Located in Description Required Schema
dDocName path The dDocName of the document to get the list of attachments. Yes string
version query The version of the document to get the list attachments. By default, the attachment list is from the latest version. No string

Responses

Code Description Schema
200 Successfully returned the list of attachments AttachmentListResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Get the list of attachments for content item ID010801.

Request

GET …/documents/wcc/api/v1.1/files/ID010801/attachments

Request Body

None.

HTTP Response

Status = 200

Body

{
"count": 3,
"items": [
    {
    "extRenditionName": "att1",
    "extRenditionDescription": "attachment 1",
    "extRenditionOriginalName": "5pages.DOC",
    "extRenditionFileType": "application/msword",
    "extRenditionFileSize": 19968
    },
    {
    "extRenditionName": "anImage",
    "extRenditionDescription": "cups",
    "extRenditionOriginalName": "Mugs.png",
    "extRenditionFileType": "image/png",
    "extRenditionFileSize": 226620
    },
    {
    "extRenditionName": "mountains",
    "extRenditionDescription": null,
    "extRenditionOriginalName": "Desert.jpg",
    "extRenditionFileType": "image/jpeg",
    "extRenditionFileSize": 845941
    }
    ]
}

Get List of Attachments by dID

GET /documents/wcc/api/v1.1/files/.by.did/{dID}/attachments/

Description

Get a list of attachements for a revision of a document. (DOC_INFO)

Parameters

Name Located in Description Required Schema
dID path The dID of the revision to get the list of attachments. Yes string

Responses

Code Description Schema
200 Successfully returned the list of attachments AttachmentListResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Get the list of attachments for revision 10601.

Request

GET …/documents/wcc/api/v1.1/files/.by.did/10601/attachments

Request Body

None.

HTTP Response

Status = 200

Body

{
    "count": 3,
    "items": [
        {
            "extRenditionName": "att1",
            "extRenditionDescription": "attachment 1",
            "extRenditionOriginalName": "5pages.DOC",
            "extRenditionFileType": "application/msword",
            "extRenditionFileSize": 19968
        },
        {
            "extRenditionName": "anImage",
            "extRenditionDescription": "cups",
            "extRenditionOriginalName": "Mugs.png",
            "extRenditionFileType": "image/png",
            "extRenditionFileSize": 226620
        },
        {
            "extRenditionName": "mountains",
            "extRenditionDescription": null,
            "extRenditionOriginalName": "Desert.jpg",
            "extRenditionFileType": "image/jpeg",
            "extRenditionFileSize": 845941
        }
    ]
}

Workflow

Create a Workflow

POST /documents/wcc/api/v1.1/workflow

Description

Create a workflow. (ADD_WORKFLOW)

Parameters

Name Located in Description Required Schema
dWfName formData The workflow name. Yes string
dWfType formData The workflow type; supported types include:
•Basic
•Criteria
•SubWorkflow
Yes string
dWfDescription formData The workflow description. Yes string
dSecurityGroup formData The security group the workflow applies to. Yes string
dWfCriteriaName formData The workflow criteria field. Yes, if dWfType is Criteria. string
dWfCriteriaValue formData The workflow criteria value. Yes, if dWfType is Criteria. string

Responses

Code Description Schema
201 Successfully created a workflow.
Returns Header Location which is a URI to get the definition of the added workflow.
 
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Create a basic workflow in the Public security group.

Request

POST …/documents/wcc/api/v1.1/workflow

Request Body

FormData Parameters

dWfName = MyBasicWF

dSecurityGroup = Public

dWfType = Basic

dWfDescription = a basic workflow

HTTP Response

Status = 201

Body

None.

Header

Location = …/documents/wcc/api/v1.1/workflows/MyBasicWF

Get Workflow Information

GET /documents/wcc/api/v1.1/workflows/{dWfName}

Description

Get workflow information by its name. (GET_WORKFLOW)

Parameters

Name Located in Description Required Schema
dWfName path The workflow name Yes string

Responses

Code Description Schema
200 Workflow information WorkflowInformationResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Get information on workflow criteriawf1.

Request

GET …/documents/wcc/api/v1.1/workflows/criteriawf1

Request Body

None.

HTTP Response

Status = 200

Body

{
"workflow": {
    "dWfID": 2,
    "dWfName": "criteriawf1",
    "dWfDescription": "Criteria Workflow1",
    "dCompletionDate": null,
    "dSecurityGroup": "Public",
    "dWfStatus": "INPROCESS",
    "dWfType": "Criteria",
    "dIsCollaboration": 0
},
"workflowSteps": [
    {
        "dWfStepID": 3,
        "dWfStepName": "contribution",
        "dWfID": 2,
        "dWfStepDescription": null,
        "dWfStepType": ":C:CA:CE:",
        "dWfStepIsAll": 0,
        "dWfStepWeight": 1,
        "dWfStepIsSignature": 0
    },
    {
        "dWfStepID": 4,
        "dWfStepName": "step1",
        "dWfID": 2,
        "dWfStepDescription": null,
        "dWfStepType": ":R:C:CE:",
        "dWfStepIsAll": 0,
        "dWfStepWeight": 1,
        "dWfStepIsSignature": 0,
        "dAliases": "weblogic\tuser"
    }
],
"workflowStepEvents": [
    {
        "dWfStepName": "step1",
        "wfEntryScript": null,
        "wfExitScript": null,
        "wfUpdateScript": null
    }
]
}

Edit a Workflow

PUT /documents/wcc/api/v1.1/workflows/{dWfName}

Description

Update a workflow. (EDIT_WORKFLOW, EDIT_WORKFLOWCRITERIA)

Parameters

Name Located in Description Required Schema
dWfName path The workflow name. Yes string
dWfType formData The workflow type; supported types include:
•Basic
•Criteria
•SubWorkflow
Yes string
dWfDescription formData The workflow description. No string
dSecurityGroup formData The security group the workflow applies to. Yes string
dWfCriteriaName formData The workflow criteria field. Yes, if dWfType is Criteria. string
dWfCriteriaValue formData The workflow criteria value. Yes, if dWfType is Criteria. string

Responses

Code Description Schema
204 Successfully updated a workflow.
Returns Header Location which is a URI to get the definition of the added workflow.
 
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Update the dWfDescription in the MyBasicWF workflow.

Request

PUT …/documents/wcc/api/v1.1/workflows/MyBasicWF

Request Body

FormData Parameters

dSecurityGroup = Public

dWfType = Basic

dWfDescription = the basic workflow for Public

HTTP Response

Status = 204

Body

None.

Header

Location = …/documents/wcc/api/v1.1/workflows/MyBasicWF

Delete a Workflow

DELETE /documents/wcc/api/v1.1/workflows/{dWfName}

Description

Delete a workflow. (DELETE_WORKFLOW, DELETE_WORKFLOWCRITERIA)

Parameters

Name Located in Description Required Schema
dWfName path The workflow name. Yes string

Responses

Code Description Schema
204 Successfully deleted a workflow.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Delete the MyBasicWF workflow.

Request

DELETE …/documents/wcc/api/v1.1/workflows/MyBasicWF

Request Body

None.

HTTP Response

Status = 204

Body

None.

Start a Workflow

POST /documents/wcc/api/v1.1/workflows/{dWfName}/.start

Description

Start a basic workflow or enable a criteria workflow. (WORKFLOW_START, CRITERIAWORKFLOW_ENABLE)

Parameters

Name Located in Description Required Schema
dWfName path The workflow name. Yes string
wfMessage formData The message included in the “Workflow Started” notification e-mail. This is only passed for Basic workflows. No string

Responses

Code Description Schema
204 Successfully started a workflow.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Start the MyBasicWF workflow.

Request

POST …/documents/wcc/api/v1.1/workflows/MyBasicWF/.start

Request Body

None.

HTTP Response

Status = 204

Body

None.

Cancel a Workflow

POST /documents/wcc/api/v1.1/workflows/{dWfName}/.cancel

Description

Cancel a basic workflow or disable a criteria workflow. (WORKFLOW_CANCEL, CRITERIAWORKFLOW_DISABLE)

Parameters

Name Located in Description Required Schema
dWfName path The workflow name. Yes string

Responses

Code Description Schema
204 Successfully canceled a workflow.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Cancel the MyBasicWF workflow.

Request

POST …/documents/wcc/api/v1.1/workflows/MyBasicWF/.cancel

Request Body

None.

HTTP Response

Status = 204

Body

None.

Create a Workflow Step

POST /documents/wcc/api/v1.1/workflows/{dWfName}/steps

Description

Create a workflow step for the workflow. (ADD_WORKFLOWSTEP)

Parameters

Name Located in Description Required Schema
dWfName path The workflow name. Yes string
dWfStepName formData The workflow step name. Yes string
dWfStepDescription formData The workflow step description. Yes string
dWfStepType formData The workflow step type. The following types are supported:
•Review
•Review/Edit Revision
•Review/New Revision
•or it can be passed as a string of stepType codes for example :R:C:CE:(Reviewer/Contributor), :R:(Review)
Yes string
dWfStepIsAll formData When true, all users should approve the revision for the next step.
When false, the dWfStepWeight field specifies the number of users required for the next step. The default is false.
No boolean
dWfStepWeight formData The number of reviewers that must approve the revision before the workflow passes to the next step. The default is 1. No number
wfEntryScript formData The step entry script. It must be placed within <$ and $> delimiters. No string
wfExitScript formData The step entry script. It must be placed within <$ and $> delimiters. No string
wfUpdateScript formData The step entry script. It must be placed within <$ and $> delimiters. No string
dAliases formData A comma delimited list of aliases and users to be used for the step. The format for this parameter is: alias1,usertype1,alias2,usertype2. Yes string

Responses

Code Description Schema
201 Successfully created a workflow step.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Add the RCWF1Step3 step to the CriteriaWF1 workflow.

Request

POST …/documents/wcc/api/v1.1/workflows/CriteriaWF1/steps

Request Body

FormData Parameters

dWfStepName = RCWF1Step3

dWfStepDescription = Step 3 Description

dWfStepType = Review/New Revision

dWfStepIsAll = 1

dWfStepWeight = 1

dAliases = weblogic,user

dWfStepDescription = Step3

HTTP Response

Status = 201

Body

None.

Edit a Workflow Step

PUT /documents/wcc/api/v1.1/workflows/{dWfName}/steps/{dWfStepName}

Description

Edit a workflow step for the workflow. (EDIT_WORKFLOWSTEP)

Parameters

Name Located in Description Required Schema
dWfName path The workflow name. Yes string
dWfStepName path The workflow step name. Yes string
dWfStepDescription formData The workflow step description. No string
dWfStepType formData The workflow step type. The following types are supported:
•Review
•Review/Edit Revision
•Review/New Revision
•or it can be passed as a string of stepType codes for example :R:C:CE:(Reviewer/Contributor), :R:(Review)
Yes string
dWfStepIsAll formData When true, all users should approve the revision for the next step.
When false, the dWfStepWeight field specifies the number of users required for the next step. The default is false.
No boolean
dWfStepWeight formData The number of reviewers that must approve the revision before the workflow passes to the next step. The default is 1. No number
wfEntryScript formData The step entry script. It must be placed within <$ and $> delimiters. No string
wfExitScript formData The step entry script. It must be placed within <$ and $> delimiters. No string
wfUpdateScript formData The step entry script. It must be placed within <$ and $> delimiters. No string
dAliases formData A comma delimited list of aliases and users to be used for the step. The format for this parameter is: alias1,usertype1,alias2,usertype2. Yes string

Responses

Code Description Schema
204 Successfully edited a workflow step.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Change the type of the RCWF1Step3 step to the MyBasicWF workflow.

Request

POST …/documents/wcc/api/v1.1/workflows/CriteriaWF1/steps/RCWF1Step3

Request Body

FormData Parameters

dWfStepType = Contributor

HTTP Response

Status = 204

Body

None.

Delete a Workflow Step

DELETE /documents/wcc/api/v1.1/workflows/{dWfName}/steps/{dWfStepName}

Description

Delete a workflow step from the workflow. (DELETE_WORKFLOWSTEP)

Parameters

Name Located in Description Required Schema
dWfName path The workflow name. Yes string
dWfStepName path The workflow step name. Yes string

Responses

Code Description Schema
204 Successfully deleted a workflow step.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Delete the RCWF1Step3 step from the MyBasicWF workflow.

Request

DELETE …/documents/wcc/api/v1.1/workflows/CriteriaWF1/steps/RCWF1Step3

Request Body

FormData Parameters

dWfStepType = Contributor

HTTP Response

Status = 204

Body

None.

Add a User to a Workflow Step

POST /documents/wcc/api/v1.1/workflows/{dWfName}/steps/{dWfStepName}/aliases

Description

Add an alias or a user to the specified workflow step of a workflow. (ADD_WORKFLOWALIASES)

Parameters

Name Located in Description Required Schema
dWfName path The workflow name. Yes string
dWfStepName path The workflow step name. Yes string
dAlias query The name of the alias or the user to add to the step. Yes string
dAliasType query The type of user must be either user or alias. Yes string

Responses

Code Description Schema
204 Successfully added the user to the workflow step.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Add the weblogic user to the RCWF1Step3 step from the CriteriaWF1 workflow.

Request

POST …/documents/wcc/api/v1.1/workflows/CriteriaWF1/steps/RCWF1Step3/aliases

Request Body

Query Parameters: dAlias=weblogic & dAliasType=user

HTTP Response

Status = 204

Body

None.

Delete a User from a Workflow Step

POST /documents/wcc/api/v1.1/workflows/{dWfName}/steps/{dWfStepName}/aliases/{dAlias}

Description

Delete an alias or a user from the specified workflow step of a workflow. (DELETE_WFCONTRIBUTORS)

Parameters

Name Located in Description Required Schema
dWfName path The workflow name. Yes string
dWfStepName path The workflow step name. Yes string
dAlias path The name of the alias or the user to delete from the step. Yes string

Responses

Code Description Schema
204 Successfully deleted the user from the workflow step.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Delete the weblogic user from the RCWF1Step3 step from the CriteriaWF1 workflow.

Request

DELETE …/documents/wcc/api/v1.1/workflows/CriteriaWF1/steps/RCWF1Step3/aliases/weblogic

Request Body

None.

HTTP Response

Status = 204

Body

None.

Add a document to Workflow

POST /documents/wcc/api/v1.1/workflows/{dWfName}/files/{dDocName}

Description

Add a document to a basic workflow. Note that criteria workflows are not supported. (ADD_WORKFLOWDOCUMENT)

Parameters

Name Located in Description Required Schema
dWfName path The workflow name. Yes string
dDocName path The dDocName of the document to add. Yes string

Responses

Code Description Schema
204 Successfully added the document to the workflow.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Add the document identified by ID14006201 to the MyBasicWF workflow.

Request

POST …/documents/wcc/api/v1.1/workflows/MyBasicWF/files/ID14006201

Request Body

None.

HTTP Response

Status = 204

Body

None.

Remove a document from a Workflow

DELETE /documents/wcc/api/v1.1/workflows/{dWfName}/files/{dDocName}

Description

Remove a document from a basic workflow. Note that criteria workflows are not supported. (DELETE_WORKFLOWDOCUMENTS)

Parameters

Name Located in Description Required Schema
dWfName path The workflow name. Yes string
dDocName path The dDocName of the document to remove. Yes string

Responses

Code Description Schema
204 Successfully removed the document from the workflow.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Remove the document identified by ID14006201 from the MyBasicWF workflow.

Request

DELETE …/documents/wcc/api/v1.1/workflows/MyBasicWF/files/ID14006201

Request Body

None.

HTTP Response

Status = 204

Body

None.

Get content item revisions in a workflow

GET /documents/wcc/api/v1.1/workflows/{dWfName}/docrevisions

Description

Get a list of content item revisions that are in the workflow. (GET_WORKFLOWDOCREVISIONS)

Parameters

Name Located in Description Required Schema
dWfName path Workflow name Yes string

Responses

Code Description Schema
200 Workflow information WorkflowInformationRevisionsResponse
204 There are no content items in this workflow.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Get information on revisions in the workflow criteriawf1.

Request

GET …documents/wcc/api/v1.1/workflows/criteriawf1/docrevisions

Request Body

None.

HTTP Response

Status = 200

Body

{
"wf_info": {
    "dWfID": 2,
    "dWfName": "criteriawf1",
    "dWfDescription": "Criteria Workflow1",
    "dCompletionDate": null,
    "dSecurityGroup": "Public",
    "dWfStatus": "INPROCESS",
    "dWfType": "Criteria",
    "dIsCollaboration": 0
},
"workflowSteps": [
    {
        "dWfStepID": 3,
        "dWfStepName": "contribution",
        "dWfID": 2,
        "dWfStepDescription": null,
        "dWfStepType": ":C:CA:CE:",
        "dWfStepIsAll": 0,
        "dWfStepWeight": 1,
        "dWfStepIsSignature": 0,
        "dHasTokens": "false"
    },
    {
        "dWfStepID": 4,
        "dWfStepName": "step1",
        "dWfID": 2,
        "dWfStepDescription": null,
        "dWfStepType": ":R:C:CE:",
        "dWfStepIsAll": 0,
        "dWfStepWeight": 1,
        "dWfStepIsSignature": 0,
        "dUsers": "user:weblogic",
        "dHasTokens": "false"
    }
],
"wfDocuments": [
    {
        "dWfID": 2,
        "dDocName": "ID45654",
        "dWfDocState": "INPROCESS",
        "dWfComputed": null,
        "dWfCurrentStepID": 4,
        "dWfDirectory": "public",
        "dVitalState": "Y",
        "xReportType": null,
        "xIsEditable": "1",
        "xHasFixedClone": 0,
        "dCharacterSet": null,
        "xRelatedContentTriggerDate": null,
        "xRecordCutoffDate": null,
        "dLastModifiedDate": "2024-05-22 16:34:18Z",
        "dRecordState": null,
        "dMessage": null,
        "dWebExtension": "jpg",
        "xClassifiedMarkings": null,
        "xStorageRule": "DispByContentId",
        "dIndexerState": null,
        "xSuperSupersededDate": null,
        "dReleaseDate": null,
        "dOutDate": null,
        "dRevClassID": 7846,
        "xIsVital": "0",
        "xRelatedContentList": null,
        "xIsDeletable": "1",
        "dRmaProcessState": "Y",
        "xRecordDestroyDate": null,
        "xVitalPeriodUnits": null,
        "xSource": null,
        "xRecordFilingDate": "2024-05-22 16:32:00Z",
        "dStatus": "REVIEW",
        "dInDate": "2024-05-22 16:32:00Z",
        "xRecordReviewDate": null,
        "xCpdIsTemplateEnabled": 0,
        "xPartitionId": null,
        "dReleaseState": "E",
        "xCpdIsLocked": 0,
        "xIsFixedClone": 0,
        "xReportContentType": null,
        "xCategoryID": null,
        "dPublishState": null,
        "xAuditPeriod": null,
        "dID": 8446,
        "xLibraryGUID": null,
        "xRecordSupersededDate": null,
        "xDeleteApproveDate": null,
        "xIsACLReadOnlyOnUI": 0,
        "xComments": "criteriawf1",
        "dRendition1": null,
        "xNewRevisionDate": "2024-05-22 16:34:05Z",
        "dRendition2": null,
        "xRecordCancelledDate": null,
        "dRmaSegmentID": 3,
        "dDocTitle": "workflow demo",
        "dCheckoutUser": null,
        "dFileSize": 845941,
        "xRecordExpirationDate": null,
        "xVitalPeriod": 0,
        "dIsPrimary": 1,
        "dExtension": "jpg",
        "dProcessingState": "Y",
        "xIsFrozen": "0",
        "dWorkflowState": "W",
        "xIsRevisionable": "1",
        "dDocType": "Document",
        "xRecordActivationDate": null,
        "dLanguage": null,
        "dIsCheckedOut": 0,
        "xSupersededContent": null,
        "xIdcProfile": null,
        "dDocAuthor": "weblogic",
        "dIsWebFormat": 0,
        "xFreezeID": "0",
        "xIsSubjectToAudit": "0",
        "xFreezeReason": null,
        "dPublishType": null,
        "dFormat": "image/jpeg",
        "xClbraUserList": null,
        "xIsRecord": "0",
        "xFolderID": null,
        "dRevRank": 0,
        "dDocID": 13691,
        "xClbraAliasList": null,
        "dLocation": null,
        "xSupplementalMarkings": null,
        "xWebFlag": null,
        "dOriginalName": "Desert.jpg",
        "xRecordObsoleteDate": null,
        "xAnnotationDetails": 0,
        "dSecurityGroup": "Public",
        "xVitalReviewer": null,
        "dFlag1": null,
        "dCreateDate": "2024-05-22 16:34:05Z",
        "xRecordRescindedDate": null,
        "xExternalDataSet": null,
        "dRevisionID": 1,
        "xLongName": null,
        "dRevLabel": "1",
        "dDocAccount": null,
        "xIsCutoff": "0",
        "xNoLatestRevisionDate": null
    }
]
}

Active Workflows

GET /documents/wcc/api/v1.1/workflows/active/items

Description

Get active workflows. (GET_ACTIVE_WORKFLOWS)

Responses

Code Description Schema
200 The list of active workflows. WorkflowActiveResponse
204 There are no active standard workflows in the system.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

List the active workflows.

Request

GET …/documents/wcc/api/v1.1/workflows/active/items

Request Body

None.

HTTP Response

Status = 200

Body

{
"count": 3,
"items": [
    {
        "dWfID": 2,
        "dWfName": "criteriawf1",
        "dWfDescription": "Criteria Workflow1",
        "dCompletionDate": null,
        "dSecurityGroup": "Public",
        "dWfStatus": "INPROCESS",
        "dWfType": "Criteria",
        "dIsCollaboration": 0
    },
    {
        "dWfID": 201,
        "dWfName": "criteriawf2",
        "dWfDescription": null,
        "dCompletionDate": null,
        "dSecurityGroup": "Public",
        "dWfStatus": "INPROCESS",
        "dWfType": "Criteria",
        "dIsCollaboration": 0
    },
    {
        "dWfID": 402,
        "dWfName": "criteriawf4",
        "dWfDescription": "Criteria 4 on Secure Group",
        "dCompletionDate": null,
        "dSecurityGroup": "Secure",
        "dWfStatus": "INPROCESS",
        "dWfType": "Criteria",
        "dIsCollaboration": 0
    }
]
}

Get Current Workflow Assignments

GET …/documents/wcc/api/v1.1/workflows/inqueue/items

Description

Get the user’s current workflow assignments.(GET_WORKFLOW_INQUEUE_LIST,GET_WORKFLOW_INQUEUE_LIST_EX)

Parameters

Name Located in Description Required Schema
fields query A comma separated list of fields to be returned for each content item. By default, all fields will be returned. No string
orderBy query The sort field and sort order which will be used to arrange the filtered content items. For example: dwfQueueLastActionTs:Desc will sort the specified field in descending order. No string
limit query The maximum number of items listed per page. If not provided, the limit is calculated from the config setting WfInqueueMaxRows. If neither are set, the default is 20. No number
offset query Specifies the point from which items are listed for the response. No number
doMarkSubscribed query When 1 adds a fIsSubscribed field in the resultset to indicate if the folder is subscribed. No number

Responses

Code Description Schema
200 Workflow in queue for the user. WorkflowInQueueResponse
204 The workflow in queue is empty.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

The user’s workflow assignments.

Request

GET …/documents/wcc/api/v1.1/workflows/inqueue/items

Request Body

None.

HTTP Response

Status = 200

Body

{
"count": 1,
"hasMore": false,
"numPages": 1,
"pageNumber": 1,
"totalRows": 1,
"startRow": 1,
"endRow": 1,
"items": [
    {
        "dUser": "weblogic",
        "dDocName": "ID45654",
        "dID": 8446,
        "dWfID": 2,
        "dWfName": "criteriawf1",
        "dWfStepName": "step1",
        "dwfQueueActionState": null,
        "dwfQueueEnterTs": "2024-05-22 16:34:05Z",
        "dwfQueueLastActionTs": "2024-05-22 16:34:05Z",
        "wfMessage": null,
        "dVitalState": "Y",
        "xReportType": null,
        "xIsEditable": "1",
        "xHasFixedClone": 0,
        "dCharacterSet": null,
        "xRelatedContentTriggerDate": null,
        "dwfMessage": null,
        "xRecordCutoffDate": null,
        "dLastModifiedDate": "2024-05-22 16:34:18Z",
        "dWfStepType": ":R:C:CE:",
        "dRecordState": null,
        "dMessage": null,
        "dWebExtension": "jpg",
        "xClassifiedMarkings": null,
        "xStorageRule": "DispByContentId",
        "dIndexerState": null,
        "dWfStepID": 4,
        "xSuperSupersededDate": null,
        "dReleaseDate": null,
        "dOutDate": null,
        "dRevClassID": 7846,
        "xIsVital": "0",
        "xRelatedContentList": null,
        "xIsDeletable": "1",
        "dWfStepDescription": null,
        "wfQueueLastActionTs": "2024-05-22 16:34:05Z",
        "dRmaProcessState": "Y",
        "xRecordDestroyDate": null,
        "xVitalPeriodUnits": null,
        "dWfStepWeight": 1,
        "xSource": null,
        "xRecordFilingDate": "2024-05-22 16:32:00Z",
        "dStatus": "REVIEW",
        "dInDate": "2024-05-22 16:32:00Z",
        "xRecordReviewDate": null,
        "dWfStepIsAll": 0,
        "xCpdIsTemplateEnabled": 0,
        "xPartitionId": null,
        "dReleaseState": "E",
        "xCpdIsLocked": 0,
        "xIsFixedClone": 0,
        "xReportContentType": null,
        "xCategoryID": null,
        "dPublishState": null,
        "xAuditPeriod": null,
        "xLibraryGUID": null,
        "xRecordSupersededDate": null,
        "xDeleteApproveDate": null,
        "xIsACLReadOnlyOnUI": 0,
        "xComments": "criteriawf1",
        "dRendition1": null,
        "xNewRevisionDate": "2024-05-22 16:34:05Z",
        "dRendition2": null,
        "xRecordCancelledDate": null,
        "wfQueueActionState": null,
        "dRmaSegmentID": 3,
        "dDocTitle": "workflow demo",
        "dCheckoutUser": null,
        "dFileSize": 845941,
        "xRecordExpirationDate": null,
        "xVitalPeriod": 0,
        "dIsPrimary": 1,
        "dExtension": "jpg",
        "dProcessingState": "Y",
        "xIsFrozen": "0",
        "dWorkflowState": "W",
        "xIsRevisionable": "1",
        "dDocType": "Document",
        "xRecordActivationDate": null,
        "dLanguage": null,
        "dIsCheckedOut": 0,
        "xSupersededContent": null,
        "xIdcProfile": null,
        "dDocAuthor": "weblogic",
        "dIsWebFormat": 0,
        "xFreezeID": "0",
        "xIsSubjectToAudit": "0",
        "xFreezeReason": null,
        "dPublishType": null,
        "dFormat": "image/jpeg",
        "xClbraUserList": null,
        "xIsRecord": "0",
        "xFolderID": null,
        "dRevRank": 0,
        "dDocID": 13691,
        "xClbraAliasList": null,
        "dLocation": null,
        "xSupplementalMarkings": null,
        "wfQueueEnterTs": "2024-05-22 16:34:05Z",
        "xWebFlag": null,
        "dOriginalName": "Desert.jpg",
        "dWfStepIsSignature": 0,
        "xRecordObsoleteDate": null,
        "xAnnotationDetails": 0,
        "dSecurityGroup": "Public",
        "xVitalReviewer": null,
        "dFlag1": null,
        "dCreateDate": "2024-05-22 16:34:05Z",
        "xRecordRescindedDate": null,
        "xExternalDataSet": null,
        "dRevisionID": 1,
        "xLongName": null,
        "dRevLabel": "1",
        "dDocAccount": null,
        "xIsCutoff": "0",
        "xNoLatestRevisionDate": null
    }
]
}

System

PING Server

GET /documents/wcc/api/v1.1/system/ping

Description

Verify the server is running (PING_SERVER).

Responses

Code Description Schema
204 The server is available  
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Validate the server is responding.

Request

GET …/documents/wcc/api/v1.1/system/ping

Request Body

None.

HTTP Response

Status = 204

Body

None.

Get DocProfiles Information

GET /documents/wcc/api/v1.1/system/docProfiles

Description

List information about all the docProfiles. (GET_DOCPROFILES)

Responses

Code Description Schema
200 Successfully returned the docProfiles information. DocProfilesResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Get all the docProfiles.

Request

GET …/documents/wcc/api/v1.1/system/docProfiles

Request Body

None

HTTP Response

Status = 200

Body

{
"defFileExists": true,
"dpDidSetDefaultTriggerField": 1,
"dpTriggerField": "dSecurityGroup",
"count": 2,
"items": [
    {
        "dpName": "Profile_1",
        "dpDescription": "Profile 1",
        "dpTriggerValue": "Secure",
        "dpDisplayLabel": "Profile_1",
        "dDocClass": "Base",
        "isValid": true
    },
    {
        "dpName": "Profile_2",
        "dpDescription": "Profile 2",
        "dpTriggerValue": "Public",
        "dpDisplayLabel": "Profile_2",
        "dDocClass": "Base",
        "isValid": true
    }
]
}

Create a Document Profile

POST /documents/wcc/api/v1.1/system/docProfiles

Description

Create a new document profile. (ADD_DOCPROFILE)

Parameters

Name Located in Description Required Schema
dpName formData The unique name of the profile. Yes string
dpDescription formData The description of the profile. Yes string
dpTriggerValue formData The trigger associated with the profile. Yes string
dpDisplayLabel formData The display label of the profile. Yes string
isValidateTrigger formData When set to true, validates that the trigger value exists. If the value does not exist, the service fails. When false, the profile is added without validating the trigger. No string

Responses

Code Description Schema
201 Successfully created new profile.
Returns Header Location which is a URI to get the definition of the added document profile.
 
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Creates new document profile called MyNewProfile.

Request

POST …/documents/wcc/api/v1.1/system/docProfiles

Request Body

FormData Parameters

dpName = MyNewProfile

dpDescription = the description

dpTriggerValue = Secure

dpDisplayLabel = display label

HTTP Response

Status = 201

Header

Location = …/documents/wcc/api/v1.1/system/docProfiles/MyNewProfile

Update a Document Profile

PUT /documents/wcc/api/v1.1/system/docProfiles/{dpName}

Description

Edit a document profile. (EDIT_DOCPROFILE)

Parameters

Note: At least one of the formData fields must be included in the request.

Name Located in Description Required Schema
dpName path The unique name of the profile. Yes string
dpDescription formData The description of the profile. Maybe string
dpTriggerValue formData The trigger associated with the profile. Maybe string
dpDisplayLabel formData The display label of the profile. Maybe string

Responses

Code Description Schema
204 Successfully updated the profile.
Returns Header Location which is a URI to get the A URI to get the definition of the updated document profile.
 
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Update the document profile called MyNewProfile by changing the trigger value.

Request

PUT …/documents/wcc/api/v1.1/system/docProfiles/MyNewProfile

Request Body

FormData Parameters

dpTriggerValue = Public

HTTP Response

Status = 204

Header

Location = …/documents/wcc/api/v1.1/system/docProfiles/MyNewProfile

Get a Document Profile

GET /documents/wcc/api/v1.1/system/docProfiles/{dpName}

Description

Get a document profile. (GET_DOCPROFILE)

Parameters

Name Located in Description Required Schema
dpName path The unique name of the profile. Yes string

Responses

Code Description Schema
200 Successfully returned document profile information. DocProfileResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Get the document profile called MyNewProfile.

Request

GET …/documents/wcc/api/v1.1/system/docProfiles/MyNewProfile

Request Body

None.

HTTP Response

Status = 200

Body

{

“dpName”: “MyNewProfile”,

“dpDescription”: “new description”,

“dpDisplayLabel”: “updateDisplay”,

“dpTriggerValue”: “Public”,

“dDocClass”: “Base”,

“isValid”: null,

“defFileExists”: true

}

Delete a Document Profile

DELETE /documents/wcc/api/v1.1/system/docProfiles/{dpName}

Description

Delete a document profile. (DELETE_DOCPROFILE)

Parameters

Name Located in Description Required Schema
dpName path The unique name of the profile. Yes string

Responses

Code Description Schema
204 Successfully deleted the profile.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Delete the document profile called MyNewProfile.

Request

DELETE …/documents/wcc/api/v1.1/system/docProfiles/MyNewProfile

Request Body

None.

HTTP Response

Status = 204

Body

None.

Query a Data Source

GET /documents/wcc/api/v1.1/system/{dataSource}/items

Description

Query the database via a defined data source. (GET_DATARESULTSET)

Parameters

Name Located in Description Required Schema
dataSource path The server data source to query. The server table DataSources lists the supported sources. Yes string
whereClause query The WHERE clause for the select query. No string
orderClause query The ORDER clause for the select query. No string
maxRows query Sets the maximum number of rows to be returned. No number
startRow query The number of rows to skip when the table is returned. No number

Responses

Code Description Schema
200 The dataSource was successfully queried. The response depends on the data source being queried and are not explicitly defined in this documentation. DataSourceResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Get All Document Types

GET /documents/wcc/api/v1.1/system/doctypes

Description

List information about all document types. (GET_DOCTYPES)

Parameters

None.

Responses

Code Description Schema
200 Successfully returned document type information. DocTypeResponse
204 There are no document types defined.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Get all the document types.

Request

GET …/documents/wcc/api/v1.1/system/doctypes

Request Body

None.

HTTP Response

Status = 200

Body

{
"count": 5,
"items": [
    {
    "dDocType": "Application",
    "dDescription": "wwDocTypeDesc_Application",
    "dGif": "ucm_application_file.png"
    },
    {
    "dDocType": "Binary",
    "dDescription": "wwDocTypeDesc_Binary",
    "dGif": "ucm_binaryfile.png"
    },
    {
    "dDocType": "DigitalMedia",
    "dDescription": "wwDocTypeDesc_DigitalMedia",
    "dGif": "ucm_digital_asset.png"
    },
    {
    "dDocType": "Document",
    "dDescription": "wwDocTypeDesc_Document",
    "dGif": "ucm_document.png"
    },
    {
    "dDocType": "System",
    "dDescription": "wwDocTypeDesc_System",
    "dGif": "ucm_system_file.png"
    }
]
}

Create a Document Type

POST /documents/wcc/api/v1.1/system/doctypes

Description

Create a new document type. (ADD_DOCTYPE)

Parameters

Name Located in Description Required Schema
dDocType formData The unique identifier of document type. Yes string
dDescription formData The description of the document type. Yes string
dGif formData The file name of image for the document type. Note that the images are on the server in the IntradocWebDir/images/docgifs directory. Yes string

Responses

Code Description Schema
201 The document type was created.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Add a document type called MyNewType, with description new type, using the image ucm_doc.png.

Request

POST …/documents/wcc/api/v1.1/system/doctypes

Request Body

FormData Parameters

dDocType = MyNewType

dDescription = new type

dGif = ucm_doc.png

HTTP Response

Status = 201

Body

None.

Edit a Document Type

PUT /documents/wcc/api/v1.1/system/doctypes/{dDocType}

Description

Edit an existing document type. (EDIT_DOCTYPE)

Parameters

Name Located in Description Required Schema
dDocType path The unique identifier of document type. Yes string
dDescription formData The description of the document type. Yes string
dGif formData The file name of image for the document type. Note that the images are on the server in the IntradocWebDir/images/docgifs directory. Yes string

Responses

Code Description Schema
204 Successfully updated the document type.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Edit the document type called MyNewType, update the description to my new type, update the image to ucm_engineering.png.

Request

PUT …/documents/wcc/api/v1.1/system/doctypes/MyNewType

Request Body

FormData Parameters

dDescription = my new type

dGif = ucm_engineering.png

HTTP Response

Status = 204

Body

None.

Delete a Document Type

DELETE /documents/wcc/api/v1.1/system/doctypes/{dDocType}

Description

Delete a document type. (DELETE_DOCTYPE)

Parameters

Name Located in Description Required Schema
dDocType path The unique identifier of document type. Yes string

Responses

Code Description Schema
204 Successfully deleted the document type.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Delete the document type called MyNewType.

Request

DELETE …/documents/wcc/api/v1.1/system/doctypes/MyNewType

Request Body

None.

HTTP Response

Status = 204

Body

None.

Configuration Information

GET /documents/wcc/api/v1.1/system/docConfigInfo

Description

Get the server configuration information. (GET_DOC_CONFIG_INFO)

Parameters

Name Located in Description Required Schema
rowLimit query Limits the number of rows in all arrays. No number
includeResultSets query A comma separated list of arrays to return. No string

Responses

Code Description Schema
200 Successfully returned the configuration information. DocConfigInfoResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Get the server configuration information, limiting the arrays to 1 row.

Request

GET …/documents/wcc/api/v1.1/system/docConfigInfo

Request Body

query parameter rowLimit = 1

HTTP Response

Status = 200

Body

{
"idc_name": "server",
"accessListPrivilegesGrantedWhenEmpty": 1,
"authorDelete": 1,
"foldersIndexParentFolderValues": 0,
"httpAbsoluteCgiUrl": "https://content.company.com/cs/idcplg",
"httpAbsoluteCgiUrlWebdav": "https://content.company.com/cs/idcplg/webdav",
"httpAbsoluteWebdavPath": "https://content.company.com/_dav/cs/idcplg/webdav",
"httpBaseAbsoluteRoot": "https://content.company.com",
"httpCgiPath": "/cs/idcplg",
"httpRelativeWebRoot": "/cs/",
"illegalUrlSegmentCharacters": ";/\\?:@&=+\"#%<>*~|[]iI",
"instanceDescription": "Instance server",
"instanceMenuLabel": "server",
"isAutoNumber": 1,
"isQueryObjectPersistent": null,
"localeDateFormatPattern": "yyyy-MM-dd HH:mm:ss",
"localeTimeZoneID": "America/Chicago",
"localeTimeZoneOffsetMillis": -21600000,
"maxResults": 200,
"memoFieldSize": 2000,
"productVersion": "12.2.1.0.0",
"productVersionInfo": "7.3.5.186",
"renditionListExportedForStaticAccess": null,
"searchIndexerEngineName": "DATABASE.METADATA",
"systemTimeZone": "America/Chicago",
"useAccounts": 0,
"useCollaboration": 0,
"useDatabaseWfInQueue": 1,
"useEntitySecurity": 0,
"acceptsResponseDateFormat": 1,
"dUser": "weblogic",
"webdavbaseurl": "https://content.company.com/_dav/cs/idcplg/webdav/core/tip",
"doc_default_infoCount": 0,
"docFormatsCount": 1,
"docMetaDefinitionCount": 1,
"docTypesCount": 1,
"featuresCount": 1,
"docFormats": [
    {
        "dFormat": "application/msword",
        "dConversion": "Word",
        "dDescription": "apMicrosoftWordDesc",
        "dIsEnabled": 1,
        "overrideStatus": "full",
        "isSystem": 1
    }
],
"docMetaDefinition": [
    {
        "dName": "xComments",
        "dType": "Memo",
        "dIsRequired": 0,
        "dIsEnabled": 1,
        "dIsSearchable": 1,
        "dCaption": "wwComments",
        "dIsOptionList": 0,
        "dOrder": 1,
        "dIsPlaceholderField": 0,
        "dDocMetaSet": "DocMeta"
    }
],
"docTypes": [
    {
        "dDocType": "Application",
        "dDescription": "wwDocTypeDesc_Application",
        "dGif": "ucm_application_file.png"
    }
],
"features": [
    {
        "idcFeatureName": "ConfigurationMigration",
        "idcFeatureVersion": "1.0",
        "idcFeatureLevel": "1.0.1.68",
        "idcFeatureComponent": "ConfigMigrationUtility"
    }
]
}

Metadata Fields and DocType Information

GET /documents/wcc/api/v1.1/system/docMetaInfo

Description

Get metadata fields information and available docTypes (GET_DOC_METADATA_INFO).

Parameters

None.

Responses

Code Description Schema
200 Successfully returned the configuration information. DocMetaInfoResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Get the server metadata information.

Request

GET …/documents/wcc/api/v1.1/system/docMetaInfo

Request Body

None

HTTP Response

Status = 200

Body

{
"isAutoNumber": 1,
"useAccounts": 0,
"docMetaDefinitionCount": 17,
"docTypesCount": 7,
"docMetaDefinition": [
    {
        "dName": "xComments",
        "dType": "Memo",
        "dIsRequired": 0,
        "dIsEnabled": 1,
        "dIsSearchable": 1,
        "dCaption": "wwComments",
        "dIsOptionList": 0,
        "dOrder": 1,
        "dIsPlaceholderField": 0,
        "dDocMetaSet": "DocMeta"
    },
    {
        "dName": "xExternalDataSet",
        "dType": "BigText",
        "dIsRequired": 0,
        "dIsEnabled": 0,
        "dIsSearchable": 0,
        "dCaption": "wwExternalDataSet",
        "dIsOptionList": 0,
        "dOrder": 5,
        "dIsPlaceholderField": 0
    },
    {
        "dName": "xIdcProfile",
        "dType": "Text",
        "dIsRequired": 0,
        "dIsEnabled": 1,
        "dIsSearchable": 1,
        "dCaption": "wwProfile",
        "dIsOptionList": 1,
        "dOptionListKey": "view://ProfileTriggerValues",
        "dOrder": 7,
        "dOptionListType": "choice",
        "dIsPlaceholderField": 0
    },
    {
        "dName": "xTemplateType",
        "dType": "Text",
        "dIsRequired": 0,
        "dIsEnabled": 1,
        "dIsSearchable": 0,
        "dCaption": "wwCheckinTemplateTemplateType",
        "dIsOptionList": 1,
        "dOptionListKey": "TemplateTypeList",
        "dOrder": 40,
        "dOptionListType": "choice",
        "dIsPlaceholderField": 0,
        "dComponentName": "DynamicConverter",
        "dOptionListValues": "HC Template,GUI Template,Layout Template,Script Template,Viewer Cache Template"
    },
    {
        "dName": "xAnnotationDetails",
        "dType": "Int",
        "dIsRequired": 0,
        "dIsEnabled": 0,
        "dIsSearchable": 0,
        "dCaption": "apAnnotationDetails",
        "dIsOptionList": 0,
        "dDefaultValue": "0",
        "dOrder": 100,
        "dIsPlaceholderField": 0,
        "dComponentName": "Imaging"
    },
    {
        "dName": "xIsACLReadOnlyOnUI",
        "dType": "Int",
        "dIsRequired": 0,
        "dIsEnabled": 0,
        "dIsSearchable": 0,
        "dCaption": "wwFldIsACLReadOnlyOnUI",
        "dIsOptionList": 0,
        "dDefaultValue": "0",
        "dOrder": 101,
        "dIsPlaceholderField": 0
    },
    {
        "dName": "xLibraryGUID",
        "dType": "BigText",
        "dIsRequired": 0,
        "dIsEnabled": 1,
        "dIsSearchable": 1,
        "dCaption": "wwFldLibrary",
        "dIsOptionList": 0,
        "dOrder": 10000,
        "dIsPlaceholderField": 0,
        "dComponentName": "FrameworkFolders"
    },
    {
        "dName": "xPartitionId",
        "dType": "Text",
        "dIsRequired": 0,
        "dIsEnabled": 0,
        "dIsSearchable": 1,
        "dCaption": "apFsPartitionId",
        "dIsOptionList": 0,
        "dOrder": 10600,
        "dIsPlaceholderField": 0,
        "dComponentName": "FileStoreProvider"
    },
    {
        "dName": "xWebFlag",
        "dType": "Text",
        "dIsRequired": 0,
        "dIsEnabled": 0,
        "dIsSearchable": 1,
        "dCaption": "apFsWebFlag",
        "dIsOptionList": 0,
        "dOrder": 10601,
        "dIsPlaceholderField": 0,
        "dComponentName": "FileStoreProvider"
    },
    {
        "dName": "xStorageRule",
        "dType": "Text",
        "dIsRequired": 0,
        "dIsEnabled": 0,
        "dIsSearchable": 1,
        "dCaption": "apFsStorageRule",
        "dIsOptionList": 1,
        "dOptionListKey": "view://StorageRuleView",
        "dDefaultValue": "DispByContentId",
        "dOrder": 10602,
        "dOptionListType": "choice",
        "dIsPlaceholderField": 0,
        "dComponentName": "FileStoreProvider"
    },
    {
        "dName": "xTest",
        "dType": "Int",
        "dIsRequired": 0,
        "dIsEnabled": 1,
        "dIsSearchable": 0,
        "dCaption": "TestInt",
        "dIsOptionList": 0,
        "dOrder": 10603,
        "dIsPlaceholderField": 0,
        "dDecimalScale": 1,
        "dDocMetaSet": "DocMeta"
    },
    {
        "dName": "xReqText",
        "dType": "Text",
        "dIsRequired": 0,
        "dIsEnabled": 1,
        "dIsSearchable": 1,
        "dCaption": "ReqText",
        "dIsOptionList": 0,
        "dOrder": 10604,
        "dIsPlaceholderField": 0,
        "dDecimalScale": 1,
        "dDocMetaSet": "DocMeta"
    },
    {
        "dName": "xLongText",
        "dType": "BigText",
        "dIsRequired": 0,
        "dIsEnabled": 1,
        "dIsSearchable": 1,
        "dCaption": "LongText",
        "dIsOptionList": 0,
        "dOrder": 10605,
        "dIsPlaceholderField": 0,
        "dDecimalScale": 1,
        "dDocMetaSet": "DocMeta"
    },
    {
        "dName": "xMemo",
        "dType": "Memo",
        "dIsRequired": 0,
        "dIsEnabled": 1,
        "dIsSearchable": 1,
        "dCaption": "Memo",
        "dIsOptionList": 0,
        "dDefaultValue": "Test memo",
        "dOrder": 10606,
        "dIsPlaceholderField": 0,
        "dDecimalScale": 1,
        "dDocMetaSet": "DocMeta"
    },
    {
        "dName": "xDate",
        "dType": "Date",
        "dIsRequired": 0,
        "dIsEnabled": 1,
        "dIsSearchable": 1,
        "dCaption": "Date",
        "dIsOptionList": 0,
        "dOrder": 10608,
        "dIsPlaceholderField": 0,
        "dDecimalScale": 1,
        "dDocMetaSet": "DocMeta"
    },
    {
        "dName": "xDecimal",
        "dType": "Decimal",
        "dIsRequired": 0,
        "dIsEnabled": 1,
        "dIsSearchable": 1,
        "dCaption": "Decimal",
        "dIsOptionList": 0,
        "dOrder": 10609,
        "dIsPlaceholderField": 0,
        "dDecimalScale": 2,
        "dDocMetaSet": "DocMeta"
    },
    {
        "dName": "xOptionList",
        "dType": "Text",
        "dIsRequired": 0,
        "dIsEnabled": 1,
        "dIsSearchable": 1,
        "dCaption": "OptionList",
        "dIsOptionList": 1,
        "dOptionListKey": "OptionListList",
        "dOrder": 10610,
        "dOptionListType": "choice",
        "dIsPlaceholderField": 0,
        "dDecimalScale": 1,
        "dDocMetaSet": "DocMeta",
        "dOptionListValues": "yes,no,maybe"
    }
],
"docTypes": [
    {
        "dDocType": "Application",
        "dDescription": "wwDocTypeDesc_Application",
        "dGif": "ucm_application_file.png"
    },
    {
        "dDocType": "Binary",
        "dDescription": "wwDocTypeDesc_Binary",
        "dGif": "ucm_binaryfile.png"
    },
    {
        "dDocType": "DigitalMedia",
        "dDescription": "wwDocTypeDesc_DigitalMedia",
        "dGif": "ucm_digital_asset.png"
    },
    {
        "dDocType": "Document",
        "dDescription": "wwDocTypeDesc_Document",
        "dGif": "ucm_document.png"
    },
    {
        "dDocType": "System",
        "dDescription": "wwDocTypeDesc_System",
        "dGif": "ucm_system_file.png"
    },
    {
        "dDocType": "TEST_DocType3",
        "dDescription": "Test DocType3",
        "dGif": "ucm_document.png"
    },
    {
        "dDocType": "type2",
        "dDescription": "test",
        "dGif": "ucm_doc.png"
    }
]
}

Folders

Browse the root folder

GET /documents/wcc/api/v1.1/folders/browse/

Description

List the content and structure of the root (FLD_ROOT) folder. (FLD_BROWSE)

Parameters

Name Located in Description Required Schema
fldapp query Specifies the Folders Application of the location being returned No string
doCombinedBrowse query When true, data will be returned in a combined pagination mode. No boolean
foldersFirst query When true, folders are listed before files in the combined pagination mode. No boolean
folderCount query The number of folders to return. No integer
folderStartRow query The row number at which to start returning data. Used for pagination. No integer
fileCount query The number of files to return. No integer
fileStartRow query The row number at which to start returning data. Used for pagination. No integer
combinedCount query The number of items (folders+files) to return. No integer
combinedStartRow query The row number at which to start returning data. Used for pagination. No integer
doRetrieveTargetInfo query When true, returns target folder’s information for all shortcuts retrieved in a resultset ChildTargetFolders. No boolean
doMarkFavorites query When true, adds a ‘fIsFavorite’ field in the resultset to indicate if the folder/file is favorite. It is favorite if it has a shortcut in Favorites folder. No boolean
doMarkSubscribed query When true, adds a ‘fIsSubscribed’ field in the resultset to indicate if the folder is subscribed. A folder is subscribed if the Subscription table has an entry for folder and the user calling the API. No boolean
doRetrieveDocumentURL query When true, adds a URL field returned data; the web location of the document. No boolean
doRetrieveUniqueLinks query When true, post processes array to return only unique links. For example, if folder’s shortcut and folder itself are in the array, only folder itself will be returned. No boolean
foldersSortField query The field Name from FolderFolders table on which to sort the records. No string
foldersSortOrder query Sort order on foldersSortField field. No string
filesSortField query The field name from FolderFiles table on which to sort the records. No string
filesSortOrder query Sort order on filesSortField field. No string
combinedSortField query The Field name (common to both FolderFiles and FolderFolders tables) on which to sort the items. No string
combinedSortOrder query Sort order on combinedSortField field. No string
foldersFilterParams query The comma separated list of filter parameters on the browse. For example foldersFilterParams=fIsContribution&fIsContribution=1 will return folders with fIsContribution=1. No string
foldersFilterQuery query The Standard Query syntax for filtering out the folders. This is in DATABASE engine format on FolderFolders table. For example. foldersFilterQuery=fFolderName'ent'</code> No string
fieldName query The value for the specified field in foldersFilterParams and filesFilterParams No string
filesFilterParams query The comma separated list of filter parameters on the browse. For example, filesFilterParams=fOwner&fOwner=sysadmin will return folders with fOwner=sysadmin No string
filesFilterQuery query The Standard Query syntax for filtering out the files. This is in DATABASE engine format on FolderFiles table. For example, filesFilterQuery=fFileName'test' No string

Responses

Code Description Schema
200 The structure of a folder. FolderBrowseResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Browse the FLD_ROOT folder. This example shows an additional folder and file.

Request

GET …/documents/wcc/api/v1.1/folders/browse/

Request Body

None

HTTP Response

Status = 200

Body

{
"numFolders": 3,
"hasMoreChildFolders": 0,
"numFiles": 1,
"totalChildFoldersCount": 3,
"totalChildFilesCount": 1,
"hasMoreChildFiles": 0,
"hasMoreChildItems": 0,
"folderPath": "/",
"folderInfo": {
    "fFolderGUID": "FLD_ROOT",
    "fParentGUID": "idcnull",
    "fFolderName": "/",
    "fFolderType": "owner",
    "fInhibitPropagation": 0,
    "fPromptForMetadata": 0,
    "fIsContribution": 1,
    "fIsInTrash": 0,
    "fRealItemGUID": null,
    "fLibraryType": null,
    "fIsLibrary": 0,
    "fDocClasses": null,
    "fTargetGUID": null,
    "fApplication": "framework",
    "fOwner": "sysadmin",
    "fCreator": "sysadmin",
    "fLastModifier": "sysadmin",
    "fCreateDate": "2024-03-18 20:15:54Z",
    "fLastModifiedDate": "2024-03-18 20:15:54Z",
    "fSecurityGroup": "Public",
    "fDocAccount": null,
    "fClbraUserList": null,
    "fClbraAliasList": null,
    "fClbraRoleList": null,
    "fFolderDescription": null,
    "fChildFoldersCount": 5,
    "fChildFilesCount": 1,
    "fFolderSize": 0,
    "fAllocatedFolderSize": -1,
    "fAllocatorParentFolderGUID": null,
    "fApplicationGUID": null,
    "fIsReadOnly": 0,
    "fIsACLReadOnlyOnUI": 0,
    "fDisplayName": "/",
    "fDisplayDescription": null,
    "fIsBrokenShortcut": null,
    "isLeaf": "0",
    "itemType": "1",
    "folderPermissions": "RWDA"
},
"childFolders": [
    {
        "fFolderGUID": "FLD_ENTERPRISE_LIBRARY",
        "fParentGUID": "FLD_ROOT",
        "fFolderName": "Enterprise Libraries",
        "fFolderType": "owner",
        "fInhibitPropagation": 0,
        "fPromptForMetadata": 0,
        "fIsContribution": 1,
        "fIsInTrash": 0,
        "fRealItemGUID": null,
        "fLibraryType": null,
        "fIsLibrary": 0,
        "fDocClasses": null,
        "fTargetGUID": null,
        "fApplication": "framework",
        "fOwner": "sysadmin",
        "fCreator": "sysadmin",
        "fLastModifier": "sysadmin",
        "fCreateDate": "2024-03-18 20:15:54Z",
        "fLastModifiedDate": "2024-03-18 20:15:54Z",
        "fSecurityGroup": "Public",
        "fDocAccount": null,
        "fClbraUserList": null,
        "fClbraAliasList": null,
        "fClbraRoleList": null,
        "fFolderDescription": "Enterprise Libraries",
        "fChildFoldersCount": 0,
        "fChildFilesCount": 0,
        "fFolderSize": 0,
        "fAllocatedFolderSize": -1,
        "fAllocatorParentFolderGUID": null,
        "fApplicationGUID": null,
        "fIsReadOnly": 0,
        "fIsACLReadOnlyOnUI": 0,
        "fDisplayName": "Enterprise Libraries",
        "fDisplayDescription": "Enterprise Libraries"
    },
    {
        "fFolderGUID": "D6413BD3FD74C638A5ED5352AEF456C1",
        "fParentGUID": "FLD_ROOT",
        "fFolderName": "Folder",
        "fFolderType": "owner",
        "fInhibitPropagation": 0,
        "fPromptForMetadata": 0,
        "fIsContribution": 1,
        "fIsInTrash": 0,
        "fRealItemGUID": null,
        "fLibraryType": null,
        "fIsLibrary": 0,
        "fDocClasses": null,
        "fTargetGUID": null,
        "fApplication": "framework",
        "fOwner": "weblogic",
        "fCreator": "weblogic",
        "fLastModifier": "weblogic",
        "fCreateDate": "2024-05-22 20:46:39Z",
        "fLastModifiedDate": "2024-05-22 20:46:39Z",
        "fSecurityGroup": "Public",
        "fDocAccount": null,
        "fClbraUserList": null,
        "fClbraAliasList": null,
        "fClbraRoleList": null,
        "fFolderDescription": null,
        "fChildFoldersCount": 0,
        "fChildFilesCount": 0,
        "fFolderSize": 0,
        "fAllocatedFolderSize": -1,
        "fAllocatorParentFolderGUID": null,
        "fApplicationGUID": null,
        "fIsReadOnly": 0,
        "fIsACLReadOnlyOnUI": 0,
        "fDisplayName": "Folder",
        "fDisplayDescription": null
    },
    {
        "fFolderGUID": "FLD_USERS",
        "fParentGUID": "FLD_ROOT",
        "fFolderName": "Users",
        "fFolderType": "owner",
        "fInhibitPropagation": 0,
        "fPromptForMetadata": 0,
        "fIsContribution": 1,
        "fIsInTrash": 0,
        "fRealItemGUID": null,
        "fLibraryType": null,
        "fIsLibrary": 0,
        "fDocClasses": null,
        "fTargetGUID": null,
        "fApplication": "framework",
        "fOwner": "sysadmin",
        "fCreator": "sysadmin",
        "fLastModifier": "sysadmin",
        "fCreateDate": "2024-03-18 20:15:54Z",
        "fLastModifiedDate": "2024-03-18 20:15:54Z",
        "fSecurityGroup": "Public",
        "fDocAccount": null,
        "fClbraUserList": null,
        "fClbraAliasList": null,
        "fClbraRoleList": null,
        "fFolderDescription": null,
        "fChildFoldersCount": 0,
        "fChildFilesCount": 0,
        "fFolderSize": 0,
        "fAllocatedFolderSize": -1,
        "fAllocatorParentFolderGUID": null,
        "fApplicationGUID": null,
        "fIsReadOnly": 0,
        "fIsACLReadOnlyOnUI": 0,
        "fDisplayName": "Users",
        "fDisplayDescription": "Users"
    }
],
"childFiles": [
    {
        "fFileGUID": "D7B229794E0E9A57985D771CD070C750",
        "fParentGUID": "FLD_ROOT",
        "fTargetGUID": null,
        "fFileName": "Mugs.jpg",
        "fPublishedFileName": "Mugs.jpg",
        "fFileType": "owner",
        "fIsInTrash": 0,
        "fRealItemGUID": null,
        "fDocClass": "Base",
        "fInhibitPropagation": 0,
        "dDocName": "ID14006204",
        "dRevisionID": 1,
        "dPublishedRevisionID": 1,
        "fApplication": "framework",
        "fOwner": "weblogic",
        "fCreator": "weblogic",
        "fLastModifier": "weblogic",
        "fCreateDate": "2024-05-22 20:48:40Z",
        "fLastModifiedDate": "2024-05-22 20:48:40Z",
        "fSecurityGroup": "Public",
        "fDocAccount": null,
        "fClbraUserList": null,
        "fClbraAliasList": null,
        "fClbraRoleList": null,
        "fIsACLReadOnlyOnUI": "0",
        "dID": 6207,
        "dDocType": "Document",
        "dDocTitle": "file",
        "dDocAuthor": "weblogic",
        "dRevClassID": 6205,
        "dRevLabel": "1",
        "dIsCheckedOut": 0,
        "dCheckoutUser": null,
        "dSecurityGroup": "Public",
        "dCreateDate": "2024-05-22 20:48:40Z",
        "dInDate": "2024-05-22 20:46:00Z",
        "dOutDate": null,
        "dStatus": "RELEASED",
        "dReleaseState": "Y",
        "dFlag1": null,
        "dWebExtension": "jpg",
        "dProcessingState": "Y",
        "dMessage": null,
        "dDocAccount": null,
        "dReleaseDate": "2024-05-22 20:48:42Z",
        "dRendition1": null,
        "dRendition2": null,
        "dIndexerState": null,
        "dPublishType": null,
        "dPublishState": null,
        "dWorkflowState": null,
        "dRevRank": 0,
        "dDocID": 6413,
        "dIsPrimary": 1,
        "dIsWebFormat": 0,
        "dLocation": null,
        "dOriginalName": "Mugs.jpg",
        "dFormat": "image/jpeg",
        "dExtension": "jpg",
        "dFileSize": 53834,
        "dLanguage": null,
        "dCharacterSet": null,
        "xComments": null,
        "xExternalDataSet": null,
        "xIdcProfile": null,
        "xAnnotationDetails": 0,
        "xPartitionId": null,
        "xWebFlag": null,
        "xStorageRule": "DispByContentId",
        "xTest": 0,
        "xReqText": null,
        "xLongText": null,
        "xMemo": "Test memo",
        "xDate": null,
        "xDecimal": null,
        "xOptionList": null,
        "xLibraryGUID": null,
        "xIsACLReadOnlyOnUI": 0,
        "dIndexedID": 6207,
        "dDocCreatedDate": "2024-05-22 20:48:40Z",
        "dDocCreator": "weblogic",
        "dDocLastModifiedDate": "2024-05-22 20:48:40Z",
        "dDocLastModifier": "weblogic",
        "dDocOwner": "weblogic",
        "dDocFunction": null,
        "dDocClass": null,
        "fDisplayName": "Mugs.jpg"
    }
]
}

Browse a folder

GET /documents/wcc/api/v1.1/folders/browse/{fFolderGUID}

Description

List the content and structure of the specified folder. (FLD_BROWSE)

Parameters

Name Located in Description Required Schema
fFolderGUID path The folder GUID. Yes string
fldapp query Specifies the Folders Application of the location being returned No string
doCombinedBrowse query When true, data will be returned in a combined pagination mode. No boolean
foldersFirst query When true, folders are listed before files in the combined pagination mode. No boolean
folderCount query The number of folders to return. No integer
folderStartRow query The row number at which to start returning data. Used for pagination. No integer
fileCount query The number of files to return. No integer
fileStartRow query The row number at which to start returning data. Used for pagination. No integer
combinedCount query The number of items (folders+files) to return. No integer
combinedStartRow query The row number at which to start returning data. Used for pagination. No integer
doRetrieveTargetInfo query When true, returns target folder’s information for all shortcuts retrieved in a resultset ChildTargetFolders. No boolean
doMarkFavorites query When true, adds a ‘fIsFavorite’ field in the resultset to indicate if the folder/file is favorite. It is favorite if it has a shortcut in Favorites folder. No boolean
doMarkSubscribed query When true, adds a ‘fIsSubscribed’ field in the resultset to indicate if the folder is subscribed. A folder is subscribed if the Subscription table has an entry for folder and the user calling the API. No boolean
doRetrieveDocumentURL query When true, adds a URL field returned data; the web location of the document. No boolean
doRetrieveUniqueLinks query When true, post processes array to return only unique links. For example, if folder’s shortcut and folder itself are in the array, only folder itself will be returned. No boolean
foldersSortField query The field Name from FolderFolders table on which to sort the records. No string
foldersSortOrder query Sort order on foldersSortField field. No string
filesSortField query The field name from FolderFiles table on which to sort the records. No string
filesSortOrder query Sort order on filesSortField field. No string
combinedSortField query The Field name (common to both FolderFiles and FolderFolders tables) on which to sort the items. No string
combinedSortOrder query Sort order on combinedSortField field. No string
foldersFilterParams query The comma separated list of filter parameters on the browse. For example foldersFilterParams=fIsContribution&fIsContribution=1 will return folders with fIsContribution=1 No string
foldersFilterQuery query The Standard Query syntax for filtering out the folders. This is in DATABASE engine format on FolderFolders table. For example. foldersFilterQuery=fFolderName'ent'</code> No string
fieldName query The value for the specified field in foldersFilterParams and filesFilterParams No string
filesFilterParams query The comma separated list of filter parameters on the browse. For example, filesFilterParams=fOwner&fOwner=sysadmin will return folders with fOwner=sysadmin No string
filesFilterQuery query The Standard Query syntax for filtering out the files. This is in DATABASE engine format on FolderFiles table. For example, filesFilterQuery=fFileName'test' No string

Responses

Code Description Schema
200 The structure of a folder. FolderBrowseResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Browse any folder.

Request

GET …/documents/wcc/api/v1.1/folders/browse/D6413BD3FD74C638A5ED5352AEF456C1

Request Body

None

HTTP Response

Status = 200

Body

{
"numFolders": 1,
"hasMoreChildFolders": 0,
"numFiles": 1,
"totalChildFoldersCount": 1,
"totalChildFilesCount": 1,
"hasMoreChildFiles": 0,
"hasMoreChildItems": 0,
"folderPath": "/Folder",
"folderInfo": {
    "fFolderGUID": "D6413BD3FD74C638A5ED5352AEF456C1",
    "fParentGUID": "FLD_ROOT",
    "fFolderName": "Folder",
    "fFolderType": "owner",
    "fInhibitPropagation": 0,
    "fPromptForMetadata": 0,
    "fIsContribution": 1,
    "fIsInTrash": 0,
    "fRealItemGUID": null,
    "fLibraryType": null,
    "fIsLibrary": 0,
    "fDocClasses": null,
    "fTargetGUID": null,
    "fApplication": "framework",
    "fOwner": "weblogic",
    "fCreator": "weblogic",
    "fLastModifier": "weblogic",
    "fCreateDate": "2024-05-22 20:46:39Z",
    "fLastModifiedDate": "2024-05-22 20:46:39Z",
    "fSecurityGroup": "Public",
    "fDocAccount": null,
    "fClbraUserList": null,
    "fClbraAliasList": null,
    "fClbraRoleList": null,
    "fFolderDescription": null,
    "fChildFoldersCount": 1,
    "fChildFilesCount": 1,
    "fFolderSize": 0,
    "fAllocatedFolderSize": -1,
    "fAllocatorParentFolderGUID": null,
    "fApplicationGUID": null,
    "fIsReadOnly": 0,
    "fIsACLReadOnlyOnUI": 0,
    "fDisplayName": "Folder",
    "fDisplayDescription": null,
    "fIsBrokenShortcut": null,
    "isLeaf": "0",
    "itemType": "1",
    "folderPermissions": "RWDA"
},
"childFolders": [
    {
        "fFolderGUID": "4B4AFD71D5A999DBABB16704FEABCEBD",
        "fParentGUID": "D6413BD3FD74C638A5ED5352AEF456C1",
        "fFolderName": "jpgs",
        "fFolderType": "owner",
        "fInhibitPropagation": 17,
        "fPromptForMetadata": 0,
        "fIsContribution": 0,
        "fIsInTrash": 0,
        "fRealItemGUID": null,
        "fLibraryType": null,
        "fIsLibrary": 0,
        "fDocClasses": null,
        "fTargetGUID": null,
        "fApplication": "query",
        "fOwner": "weblogic",
        "fCreator": "weblogic",
        "fLastModifier": "weblogic",
        "fCreateDate": "2024-05-22 21:01:13Z",
        "fLastModifiedDate": "2024-05-22 21:01:13Z",
        "fSecurityGroup": "Public",
        "fDocAccount": null,
        "fClbraUserList": null,
        "fClbraAliasList": null,
        "fClbraRoleList": null,
        "fFolderDescription": null,
        "fChildFoldersCount": 0,
        "fChildFilesCount": 0,
        "fFolderSize": 0,
        "fAllocatedFolderSize": -1,
        "fAllocatorParentFolderGUID": null,
        "fApplicationGUID": null,
        "fIsReadOnly": 0,
        "fIsACLReadOnlyOnUI": 0,
        "fDisplayName": "jpgs",
        "fDisplayDescription": null
    }
],
"childFiles": [
    {
        "fFileGUID": "2D09591B678E8AF05D8F6B1EB1879EA9",
        "fParentGUID": "D6413BD3FD74C638A5ED5352AEF456C1",
        "fTargetGUID": null,
        "fFileName": "sample.txt",
        "fPublishedFileName": "sample.txt",
        "fFileType": "owner",
        "fIsInTrash": 0,
        "fRealItemGUID": null,
        "fDocClass": "Base",
        "fInhibitPropagation": 0,
        "dDocName": "ID798656784",
        "dRevisionID": 1,
        "dPublishedRevisionID": 1,
        "fApplication": "framework",
        "fOwner": "weblogic",
        "fCreator": "weblogic",
        "fLastModifier": "weblogic",
        "fCreateDate": "2024-05-22 21:03:08Z",
        "fLastModifiedDate": "2024-05-22 21:03:08Z",
        "fSecurityGroup": "Public",
        "fDocAccount": null,
        "fClbraUserList": null,
        "fClbraAliasList": null,
        "fClbraRoleList": null,
        "fIsACLReadOnlyOnUI": "0",
        "dID": 6208,
        "dDocType": "Document",
        "dDocTitle": "sample",
        "dDocAuthor": "weblogic",
        "dRevClassID": 6206,
        "dRevLabel": "1",
        "dIsCheckedOut": 0,
        "dCheckoutUser": null,
        "dSecurityGroup": "Public",
        "dCreateDate": "2024-05-22 21:03:08Z",
        "dInDate": "2024-05-22 21:01:00Z",
        "dOutDate": null,
        "dStatus": "RELEASED",
        "dReleaseState": "Y",
        "dFlag1": null,
        "dWebExtension": "txt",
        "dProcessingState": "Y",
        "dMessage": null,
        "dDocAccount": null,
        "dReleaseDate": "2024-05-22 21:03:09Z",
        "dRendition1": null,
        "dRendition2": null,
        "dIndexerState": null,
        "dPublishType": null,
        "dPublishState": null,
        "dWorkflowState": null,
        "dRevRank": 0,
        "dDocID": 6415,
        "dIsPrimary": 1,
        "dIsWebFormat": 0,
        "dLocation": null,
        "dOriginalName": "sample.txt",
        "dFormat": "text/plain",
        "dExtension": "txt",
        "dFileSize": 6,
        "dLanguage": null,
        "dCharacterSet": null,
        "xComments": null,
        "xExternalDataSet": null,
        "xIdcProfile": null,
        "xAnnotationDetails": 0,
        "xPartitionId": null,
        "xWebFlag": null,
        "xStorageRule": "DispByContentId",
        "xTest": 0,
        "xReqText": null,
        "xLongText": null,
        "xMemo": "Test memo",
        "xDate": null,
        "xDecimal": null,
        "xOptionList": null,
        "xLibraryGUID": null,
        "xIsACLReadOnlyOnUI": 0,
        "dIndexedID": 6208,
        "dDocCreatedDate": "2024-05-22 21:03:08Z",
        "dDocCreator": "weblogic",
        "dDocLastModifiedDate": "2024-05-22 21:03:08Z",
        "dDocLastModifier": "weblogic",
        "dDocOwner": "weblogic",
        "dDocFunction": null,
        "dDocClass": null,
        "fDisplayName": "sample.txt"
    }
]
}

Create Folder

POST /documents/wcc/api/v1.1/folders

Description

Create a folder or a shortcut to a folder. (FLD_CREATE_FOLDER)

Parameters

Name Located in Description Required Schema
fFolderName query The name of the created folder. Yes string
fParentGUID query The GUID of the parent folder where the new folder will be created. Yes string
fFolderDescription query The folder description. No string
fFolderType query The type of folder to create. No string
fSecurityGroup query The security group for the folder. The default is Public. No string
fDocAccount query The folder account. No string
fOwner query The owner of the folder. The default is the user making the call. No string
fInhibitPropagation query A bitmap used to determine restrictions on files/folders from propagating values from its parent. The bitmap includes:
0 - inhibit propagation is set to none indicating values can be inherited from parent
1 - inhibit propagation for metadata indicating metadata is not inherited from parent
16 - inhibit propagation for folder security indicating folder security is not inherited from parent
17 - inhibit propagation for metadata and folder security.
No number
fTargetGUID query The GUID of the target folder when creating a folder shortcut. No string
ConflictResolutionMethod query The method used to resolve folder name conflict:
•ResolveDuplicates – The created folder will be given a unique name based on the fFolderName parameter
•SkipDuplicates – The folder will not be created if the name already exists
No string
isForceInheritSecurityForFolderCreation query When true, the folder will inherit the security from the parent folder. No boolean
fClbraAliasList query The folder collaboration alias list and permissions. The alias prefixed with a @ character, followed by permissions in parentheses. For example: @Mktg(RWDA),@Mktg_ext(RW). No string
fClbraRoleList query The folder collaboration role list and permissions. The role prefixed with a : character, followed by permissions in parentheses. For example: :role1(RWDA),:role2(RW).. No string
fClbraUserList query The file collaboration user list and permissions. The user prefixed with a &, followed by permissions in parentheses. For example: &sysadmin(RWDA),&user1(RW),&guest(R). No string

Responses

Code Description Schema
201 Folder successfully created.
Returns Header Location which is a URI to get the metadata of the new folder.
 
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
409 If ConflictResolutionMethod is SkipDuplicates and the folder name exists, a new folder is not created  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Create a folder named RestCreatedFolder under FLD_ROOT

Request

POST …/documents/wcc/api/v1.1/folders?fParentGUID=FLD_ROOT&fFolderName=RestCreatedFolder

Request Parameters

fParentGUID = FLD_ROOT

fFolderName = RestCreatedFolder

Request Body

None.

HTTP Response

Status = 201

Header

Location = …/documents/wcc/api/v1.1/folders/BE8851AE80FBAFAB3C2BB4AA127402C0

Update Folder

PUT /documents/wcc/api/v1.1/folders/{fFolderGUID}

Description

Update a folder. (FLD_EDIT_FOLDER)

Parameters

Only parameters that are passed are updated; if a parameter is not passed, it is not changed.

Name Located in Description Required Schema
fFolderGUID path The folder GUID to be updated. Yes string
fFolderName query The name of the folder. No string
fFolderDescription query The folder description. No string
fSecurityGroup query The security group for the folder. No string
fDocAccount query The folder account. No string
fOwner query The owner of the folder. The default is the user making the call. No string
fClbraAliasList query The folder collaboration alias list and permissions. The alias prefixed with a @ character, followed by permissions in parentheses. For example: @Mktg(RWDA),@Mktg_ext(RW). No string
fClbraRoleList query The folder collaboration role list and permissions. The role prefixed with a : character, followed by permissions in parentheses. For example: :role1(RWDA),:role2(RW).. No string
fClbraUserList query The file collaboration user list and permissions. The user prefixed with a &, followed by permissions in parentheses. For example: &sysadmin(RWDA),&user1(RW),&guest(R). No string
fInhibitPropagation query A bitmap used to determine restrictions on files/folders from propagating values from its parent. The bitmap includes:
0 - inhibit propagation is set to none indicating values can be inherited from parent
1 - inhibit propagation for metadata indicating metadata is not inherited from parent
16 - inhibit propagation for folder security indicating folder security is not inherited from parent
17 - inhibit propagation for metadata and folder security.
No number

Responses

Code Description Schema
204 Folder successfully updated.
Returns Header Location which is a URI to get the metadata of the updated folder.
 
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Update folder BE8851AE80FBAFAB3C2BB4AA127402C0

Request

PUT …/documents/wcc/api/v1.1/folders/BE8851AE80FBAFAB3C2BB4AA127402C0?fFolderDescription=updated&fFolderName=RestUpdatedFolder&fSecurityGroup=Secure

Request Parameters

fFolderDescription=updated

fFolderName=RestUpdatedFolder

fSecurityGroup=Secure

Request Body

None.

HTTP Response

Status = 204

Header

Location = …/documents/wcc/api/v1.1/folders/BE8851AE80FBAFAB3C2BB4AA127402C0

Get Folder Information

GET /documents/wcc/api/v1.1/folders/{fFolderGUID}

Description

Get information about the specified folder (FLD_INFO).

Parameters

Name Located in Description Required Schema
fFolderGUID path The folder GUID Yes string

Responses

Code Description Schema
200 Folder information. FolderInfoResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Get folder information for the folder with GUID D6413BD3FD74C638A5ED5352AEF456C1.

Request

GET …/documents/wcc/api/v1.1/folders/D6413BD3FD74C638A5ED5352AEF456C1

Request Body

None

HTTP Response

Status = 200

Body

{
"folderPath": "/Folder",
"folderInfo": {
    "fFolderGUID": "D6413BD3FD74C638A5ED5352AEF456C1",
    "fParentGUID": "FLD_ROOT",
    "fFolderName": "Folder",
    "fFolderType": "owner",
    "fInhibitPropagation": 0,
    "fPromptForMetadata": 0,
    "fIsContribution": 1,
    "fIsInTrash": 0,
    "fRealItemGUID": null,
    "fLibraryType": null,
    "fIsLibrary": 0,
    "fDocClasses": null,
    "fTargetGUID": null,
    "fApplication": "framework",
    "fOwner": "weblogic",
    "fCreator": "weblogic",
    "fLastModifier": "weblogic",
    "fCreateDate": "2024-05-22 20:46:39Z",
    "fLastModifiedDate": "2024-05-22 20:46:39Z",
    "fSecurityGroup": "Public",
    "fDocAccount": null,
    "fClbraUserList": null,
    "fClbraAliasList": null,
    "fClbraRoleList": null,
    "fFolderDescription": null,
    "fChildFoldersCount": 1,
    "fChildFilesCount": 1,
    "fFolderSize": 0,
    "fAllocatedFolderSize": -1,
    "fAllocatorParentFolderGUID": null,
    "fApplicationGUID": null,
    "fIsReadOnly": 0,
    "fIsACLReadOnlyOnUI": 0,
    "fDisplayName": "Folder",
    "fDisplayDescription": null,
    "fIsBrokenShortcut": null,
    "isLeaf": "0",
    "itemType": "1",
    "folderPermissions": "RWDA"
}
}

Get File Information

GET /documents/wcc/api/v1.1/folders/files/{fFileGUID}

Description

Get information about the specified file in a folder. (FLD_INFO)

Parameters

Name Located in Description Required Schema
fFileGUID path The file GUID Yes string

Responses

Code Description Schema
200 File information and metadata. FileInfoResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Get file information for the file with GUID D7B229794E0E9A57985D771CD070C750.

Request

GET …/documents/wcc/api/v1.1/folders/files/D7B229794E0E9A57985D771CD070C750

Request Body

None

HTTP Response

Status = 200

Body

{
"filePath": "/Mugs.jpg",
"fileInfo": {
    "fFileGUID": "D7B229794E0E9A57985D771CD070C750",
    "fParentGUID": "FLD_ROOT",
    "fTargetGUID": null,
    "fFileName": "Mugs.jpg",
    "fPublishedFileName": "Mugs.jpg",
    "fFileType": "owner",
    "fIsInTrash": 0,
    "fRealItemGUID": null,
    "fDocClass": "Base",
    "fInhibitPropagation": 0,
    "dDocName": "ID14006204",
    "dRevisionID": 1,
    "dPublishedRevisionID": 1,
    "fApplication": "framework",
    "fOwner": "weblogic",
    "fCreator": "weblogic",
    "fLastModifier": "weblogic",
    "fCreateDate": "2024-05-22 20:48:40Z",
    "fLastModifiedDate": "2024-05-22 20:48:40Z",
    "fSecurityGroup": "Public",
    "fDocAccount": null,
    "fClbraUserList": null,
    "fClbraAliasList": null,
    "fClbraRoleList": null,
    "fIsACLReadOnlyOnUI": "0",
    "fDisplayName": "Mugs.jpg",
    "fDisplayDescription": null,
    "dCharacterSet": null,
    "dCheckoutUser": null,
    "dCreateDate": "2024-05-22 20:48:40Z",
    "dDocAccount": null,
    "dDocAuthor": "weblogic",
    "dDocCreatedDate": "{ts '2024-05-22 15:48:40.640'}",
    "dDocCreator": "weblogic",
    "dDocID": 6413,
    "dDocLastModifiedDate": "{ts '2024-05-22 15:48:40.640'}",
    "dDocLastModifier": "weblogic",
    "dDocOwner": "weblogic",
    "dDocTitle": "file",
    "dDocType": "Document",
    "dExtension": "jpg",
    "dFileSize": 53834,
    "dFlag1": null,
    "dFormat": "image/jpeg",
    "dID": 6207,
    "dInDate": "2024-05-22 20:46:00Z",
    "dIndexerState": null,
    "dIsCheckedOut": 0,
    "dIsPrimary": 1,
    "dIsWebFormat": 0,
    "dLanguage": null,
    "dLocation": null,
    "dMessage": null,
    "dOriginalName": "Mugs.jpg",
    "dOutDate": null,
    "dProcessingState": "Y",
    "dPublishState": null,
    "dPublishType": null,
    "dReleaseDate": "2024-05-22 20:48:42Z",
    "dReleaseState": "Y",
    "dRendition1": null,
    "dRendition2": null,
    "dRevClassID": 6205,
    "dRevLabel": "1",
    "dRevRank": 0,
    "dSecurityGroup": "Public",
    "dStatus": "RELEASED",
    "dWebExtension": "jpg",
    "dWorkflowState": null,
    "fFolderType": "soft",
    "isLeaf": "1",
    "itemType": "2",
    "xAnnotationDetails": 0,
    "xComments": null,
    "xDate": null,
    "xDecimal": null,
    "xExternalDataSet": null,
    "xIdcProfile": null,
    "xIsACLReadOnlyOnUI": 0,
    "xLibraryGUID": null,
    "xLongText": null,
    "xMemo": "Test memo",
    "xOptionList": null,
    "xPartitionId": null,
    "xReqText": null,
    "xStorageRule": "DispByContentId",
    "xTest": 0,
    "xWebFlag": null,
    "permissions": "RWDA"
}
}

Download a File

GET /documents/wcc/api/v1.1/folders/files/{fFileGUID}/data

Description

Downloads file content for the specified file in a folder as a stream. (GET_FILE)

Parameters

Name Located in Description Required Schema
fFileGUID path The file GUID to download. Yes string
version query The version of the document to download. If not provided, the latest released version is assumed. No string
rendition query The rendition of the document to retrieve. If rendition is not specified, primary rendition of the document is assumed. Allowed renditions:
•primary
•alternate
•web
•rendition:T
•custom attachments by name
No string

Responses

Code Description Schema
200 Successfully returned the complete stream of the file.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Download a document.

Request

GET …documents/wcc/api/v1.1/folders/files/B068546C1ED509D905EA455D0E03F70D/data

Request Body

None

HTTP Response

Status = 200

Body

stream of file contents as application/octet-stream

Delete a File

DELETE /documents/wcc/api/v1.1/folders/files/{fFileGUID}

Description

Delete the specified file in a folder. (FLD_DELETE)

Parameters

Name Located in Description Required Schema
fFileGUID path The file GUID Yes string
permanentDelete query The default is false and the file is moved to trash. When true, the file is permanently deleted. No boolean

Responses

Code Description Schema
204 Document successfully deleted.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action GeneralErrorResponse
404 File not found GeneralErrorResponse
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Delete the file identified by GUID 3C0A71FAA57BFA57D8CAB45097BA8D85

Request

DELETE …/documents/wcc/api/v1.1/folders/files/3C0A71FAA57BFA57D8CAB45097BA8D85

Request Body

None.

HTTP Response

Status = 204

Body

None.

Delete a Folder

DELETE /documents/wcc/api/v1.1/folders/{fFolderGUID}

Description

Delete the specified folder. (FLD_DELETE)

Parameters

Name Located in Description Required Schema
fFolderGUID path The folder GUID Yes string
permanentDelete query The default is false and the file is moved to trash. When true, the file is permanently deleted. No boolean

Responses

Code Description Schema
204 Folder successfully deleted.  
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action GeneralErrorResponse
404 Folder not found GeneralErrorResponse
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Delete the folder identified by GUID 1BC11C2415A60641882C48EAF488A1E6

Request

DELETE …/documents/wcc/api/v1.1/folders/1BC11C2415A60641882C48EAF488A1E6

Request Body

None.

HTTP Response

Status = 204

Body

None.

Search Files and Folders

GET /documents/wcc/api/v1.1/folders/search/items

Description

Search for files and folders in a folder structure. (FLD_FOLDER_SEARCH)

Parameters

Name Located in Description Required Schema
q query The search query to search for content items. See Using Universal Query Format. No string
fields query A comma separated list of metadata fields to return. By default, metadata fields are returned. No string
orderBy query The sort field and sort order which will be used to arrange the filtered content items. No string
limit query The maximum number of items listed per page. No integer
offset query Specifies the point from which items are listed for the response. No integer

Responses

Code Description Schema
200 Successfully returned the search results FoldersSearchResultsResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action GeneralErrorResponse
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Search for 4 folders in the Secure security group and only return 3 specific fields.

Request

GET …/documents/wcc/api/v1.1/folders/search/items

Request Body

Query Parameters: itemType=Folder & q=fSecurityGroup <matches> `Secure` & fields=fFolderGUID, fSecurityGroup, fCreateDate & limit=4

HTTP Response

Status = 200

Body

{
"itemType": "Folder",
"q": " fSecurityGroup LIKE 'Secure'   AND  ((fLibraryType != '2' OR fLibraryType IS NULL))   AND  ((fLibraryType != '3' OR fLibraryType IS NULL))   AND  ((UPPER(fFolderName) != UPPER('Trash') OR (UPPER(fFolderName) IS NULL)))   AND  ((UPPER(fFolderName) != UPPER('_REAL_ITEMS') OR (UPPER(fFolderName) IS NULL)))   AND  ((fIsInTrash != '1' OR fIsInTrash IS NULL)) ",
"count": 4,
"hasMore": true,
"totalCount": 16,
"orderBy": "fFolderName:Asc",
"offset": 0,
"limit": 4,
"startRow": 0,
"nextRow": 4,
"dataSource": "FldFolders",
"searchEngineName": "DATABASE.METADATA.FOLDERS",
"items": [
    {
        "fFolderGUID": "802062EE2F5EC5A3E2DAAA27B72D14CD",
        "fCreateDate": "2024-07-07 12:08:50Z",
        "fSecurityGroup": "Secure"
    },
    {
        "fFolderGUID": "81D398B26CCA513DD66AC0315F3949FD",
        "fCreateDate": "2024-07-07 12:08:52Z",
        "fSecurityGroup": "Secure"
    },
    {
        "fFolderGUID": "4B8EB5A37E29FA7752A58EAE2D2C0236",
        "fCreateDate": "2024-07-24 06:39:40Z",
        "fSecurityGroup": "Secure"
    },
    {
        "fFolderGUID": "8FD8B4C33F4C5ACB3A7B25820AA6CFBE",
        "fCreateDate": "2024-07-24 06:39:50Z",
        "fSecurityGroup": "Secure"
    }
]
}

POST /documents/wcc/api/v1.1/folders/{fFolderGUID}/{dDocName}/filelinks

Description

Create a link to a file. (FLD_CREATE_FILE)

Parameters

Name Located in Description Required Schema
fFolderGUID path The GUID of the parent folder where the new link will be created. Yes string
dDocName path The dDocName of this file to be linked. Yes string
fFileType query The type of file link to create.
Two types are supported:
•owner – the folder owner who owns the file
•soft – the folder contains a shortcut to the file
The default is soft.
No string
ConflictResolutionMethod query The method used to resolve name conflict:
•ResolveDuplicates – The created link will be given a unique name.
•SkipDuplicates – The request will fail with 409 if the name already exists.
•FailDuplicates – The request will fail with 400 if the name already exists.
No string

Responses

Code Description Schema
201 Link successfully created.
Returns Header Location which is a URI to get the metadata of the new file.
 
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
409 If ConflictResolutionMethod is SkipDuplicates and the file name exists, a new link is not created.  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Create a soft link to a file identified by PUB under FLD_ROOT, but fail if the link exists.

Request

POST …/documents/wcc/api/v1.1/folders/FLD_ROOT/PUB/filelinks

Request Body

Query Parameters: fFileType=soft & ConflictResolutionMethod=FailDuplicates

HTTP Response

Status = 201

Body

None.

Header

Location = …/documents/wcc/api/v1.1/folders/files/D9A148D824005417997C9E39C716CB4F

Get the Capabilities of a Folder

GET /documents/wcc/api/v1.1/folders/{fFolderGUID}/capabilities

Description

Get the capabilities the user has on a folder. (FLD_TEST_USER_CAPABILITIES)

Parameters

Name Located in Description Required Schema
fFolderGUID path The folder GUID to test. Yes string
testedCapabilities query A comma separated list of capabilities to be tested. See the Supported Capabilities. Yes string

Responses

Code Description Schema
200 Successfully tested the folder. CapabilitiesResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Test if the user can CREATE_CHILD_FOLDER, CREATE_CHILD_DOCUMENT and COPY the Users:weblogic folder.

Request

GET …/documents/wcc/api/v1.1/folders/FLD_USER:weblogic/capabilities

Request Body

query parameter: testedCapabilities = CREATE_CHILD_FOLDER,CREATE_CHILD_DOCUMENT,COPY

HTTP Response

Status = 200

Body

{
"count": 3,
"items": [
    {
        "capabilityName": "CREATE_CHILD_FOLDER",
        "capabilityValue": 1
    },
    {
        "capabilityName": "CREATE_CHILD_DOCUMENT",
        "capabilityValue": 1
    },
    {
        "capabilityName": "COPY",
        "capabilityValue": 1
    }
]
}

Get the Capabilities of a File

GET /documents/wcc/api/v1.1/folders/files/{fFileGUID}/capabilities

Description

Get the capabilities the user has on a file. (FLD_TEST_USER_CAPABILITIES)

Parameters

Name Located in Description Required Schema
fFileGUID path The file GUID to test. Yes string
testedCapabilities query A comma separated list of capabilities to be tested. See the Supported Capabilities Yes string

Responses

Code Description Schema
200 Successfully tested the file. CapabilitiesResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

Test if the user can MOVE, COPY, and DELETE the file.

Request

GET …documents/wcc/api/v1.1/folders/files/B068546C1ED509D905EA455D0E03F70D/capabilities

Request Body

query parameter: testedCapabilities = MOVE,COPY,DELETE

HTTP Response

Status = 200

Body

{
"count": 3,
"items": [
    {
        "capabilityName": "MOVE",
        "capabilityValue": 1
    },
    {
        "capabilityName": "COPY",
        "capabilityValue": 1
    },
    {
        "capabilityName": "DELETE",
        "capabilityValue": 1
    }
]
}

Users

Get Permission Information

GET /documents/wcc/api/v1.1/users/permissions

Description

Get a list of permissions that the current user has for the securityGroups and documentAccounts. (GET_USER_PERMISSIONS)

Responses

Code Description Schema
200 Successfully returned the user permissions info. UserPermissionResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

List all the permissions a user has.

Request

GET …/documents/wcc/api/v1.1/users/permissions

Request Body

None

HTTP Response

Status = 200

Body

{
"dName": "weblogic",
"securityGroups": [
    {
        "dGroupName": "Public",
        "privilege": "15"
    },
    {
        "dGroupName": "RecordsGroup",
        "privilege": "15"
    },
    {
        "dGroupName": "Reservation",
        "privilege": "15"
    },
    {
        "dGroupName": "Secure",
        "privilege": "15"
    }
],
"userSecurityFlags": [
    {
        "flag": "IsAdmin",
        "value": "1"
    },
    {
        "flag": "AdminAtLeastOneGroup",
        "value": "1"
    },
    {
        "flag": "IsSubAdmin",
        "value": "1"
    },
    {
        "flag": "IsSysManager",
        "value": "1"
    },
    {
        "flag": "IsContributor",
        "value": "1"
    },
    {
        "flag": "ActAsAnonymous",
        "value": "0"
    }
]
}

Pages

Get Custom Fields

GET /documents/wcc/api/v1.1/pages/displayFields

Description

Get information about custom metadata fields for different content server pages. (GET_DISPLAY_FIELDS)

Parameters

Name Located in Description Required Schema
dpAction query The type of action; must be one of:
•CheckinNew
•CheckinSel
•CheckinSimilar
•Info
•Update
•Search
•FLDMetadataUpdate
•FLDMetadataInfo
Yes string
dID query Required when dpAction is:
•CheckinSel
•CheckinSimilar
•Info
•Update.
Sometimes integer
fFolderGUID query Required when dpAction is:
•FLDMetadataUpdate
•FLDMetadataInfo
Sometimes String
dpTriggerValue query The trigger value that will be used to load a profile. No string

Responses

Code Description Schema
200 Successfully returned the DisplayFields information. CustomFieldsResponse
400 Bad request GeneralErrorResponse
401 Unauthorized  
403 User is not allowed to take this action  
500 The server encountered an unexpected condition that prevented it from fulfilling the request GeneralErrorResponse

Example

List display fields for the Search action.

Request

GET …/documents/wcc/api/v1.1/pages/displayFields

Request Body

Query Parameters: dpAction = Search

HTTP Response

Status = 200

Body

{
"displayFieldInfo": [
    {
        "fieldName": "dOriginalName",
        "fieldType": "Text",
        "fieldLabel": "Name",
        "fieldLength": "255",
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "1",
        "requiredMsg": "Please specify a file name.",
        "defaultValue": null,
        "displayValue": null,
        "isOptionList": null,
        "isTreeOptionList": null,
        "optionList": null,
        "optionListType": null,
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": null,
        "treeNodeStorageSeparator": null,
        "order": "5",
        "decimalScale": null,
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    },
    {
        "fieldName": "dDocName",
        "fieldType": "Text",
        "fieldLabel": "Content ID",
        "fieldLength": "100",
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "0",
        "requiredMsg": null,
        "defaultValue": null,
        "displayValue": null,
        "isOptionList": null,
        "isTreeOptionList": null,
        "optionList": null,
        "optionListType": null,
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": null,
        "treeNodeStorageSeparator": null,
        "order": "10",
        "decimalScale": null,
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    },
    {
        "fieldName": "dDocType",
        "fieldType": "Text",
        "fieldLabel": "Type",
        "fieldLength": "30",
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "1",
        "requiredMsg": "Please specify a type.",
        "defaultValue": "Document",
        "displayValue": "Document - Any generic document",
        "isOptionList": "1",
        "isTreeOptionList": null,
        "optionList": "dDocType.options",
        "optionListType": "choice",
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": null,
        "treeNodeStorageSeparator": null,
        "order": "20",
        "decimalScale": null,
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    },
    {
        "fieldName": "dDocTitle",
        "fieldType": "Text",
        "fieldLabel": "Title",
        "fieldLength": "255",
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "1",
        "requiredMsg": "Please specify a title.",
        "defaultValue": null,
        "displayValue": null,
        "isOptionList": null,
        "isTreeOptionList": null,
        "optionList": null,
        "optionListType": null,
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": null,
        "treeNodeStorageSeparator": null,
        "order": "30",
        "decimalScale": null,
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    },
    {
        "fieldName": "dDocAuthor",
        "fieldType": "Text",
        "fieldLabel": "Author",
        "fieldLength": "200",
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "1",
        "requiredMsg": "Please specify an author.",
        "defaultValue": "weblogic",
        "displayValue": "weblogic",
        "isOptionList": "1",
        "isTreeOptionList": null,
        "optionList": "dDocAuthor.options",
        "optionListType": "choice",
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": null,
        "treeNodeStorageSeparator": null,
        "order": "40",
        "decimalScale": null,
        "isError": "0",
        "errorMsg": null,
        "isUserName": "1"
    },
    {
        "fieldName": "dSecurityGroup",
        "fieldType": "Text",
        "fieldLabel": "Security Group",
        "fieldLength": "30",
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "1",
        "requiredMsg": "Please specify a security group.",
        "defaultValue": null,
        "displayValue": null,
        "isOptionList": "1",
        "isTreeOptionList": null,
        "optionList": "dSecurityGroup.options",
        "optionListType": "choice",
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": null,
        "treeNodeStorageSeparator": null,
        "order": "50",
        "decimalScale": null,
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    },
    {
        "fieldName": "primaryFile",
        "fieldType": "File",
        "fieldLabel": "Primary File",
        "fieldLength": null,
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "1",
        "requiredMsg": "Please specify a primary file.",
        "defaultValue": null,
        "displayValue": null,
        "isOptionList": null,
        "isTreeOptionList": null,
        "optionList": null,
        "optionListType": null,
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": null,
        "treeNodeStorageSeparator": null,
        "order": "100",
        "decimalScale": null,
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    },
    {
        "fieldName": "alternateFile",
        "fieldType": "File",
        "fieldLabel": "Alternate File",
        "fieldLength": null,
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "0",
        "requiredMsg": null,
        "defaultValue": null,
        "displayValue": null,
        "isOptionList": null,
        "isTreeOptionList": null,
        "optionList": null,
        "optionListType": null,
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": null,
        "treeNodeStorageSeparator": null,
        "order": "110",
        "decimalScale": null,
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    },
    {
        "fieldName": "dRevLabel",
        "fieldType": "Text",
        "fieldLabel": "Revision",
        "fieldLength": "10",
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "1",
        "requiredMsg": "Please specify a revision label.",
        "defaultValue": "1",
        "displayValue": "1",
        "isOptionList": null,
        "isTreeOptionList": null,
        "optionList": null,
        "optionListType": null,
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": null,
        "treeNodeStorageSeparator": null,
        "order": "200",
        "decimalScale": null,
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    },
    {
        "fieldName": "dInDate",
        "fieldType": "Date",
        "fieldLabel": "Release Date",
        "fieldLength": "20",
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "1",
        "requiredMsg": "Please specify a release date.",
        "defaultValue": "5/21/24 11:45 PM",
        "displayValue": "5/21/24 11:45 PM",
        "isOptionList": null,
        "isTreeOptionList": null,
        "optionList": null,
        "optionListType": null,
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": null,
        "treeNodeStorageSeparator": null,
        "order": "1000",
        "decimalScale": null,
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    },
    {
        "fieldName": "dOutDate",
        "fieldType": "Date",
        "fieldLabel": "Expiration Date",
        "fieldLength": "20",
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "0",
        "requiredMsg": null,
        "defaultValue": null,
        "displayValue": null,
        "isOptionList": null,
        "isTreeOptionList": null,
        "optionList": null,
        "optionListType": null,
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": null,
        "treeNodeStorageSeparator": null,
        "order": "1010",
        "decimalScale": null,
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    },
    {
        "fieldName": "xComments",
        "fieldType": "Memo",
        "fieldLabel": "Comments",
        "fieldLength": "2000",
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "0",
        "requiredMsg": null,
        "defaultValue": null,
        "displayValue": null,
        "isOptionList": null,
        "isTreeOptionList": null,
        "optionList": null,
        "optionListType": null,
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": null,
        "treeNodeStorageSeparator": null,
        "order": "5001",
        "decimalScale": null,
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    },
    {
        "fieldName": "xIdcProfile",
        "fieldType": "Text",
        "fieldLabel": "Profile",
        "fieldLength": "30",
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "0",
        "requiredMsg": null,
        "defaultValue": null,
        "displayValue": null,
        "isOptionList": "1",
        "isTreeOptionList": null,
        "optionList": "xIdcProfile.options",
        "optionListType": "choice",
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": null,
        "treeNodeStorageSeparator": null,
        "order": "5006",
        "decimalScale": null,
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    },
    {
        "fieldName": "xTemplateType",
        "fieldType": "Text",
        "fieldLabel": "Template Type",
        "fieldLength": "30",
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "0",
        "requiredMsg": null,
        "defaultValue": null,
        "displayValue": null,
        "isOptionList": "1",
        "isTreeOptionList": null,
        "optionList": "xTemplateType.options",
        "optionListType": "choice",
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": null,
        "treeNodeStorageSeparator": null,
        "order": "5040",
        "decimalScale": null,
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    },
    {
        "fieldName": "xParentFolders",
        "fieldType": "Memo",
        "fieldLabel": "Parent Folder",
        "fieldLength": null,
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "0",
        "requiredMsg": null,
        "defaultValue": null,
        "displayValue": null,
        "isOptionList": null,
        "isTreeOptionList": null,
        "optionList": null,
        "optionListType": null,
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": null,
        "treeNodeStorageSeparator": null,
        "order": "5100",
        "decimalScale": null,
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    },
    {
        "fieldName": "xTestField2",
        "fieldType": "Text",
        "fieldLabel": "TestField2",
        "fieldLength": "30",
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "0",
        "requiredMsg": null,
        "defaultValue": null,
        "displayValue": null,
        "isOptionList": "1",
        "isTreeOptionList": "1",
        "optionList": "xTestField2.options",
        "optionListType": "choice",
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": "/",
        "treeNodeStorageSeparator": "/",
        "order": "20010",
        "decimalScale": "1",
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    },
    {
        "fieldName": "xTestMetadata",
        "fieldType": "Text",
        "fieldLabel": "TestMetadata",
        "fieldLength": "30",
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "0",
        "requiredMsg": null,
        "defaultValue": null,
        "displayValue": null,
        "isOptionList": "1",
        "isTreeOptionList": null,
        "optionList": "xTestMetadata.options",
        "optionListType": "combo",
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": null,
        "treeNodeStorageSeparator": null,
        "order": "20011",
        "decimalScale": "1",
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    },
    {
        "fieldName": "xTestRelField",
        "fieldType": "Text",
        "fieldLabel": "TestRelField",
        "fieldLength": "30",
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "0",
        "requiredMsg": null,
        "defaultValue": null,
        "displayValue": null,
        "isOptionList": "1",
        "isTreeOptionList": "1",
        "optionList": "xTestRelField.options",
        "optionListType": "choice",
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": "/",
        "treeNodeStorageSeparator": "/",
        "order": "20012",
        "decimalScale": "1",
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    },
    {
        "fieldName": "xTestUseView",
        "fieldType": "Text",
        "fieldLabel": "TestUseView",
        "fieldLength": "30",
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "0",
        "requiredMsg": null,
        "defaultValue": null,
        "displayValue": null,
        "isOptionList": "1",
        "isTreeOptionList": "1",
        "optionList": "xTestUseView.options",
        "optionListType": "choice",
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": "/",
        "treeNodeStorageSeparator": "/",
        "order": "20013",
        "decimalScale": "1",
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    },
    {
        "fieldName": "xtestUseView1",
        "fieldType": "Text",
        "fieldLabel": "testUseView1",
        "fieldLength": "30",
        "isHidden": "0",
        "isReadOnly": "0",
        "isRequired": "0",
        "requiredMsg": null,
        "defaultValue": null,
        "displayValue": null,
        "isOptionList": "1",
        "isTreeOptionList": null,
        "optionList": "xtestUseView1.options",
        "optionListType": "choice",
        "isDependent": "0",
        "dependentOnField": null,
        "isPadMultiselectStorage": "0",
        "multiselectStorageSeparator": null,
        "multiselectDisplaySeparator": null,
        "isShowSelectionPath": "0",
        "isStoreSelectionPath": "0",
        "treeNodeDisplaySeparator": null,
        "treeNodeStorageSeparator": null,
        "order": "20014",
        "decimalScale": "1",
        "isError": "0",
        "errorMsg": null,
        "isUserName": "0"
    }
],
"dDocType.options": [
    {
        "dOption": "Application",
        "dDescription": "Application - Files owned by Content Server applications"
    },
    {
        "dOption": "Binary",
        "dDescription": "Binary - Executables, zip files, etc"
    },
    {
        "dOption": "DigitalMedia",
        "dDescription": "DigitalMedia - Audio, video, and images"
    },
    {
        "dOption": "Document",
        "dDescription": "Document - Any generic document"
    },
    {
        "dOption": "RetentionCategory",
        "dDescription": "wwDocTypeDesc_RetentionCategory"
    },
    {
        "dOption": "System",
        "dDescription": "System - System configuration, templates, settings"
    }
],
"xTemplateType.options": [
    {
        "dOption": "HC Template",
        "dDescription": "HTML Conversion Template"
    },
    {
        "dOption": "GUI Template",
        "dDescription": "Classic HTML Conversion Template"
    },
    {
        "dOption": "Layout Template",
        "dDescription": "Classic HTML Conversion Layout"
    },
    {
        "dOption": "Script Template",
        "dDescription": "Script Template"
    },
    {
        "dOption": "Viewer Cache Template",
        "dDescription": "Viewer Cache Template"
    }
],
"dDocAuthor.options": [
    {
        "dOption": "LCMUser",
        "dDescription": "LCMUser"
    },
    {
        "dOption": "OracleSystemUser",
        "dDescription": "OracleSystemUser"
    },
    {
        "dOption": "sysadmin",
        "dDescription": "sysadmin"
    },
    {
        "dOption": "weblogic",
        "dDescription": "weblogic"
    }
],
"dSecurityGroup.options": [
    {
        "dOption": "Public",
        "dDescription": "Public"
    },
    {
        "dOption": "RecordsGroup",
        "dDescription": "RecordsGroup"
    },
    {
        "dOption": "Reservation",
        "dDescription": "Reservation"
    },
    {
        "dOption": "Secure",
        "dDescription": "Secure"
    }
]
}

Models

AttachmentListResponse

The following fields describe a list of attachments.

Name Type Description Required
count number The number of attachments in the list. No
items array of AttachmentObject An array of attachment objects. No

AttachmentObject

The following fields describe an attachment.

Name Type Description Required
extRenditionName string The name of the attachment. No
extRenditionDescription string The description of the attachment. No
extRenditionOriginalName string The file name of the attachment. No
extRenditionType string The (MIME) type of the attachment. No
extRenditionFileSize number The size of the rendition in bytes. No

GeneralErrorResponse

General error response

Name Type Description Required
type string A link that describes the type of error. No
title string A brief summary error message. No
detail string Details about the error from the server. The service StatusMessage. No
errorKey string When the error comes from the service layer, the service StatusMessageKey No
o:errorCode number When the error comes from the service layer, the service StatusCode No

ResubmitConflictErrorResponse

Resubmit Conflict 409 Response

Name Type Description Required
type string https://www.rfc-editor.org/rfc/rfc9110.html#name-409-conflict No
title string Unable to resubmit. No
detail string Unable to resubmit content item. The content item is not in a failed conversion state. No
errorKey string !csUnableToResubmitItem2!csResubmitNotFailed No
o:errorCode number -1 No

MetadataChangeObjectParameter

The following fields are examples of what can be changed as metadata for a content item. Other fields may be allowed.

Name Type Description Required
dDocType string The type of document No
dDocTitle string The title of the document No
dRevLabel string The revision of the document No
dSecurityGroup string The security group of the document No
dDocName string The id of the document No
dDocAuthor string The author of the document No
xComments string String comments about the document No

MetadataObjectResponse

The following fields are examples of what can be returned as metadata for a content item.

Name Type Description Required
dDocType string The type of document No
dDocTitle string The title of the document No
dRevLabel string The revision of the document No
dSecurityGroup string The security group of the document No
dDocName string The id of the document No
dDocAuthor string The author of the document No
dStatus string This field is a summary field of computations from other status fields. No
dOriginalName string The document file name No
dFormat string The document mime type No
dFileSize number The document filesize (in bytes) No
dDocCreatedDate string The date and time the document was first uploaded into the server in ISO-8601 format No
dDocCreator string The user who originally created the document No
dDocLastModifiedDate string The date and time any revision of the document was last modified in ISO-8601 format No
dDocLastModifier string The last user to modify the document No

MetadataVersionsResponse

The response returning the metadata for all versions of a document.

Name Type Description Required
dDocName string The id of the document No
count number The number of versions returned No
dRevLabelLatest string The latest revision of this document No
items array MetadataObjectResponse An array of metadata objects for each revision No

SearchResultsResponse

The response returning search results.

Name Type Description Required
count number The number of documents returned. No
hasMore boolean When false, all the results for the search are returned. No
offset number The offset when used to return a limited number of search results. No
totalResults number The total number of documents that satisfy the search. No
limit number The maximum number of items listed. No
q string The search query used to generate this response. No
orderBy string The sort field and sort order used to generate this response. No
pageNumber number The page number of items in the response (useful in pagination). No
numPages number The total number of pages returned. No
totalRows number The total number of rows returned. No
startRow number The start row number of items returned. No
endRow number The end row number of items returned. No
items array MetadataObjectResponse An array of metadata objects for documents that meet the search query. No

WorkInProgressResponse

The response returning work in progress.

Name Type Description Required
count number The number of documents returned. No
hasMore boolean When false, all the results are returned. No
offset number The offset when used to return a limited number of search results. No
totalResults number The total number of documents that satisfy the search. No
limit number The maximum number of items listed. No
orderBy string The sort field and sort order used to generate this response. No
pageNumber number The page number of items in the response (useful in pagination). No
repository string The name of the repository. No
computedSearchEngineName string The name of the search engine. No
items array MetadataObjectResponse An array of metadata objects for documents that are in work in progress. No

FolderBrowseResponse

The response when browsing a folder.

Name Type Description Required
numFolders number The number of folders in the folder. No
hasMoreChildFolders number This is 1 if the request did not return all of the child folders. This occurs when folderCount is reached and there are additional folders that could have been returned. No
numFiles number The number of files in the folder. No
totalChildFoldersCount number The total number of folders in the parent folder. No
totalChildFilesCount number The total number of files in the parent folder. No
hasMoreChildFiles number This is 1 if the request did not return all of the child files. This occurs when fileCount is reached and there are additional documents that could have been returned. No
hasMoreChildItems number This is 1 if the request did not return all of the child items (folders+files). This occurs when count is reached and there are additional items that could have been returned. No
folderPath string The path for folder. No
folderInfo FileInfoObject Information about the folder. No
childFolders An array of FileInfoObject An array of information about all folders that exist in the folder. No
childTargetFolders An array of FileInfoObject An array of information about all folder targets that exist in the folder. No
childFiles FileInfoObject Information about all files in the folder. No

FolderInfoResponse

The response for folder information.

Name Type Description Required
folderPath string The path to the folder. No
targetPath string If the path is a shortcut, the path to the target folder. No
folderInfo FolderInfoObject The information about the folder. No
targetInfo FolderInfoObject If the path is a shortcut, the information about the target folder. No

FileInfoResponse

The response for file information.

Name Type Description Required
filePath string The path to the file. No
fileInfo FileInfoObject The information about the file. No

FolderInfoObject

Folder information.

Name Type Description Required
fFolderGUID string The folder GUID. No
fParentGUID string The GUID of the parent folder No
fFolderName string The folder name. No
fFolderType string The folder type. Can be owner for created folders or soft for shortcuts. No
fInhibitPropagation number A bitmap used to determine restrictions on files/folders from propagating values from its parent. The bitmap includes:
0 - inhibit propagation is set to none indicating values can be inherited from parent
1 - inhibit propagation for metadata indicating metadata is not inherited from parent
16 - inhibit propagation for folder security indicating folder security is not inherited from parent
17 - inhibit propagation for metadata and folder security
No
fPromptForMetadata number Indicates how to prompt for metadata; if 0 then do not need to prompt for metadata. No
fIsContribution number When 1, items can be contributed to the folder. No
fIsInTrash number When 1 the folder is in the trash. No
fRealItemGUID string The folder actual GUID. No
fLibraryType number The library type. accepted values are:
0 - not a library folder
1 - enterprise library folder
2 - application library folder
3 - system library folder
No
fIsLibrary number When 1 the folder is a Library Folder. No
fDocClasses string The list folder classes. No
fTargetGUID string If the folder is a shortcut, the target GUID No
fApplication string The folder application. No
fOwner string The owner of the folder. No
fCreator string The creator of the folder. No
fLastModifier string The last modifier on the folder No
fCreateDate string The date the folder was created in ISO-8601 format. No
fLastModifiedDate string The date the folder was modified in ISO-8601 format. No
fSecurityGroup string The folder security group. No
fDocAccount string The folder account. No
fClbraUserList string The folder collaboration user list. No
fClbraAliasList string The folder collaboration alias list. No
fClbraRoleList string The folder collaboration role list. No
fFolderDescription string The folder description. No
fChildFoldersCount number The number of folders in the folder. No
fChildFilesCount number The number of files in the folder. No
fFolderSize number The number of bytes the folder uses. No
fAllocatedFolderSize number The number of bytes allocated to the folder. If the limit was not set, -1 is used. No
fAllocatorParentFolderGUID string The GUID of the parent folder the allocation effects. No
fApplicationGUID string The folder application GUID No
fIsReadOnly number When 1 the folder is read only. No
fIsACLReadOnlyOnUI number When 1 the folder should be displayed as read only. No
fDisplayName string The folder display name. No
fDisplayDescription string The folder display description. No
fIsBrokenShortcut number When 1 the shortcut broken. No
isLeaf string When 1 the folder is a leaf. No
itemType string The folder type; the value 1 is a folder, 2 is a file, and 3 is a document. No
folderPermissions string The user permissions on the folder; can be none, or a combination of Read, Write, Delete or Access. No

FileInfoObject

File information and the metadata associated with the file, fields from MetadataObjectResponse can be included in this object.

Name Type Description Required
fFileGUID string The file GUID. No
fParentGUID string The parent GUID of the file. No
fTargetGUID string The GUID of the target file. No
fFileName string The file name of the file. No
fPublishedFileName string The file name when published. No
fFolderType string The folder type. Can be owner for created folders or soft for shortcuts. No
fIsInTrash number When 1 the file is in the trash. No
fRealItemGUID string The actual file GUID. No
fDocClass string The file class. No
fInhibitPropagation number A bitmap used to determine restrictions on files/folders from propagating values from its parent. The bitmap includes:
0 - inhibit propagation is set to none indicating values can be inherited from parent
1 - inhibit propagation for metadata indicating metadata is not inherited from parent
16 - inhibit propagation for folder security indicating folder security is not inherited from parent
17 - inhibit propagation for metadata and folder security
No
fApplication string The file application. No
fOwner string The owner of the file. No
fCreator string The creator of the file. No
fLastModifier string The last modifier of the file No
fCreateDate string The date the file was created in ISO-8601 format. No
fLastModifiedDate string The date the file was modified in ISO-8601 format. No
fSecurityGroup string The file security group. No
fDocAccount string The file account. No
fClbraUserList string The file collaboration user list. No
fClbraAliasList string The file collaboration alias list. No
fClbraRoleList string The file collaboration role list. No
fIsACLReadOnlyOnUI number When 1 the file should be displayed as read only. No
fDisplayName string The file display name. No
fDisplayDescription string The file display description. No
fIsBrokenShortcut number When 1 the shortcut broken. No
isLeaf string When 1 the folder is a leaf. No
itemType string The folder type; the value 1 is a folder, 2 is a file, and 3 is a document. No
folderPermissions string The user permissions on the folder; can be none, or a combination of Read, Write, Delete or Access. No

WorkflowInfoResponse

The response for a content item in a workflow.

Name Type Description Required
dWfName string The name of the workflow. No
dWfStepID number The unique id of a step within the workflow. No
remainingStepUsers string A list of usernames that need to act on the workflow step No
dName string The author of the document in a workflow. No
authorAddress string The E-mail address of the author. No
doc_info MetadataObjectResponse The metadata of the document. No
workflowInfo WorkflowObject The metadata of the workflow. No
wf_doc_info WorkflowDocumentObject Additional workflow metadata. No
workflowStep WorkflowStepObject The current workflow step. No
workflowSteps An array of WorkflowStepObject An array of all workflow steps for this document. No
workflowStepEvents WorkflowStepEventObject The workflow events No
workflowActionHistory WorkflowActionObject The workflow action history. No

WorkflowInformationResponse

The response for workflow information.

Name Type Description Required
workflow WorkflowObject The metadata of the workflow. No
workflowSteps An array of WorkflowStepObject An array of all workflow steps for this workflow. No
workflowStepEvents WorkflowStepEventObject The workflow events. No
wfDocuments An array of WorkflowDocumentObject The content items associated with this workflow. No

WorkflowInformationRevisionsResponse

The response for content item revisions that are in the workflow.

Name Type Description Required
wf_info WorkflowObject The workflow metadata. No
workflowSteps An array of WorkflowStepObject An array of all workflow steps for this document. No
workflowStates An array of WorkflowStateObject An array of workflow states. No
wfDocuments An array of WorkflowMetaDocumentObject An array of content item metadata objects in the workflow No

WorkflowActiveResponse

The response for active workflows.

Name Type Description Required
count number The number of active workflows No
items An array of WorkflowObject An array of active workflows. No

WorkflowObject

The following fields describe a workflow.

Name Type Description Required
dWfID number Unique counter id of the workflow. No
dWfName string User assigned name of the workflow. No
dWfDescription string Description of the Workflow. No
dCompletionDate string Date workflow last reached completion and all docs were released to web in ISO-8601 format. No
dSecurityGroup string Security Group the workflow belongs to (dSecurityGroup). No
dWfStatus string State of the workflow:
INIT = not started or inactive
INPROCESS = active
No
dWfType string Type of the workflow:
Basic
Criteria
Sub-workflow
No
dProjectID string If set this workflow is a staging workflow. No
dIsCollaboration number When 1 the workflow is related to Collaboration Project. No

WorkflowStepObject

The following fields describe steps in workflows.

Name Type Description Required
dWfStepID number Incrementing counter used to uniquely identify step within the workflow. No
dWfStepName string The name of workflow step assigned by user. No
dWfID number Unique counter id of the workflow. No
dWfStepDescription string Description of the Workflow step. No
dWfStepType string Workflow Step type (AutoContribution, Contribution, Reviewer/Contribution, Reviewer). No
dWfStepIsAll number If requires all users to approve (1 or 0). No
dWfStepHasWeight number Enables the limited reviewer option. No
dWfStepWeight number The number of users to approve if dWfStepIsAll is false(0). No
dWfStepIsSignature number Determines whether signature is required for the current workflow step. This is “1” if signature is required (which requires “ElectronicSignatures” to be enabled), “0” otherwise. No
dAliases string The list of alias users. No

WorkflowStepEventObject

The following fields describe steps in workflows.

Name Type Description Required
dWfStepName string Name of workflow step assigned by user. No
wfEntryScript string The step entry script. No
wfExitScript string The step exit script. Must be placed within <$ and $> delimiters. No
wfUpdateScript string The step update script. Must be placed within <$ and $> delimiters. No

WorkflowDocumentObject

The following fields describe documents in a workflow.

Name Type Description Required
dWfID number Unique counter id of the workflow. No
dDocName string dDocName of the content item part of the workflow. No
dWfDocState string Current state of the workflow:
INIT = not started or inactive
INPROCESS = active
No
dWfComputed string Derived workflow information. No
dWfCurrentStepID number Unique identifier of step that the workflow is in. No
dWfDirectory string Location of the workflow document’s companion file. No
dClbraName string Collaboration Project Name. No

WorkflowMetaDocumentObject

The following fields describe documents in a workflow.

Name Type Description Required
dWfID number Unique counter id of the workflow. No
dDocName string dDocName of the content item part of the workflow. No
dWfDocState string Current workflow state of document (INIT = workflow not active, INPROCESS = workflow active) No
dWfComputed string Derived workflow information. No
dWfCurrentStepID number Unique identifier of step that the workflow is in. No
dWfDirectory string Location of the workflow document’s companion file. No
dClbraName string Collaboration Project Name. No
dDocType string The type of document No
dDocTitle string The title of the document No
dRevLabel string The revision of the document No
dSecurityGroup string The security group of the document No
dDocName string The id of the document No
dDocAuthor string The author of the document No
dStatus string This field is a summary field of computations from other status fields. No
dOriginalName string The document file name No
dFormat string The document mime type No
dFileSize number The document filesize (in bytes) No
dDocCreatedDate string The date and time the document was first uploaded into the server in ISO-8601 format No
dDocCreator string The user who originally created the document No
dDocLastModifiedDate string The date and time any revision of the document was last modified in ISO-8601 format No
dDocLastModifier string The last user to modify the document No

WorkflowStateObject

The following fields describe workflow states of document.

Name Type Description Required
dID number Revision Identifier of the document. No
dDocName string dDocName of the document part of the workflow. No
dWfID number Unique counter id of the workflow. No
dUserName string User that has approved document. No
dWfEntryTs number The entry timestamp(in ISO-8601 format) for a user into a particular step in the workflow. No

WorkflowActionObject

The following fields describe workflow action on content from corresponding HDA file in data\workflow\states directory.

Name Type Description Required
dWfName string Workflow name. No
dWfStepName string Workflow Step Name. No
wfAction string Action performed at the Step. No
wfActionTs string Action Time in ISO-8601 format. No
wfUsers string Workflow Step Users. No
wfMessage string Workflow Message at the step. No

WorkflowInQueueResponse

The response for the workflow in queue.

Name Type Description Required
count number The number of items returned. No
hasMore boolean If false all items have been returned. No
numPages number The number of pages the queue items can be returned. No
pageNumber number The page number of the search results returned. No
totalRows number The total number of workflow items in queue for the user. No
startRow number The start row in the workflow queue. No
endRow number The last row in the workflow queue.” No
items array Each entry is a composite of fields from WorkflowInQueueObject, WorkflowStepObject, and MetadataObjectResponse No

WorkflowInQueueObject

The following fields describe a workflow queue.

Name Type Description Required
dUser string The user to which the document assigned in workflow. No
dDocName string The dDocName of the document in workflow. No
dID number The revision identifier of the document in workflow. No
dWfID number Unique counter id of the workflow. No
dWfName string User assigned name of the workflow. No
dWfStepName string The name of workflow step assigned by user. No
dwfQueueActionState string } The workflow action state. No  
dwfQueueEnterTs string The workflow entry time in ISO-8601 format. No
dwfQueueLastActionTs string The timestamp when the last workflow action performed on the document in ISO-8601 format. No
wfMessage string The workflow message for the step. No
fIsFavorite number Indicates if the item is a favorite item. Applicable only when Frameworkfolders enabled. No

DocProfilesResponse

The response for DocProfiles information.

Name Type Description Required
defFileExists boolean True if the definition file exists. No
dpDidSetDefaultTriggerField number When 1 the default trigger field is set or 0 if not set. No
dpTriggerField string The trigger field for the profile. No
count number The number of docProfiles returned. No
items An array of DocProfileObject An array DocProfile objects. No

DocProfileObject

The following fields describe a DocProfile

Name Type Description Required
dpName string The name of the profile. No
dpDescription string The description for the profile. No
dpTriggerValue string The trigger associated with the profile. No
dpDisplayLabel string The display label of the profile. No
dDocClass string The class the profile is assigned. No
isValid boolean True when dpTriggerValue is in optionlist of dpTriggerField; otherwise false. No

UserPermissionResponse

The response is used for user permissions information.

Name Type Description Required
dName string The name of user. No
documentAccounts An array of UserAccountObject An array of accounts and privileges. No
securityGroups An array of UserGroupObject An array of security groups and privileges. No
userSecurityFlags An array of UserSecurityFlagObject An array of security flags. No

UserAccountObject

The following fields describe an account and the privilege for the account.

Name Type Description Required
dDocAccount string The account the user has access to. No
privilege string The privilege level corresponding for the account. No

UserGroupObject

The following fields describe a group and the privilege for the security group.

Name Type Description Required
dGroupName string The security group the user has access to. No
privilege string The privilege level corresponding for the security group. No

UserSecurityFlagObject

The following fields describe security group and values.

Name Type Description Required
flag string The flags related to the security group. No
value string The value set for of this flag. No

CustomFieldsResponse

The response is used for display fields information.

Name Type Description Required
displayFieldInfo An array of DisplayFieldInfoObject An array of custom metadata fields information. No
displayGroupInfo An array of DisplayFieldGroupObject An array showing how metadata fields can be grouped together. No
xFieldName.options An array of DisplayFieldDropDownObject An array showing how options can be used to create drop-down lists for specific fields. Note that xFieldName is the name custom metadata field, and the responses may include multiple arrays. No

DisplayFieldInfoObject

The following fields describe a custom metadata field.

Name Type Description Required
fieldName string The name of the field. No
fieldType string The type of field. No
fieldLabel string The display label for the field. No
fieldLength string The length of the field allowed. No
isHidden string When 1 the field should be a hidden form field. No
isReadOnly string When 1 the field should be a non-input form field. No
isRequired string When 1 the field should be a required form field. No
requiredMsg string The message displayed if required field is not populated. No
defaultValue string The default value for the field. No
displayValue string The display value to be used for the defaultValue. No
isOptionList string When 1 the field is a drop-down option list. No
optionList string If isOptionList is set to 1; the name of the additional table containing the options used to create the drop-down list. No
isTreeOptionList string When 1 the option list is using a tree. No
optionListType string The type of option list. No
isDependent string When 1 the field is part of DCL. The value of this field depends on another field. No
dependentOnField string When 1 the name of the field that will derive the value for this field. No
isPadMultiselectStorage string Used by option list of type multi*. No
multiselectDisplaySeparator string Used by option list of type multi*. No
multiselectStorageSeparator string Used by option list of type multi*. No
isShowSelectionPath string When 1 show the full path. The full path appears on the Info Page. No
isStoreSelectionPath string When 1 store the full path in the database. No  
treeNodeDisplaySeparator string The character that must be used to display the separators. No
treeNodeStorageSeparator string The character that must be used as a separator when the path is saved in the database. No
order string The order of the field. No
decimalScale string The decimalScale if the field allows decimal values. No
isError string When 1 there was an error when retrieving information about a field. No
errorMsg string The field’s error message. No

DisplayFieldGroupObject

The following fields describe a custom metadata field grouping.

Name Type Description Required
parentField string The name of the field that should appear first in the group. No
groupFieldList string The list of fields that should appear together with the parent field. No
groupHeader string The name of the group. No
defaultHide string When 1 the group should be collapsed by default. No

DisplayFieldDropDownObject

The following fields describe the options that a custom metadata uses to create a drop-down list.

Name Type Description Required
dOption string The internal value of the option. No
dDescription string The display value of the option. No

DataSourceResponse

The following fields describe the query of a data source.

Name Type Description Required
copyAborted number When true, the request does not return all rows from the query. No
nextRow number The number of the next row in the query. No
count number The number of rows returned. No
items array The query results. The fields will vary based on the data source used. No

FoldersSearchResultsResponse

The response returning search results for items in folders.

Name Type Description Required
count number The number of documents returned. No
hasMore boolean When false, all the results for the search were returned. No
offset number The offset when used to return a limited number of search results. No
totalResults number The total number of documents that satisfy the search. No
limit number The maximum number of items listed. No
q string The search query used to generate this response. No
orderBy string The sort field and sort order used to generate this response. No
startRow number The start row number of items returned. No
endRow number The end row number of items returned. No
nextRow number The number of the next row in the query. No
itemType string The item type; the value 1 is a folder, 2 is a file, and 3 is a document. No
dataSource string The dataSource used for generating search results. No
searchEngineName string The name of search engine used. No
items array of either FolderInfoObject or FileInfoObject An array of metadata objects for documents that meet the search query. No

DocTypeResponse

The response for returning all document type information.

Name Type Description Required
count number The number of document types returned. No
items array of DocTypeObject An array of DocType objects. No

DocTypeObject

The following fields describe a document type.

Name Type Description Required
dDocType string The unique identifier of document type. No
dDescription string The description of the document type. No
dGif string The file name of image for the document type. Note that the images are on the server in the IntradocWebDir/images/docgifs directory. No

DocConfigInfoResponse

The response for returning configuration information. Note that servers may return different fields depending on the server configuration.

Name Type Description Required
accessListPrivilegesGrantedWhenEmpty number When 1, the server allows access to everyone when the access list is empty. No
httpAbsoluteCgiUrl string The absolute HTTP CGI URL. No
httpAbsoluteCgiUrlWebdav string The absolute HTTP CGI URL for WebDAV No
httpAbsoluteWebdavPath string The absolute WebDAV URL. No
httpBaseAbsoluteRoot string The absolute root URL. No
httpCgiPath string The relative CGI URL. No
httpRelativeWebRoot string The relative webroot. No
idc_name string The server name. No
illegalUrlSegmentCharacters string The illegal URL segment characters. No
instanceDescription string The description of the instance. No
instanceMenuLabel string The menu label of the instance. No
isAutoNumber number When 1, the server automatically assigns content ID (dDocName) on checkin. No
isQueryObjectPersistent number When 1, queried resultsets are persisted. No
localeDateFormatPattern string The locale date format. No
localeTimeZoneID string The ID of the locale time zone. No
localeTimeZoneOffsetMillis number The locale time zone offset in milliseconds. No
maxResults number The maximum search results returned. No
memoFieldSize number The maximum allowed size of a memo field. No
productVersion string The server product version. No
productVersionInfo string The server product version information. No
searchIndexerEngineName string The search engine name used for indexing. No
specialAuthGroups string The list of special Auth Groups (ACL-related). No
systemTimeZone string The server time zone. No
useAccounts number When 1, accounts are enabled. No
useCollaboration number When 1, collaboration is enabled. No
useDatabaseWfInQueue number When 1, server workflow in-queues are fetched using database query. No
useEntitySecurity number When 1, entity security is enabled. No
useForwardOnlyCursor number When 1, forward only cursor is used if the parameters object is reused for subsequent calls of search. No
zonedSecurityFields string A comma separated list of zoned security fields. No
acceptsResponseDateFormat number When 1, the response date format is accepted. No
dUser string The caller’s user name. No
defaultAccount string The default account if accounts are enabled. No
webdavbaseurl string The absolute WebDAV base URL. No
doc_default_infoCount number The number of items in the doc_default_info array. No
docFormatsCount number The number of items in the docFormats array. No
docMetaDefinitionCount number The number of items in the docMetaDefinitions array. No
docTypesCount number The number of items in the docTypes array. No
featuresCount number The number of items in the features array. No
doc_default_info an array of fields similar to MetadataObjectResponse An array of default metadata values. No
docFormats an array of DocFormatObject An array of document formats No
docMetaDefinitions an array of DocMetaDefinitionObject An array of metadata fields. No
docTypes array of DocTypeObject An array of DocType objects. No
features array of FeaturesObject An array of features the server supports. No

DocMetaInfoResponse

The response for returning configuration information. Note that servers may return different fields depending on the server configuration.

Name Type Description Required
isAutoNumber number When 1, the server automatically assigns content ID (dDocName) on checkin. No
useAccounts number When 1, accounts are enabled. No
docMetaDefinitionCount number The number of items in the docMetaDefinitions array. No
docTypesCount number The number of items in the docTypes array. No
docMetaDefinitions an array of DocMetaDefinitionObject An array of metadata fields. No
docTypes array of DocTypeObject An array of DocType objects. No

DocFormatObject

The following fields describe a document format.

Name Type Description Required
dFormat string The server MIME type of the file. No
dConversion string The name of the conversion mapped to this format or PassThru. No
dDescription string The dDescription of the format. No
dIsEnabled number When 1, the format is enabled. No
overrideStatus string When full, the format is already present in database. No
isSystem number When 1, the format is a system format. No

DocMetaDefinitionObject

The following fields describe a document metadata field.

Name Type Description Required
dName string The field name. No
dType string The field type. No
dIsRequired number When 1, the field is required. No
dIsEnabled number When 1, the field is enabled. No
dIsSearchable number When 1, the field is searchable. No
dCaption string The caption when the field is displayed. No
dIsOptionList number When 1, the option list is available. No
dOptionListKey string The option list key. No
dDefaultValue string The field default value. No
dOrder number The load order of the field. No
dOptionList string The option list type. No
dIsPlaceholderField number When 1, the field is a placeholder. No
dCategory string The category information of the field. No
dExtraDefinition string Additional information for the field. No
dDecimalScale integer The supported decimal values of the field. No
dDocMetaSet string When DocMetathe field is defined in DocMeta table. No

FeaturesObject

The following fields describe a server feature.

Name Type Description Required
idcFeatureName string The feature name. No
idcFeatureVersion string The feature version. No
idcFeatureLevel string The feature level or version. No
idcFeatureComponent string The component providing the feature. No

CapabilitiesResponse

The following fields describe a capabilities response.

Name Type Description Required
count number The number of capabilities returned. No
items array of CapabilitiesObject An array of capabilities objects. No

CapabilitiesObject

The following fields describe a capability.

Name Type Description Required
capabilityName string The name of the capability tested. No
capabilityValus number The number indicating the capability: -1 means the capability does not apply to the object; 0 means the object does not have the capability; 1 means the object has the capability. No

OAuthResponse

The following fields describe an OAuth token response.

Name Type Description Required
accessToken string The access token used to access the scopes. No
refreshToken string The refresh token used to regenerate the access token. No
tokenType string The access token type, for example: Bearer. No
expiresIn number The expiry time of the access token in seconds. No

DocProfileResponse

The following fields describe a document profile response.

Name Type Description Required
dpName string The name of the document profile. No
dpDescription string The description of the document profile. No
dpDisplayLabel string The label which is used on the UI for the document profile. No
dpTriggerField string The profile trigger field. No
dpTriggerValue string The trigger value for the document profile. No
dDocClass string The document class. No
isValid boolean True if the trigger value is valid. No
defFileExists boolean True if profile file exists, No
dpExludeNonRuleFields number When 1, indicates the non-rule field is to be excluded. Non-rule fields are fields that are not part of a rule. No
dpHasLinkScripts number When 1, indicates the profile has personalization links. No
dpHasCheckinLinkScript number When 1, indicates the profile has script for the check-in link. No
dpCheckinLinkScriptIsCustom number When 1, indicates the script for the check-in link is a custom script. No
dpCheckinLinkCustomScript string The custom script for the check-in link. No
dpCheckinLinkScriptSummary string The script summary for the check-in link. No
dpHasSearchLinkScript number When 1, indicates the profile has script for the search link. No
dpSearchLinkScriptIsCustom number When 1, indicates the script for the search link is a custom script. No
dpSearchLinkCustomScript string The custom script for the search link. No
dpSearchLinkScriptSummary string The script summary for the search link No