OpenText Documentum REST Services CE 23.2 - Development Guide English (EDCPKL230200-PGR-EN-01)
OpenText Documentum REST Services CE 23.2 - Development Guide English (EDCPKL230200-PGR-EN-01)
Services
Development Guide
EDCPKL230200-PGR-EN-01
OpenText™ Documentum™ REST Services
Development Guide
EDCPKL230200-PGR-EN-01
Rev.: 2023-Apr-04
This documentation has been created for OpenText™ Documentum™ REST Services CE 23.2.
It is also valid for subsequent software releases unless OpenText has made newer documentation available with the product,
on an OpenText website, or by any other means.
Tel: +1-519-888-7111
Toll Free Canada/USA: 1-800-499-6544 International: +800-4996-5440
Fax: +1-519-888-0677
Support: https://support.opentext.com
For more information, visit https://www.opentext.com
One or more patents may cover this product. For more information, please visit https://www.opentext.com/patents.
Disclaimer
Every effort has been made to ensure the accuracy of the features and techniques presented in this publication. However,
Open Text Corporation and its affiliates accept no responsibility and offer no warranty whether expressed or implied, for the
accuracy of this publication.
Table of Contents
1 Overview ................................................................................... 65
3 Authentication ......................................................................... 83
3.1 Authentication with HTTP basic ........................................................ 83
4 Resources ................................................................................ 85
4.1 xCP advanced repository query instance .......................................... 85
4.1.1 URI template .................................................................................. 85
4.1.2 Link relation .................................................................................... 85
4.1.3 Operations ...................................................................................... 86
4.1.3.1 Perform a advanced repository query ............................................... 86
4.1.3.1.1 HTTP method ................................................................................. 86
4.1.3.1.2 Query parameters ........................................................................... 86
4.1.3.1.3 Request headers ............................................................................. 86
4.1.3.1.4 Request body ................................................................................. 87
4.1.3.1.5 Response headers .......................................................................... 87
4.1.3.1.6 Supported response media types ..................................................... 87
4.1.3.1.7 Response status ............................................................................. 87
4.1.3.1.8 Response body ............................................................................... 87
4.2 xCP advanced repository query single type ....................................... 89
4.2.1 URI template .................................................................................. 89
4.2.2 Link relation .................................................................................... 89
4.2.3 Operations ...................................................................................... 89
4.2.3.1 Get an advanced repository query type ............................................. 89
4.2.3.1.1 HTTP method ................................................................................. 90
4.2.3.1.2 Query parameters ........................................................................... 90
4.2.3.1.3 Request headers ............................................................................. 90
4.2.3.1.4 Request body ................................................................................. 90
4.2.3.1.5 Response headers .......................................................................... 90
Authorization:
Basic
QWxhZGRpbjpvcGVu
IHNlc2FtZQ==
Or, Kerberos
authentication header
with the credential
part encoded, for
example:
Authorization:
Negotiate
YIIZG1hZG1pbjpwY
XNzd29yZ.
Accept Acceptable media Request • application/
type for the response vnd.emc.xcp+xml
• application/
vnd.emc.xcp+json
• application/xml
• application/json
Content-Type MIME type of the Request/Response • application/
request body or vnd.emc.xcp+xml
response body • application/
vnd.emc.xcp+json
• application/xml
• application/json
Example:
var xhr = new
XMLHttpRequest();
xhr.setRequestHeader(
'x-csrf-token',
Ext.util.Cookies.get(
'x-csrf-token'));
Note: For a specific resource, it may not support all the following query
parameters. For detailed information about what query parameters a resource
supports, see the Query parameters section of that resource.
If you set
items-per-
page to 200, and
page to 2, the
operation
returns items 201
- 400.
view Specifies the string See “Property :default
object properties view”
to retrieve. on page 74.
This parameter
works only
when inline is
set to true.
For more
information, see
“Property view”
on page 74.
include-total Determines boolean • true - return false
whether to the total
return the total number of
number of objects.
objects. For • false - do
paged feeds, not return
objects in all the total
pages are number of
counted. objects.
Each sort
specification
consists of a
property (any
non-repeating
property) by
which to sort the
results and its
sort order (DESC
or ASC),
separated by the
whitespace
character ( ).
If any property
with an invalid
name is
specified, an
error is thrown.
Example:
sort=r_
modify_date
desc,object-
id asc,title
links Determines boolean • true - return true
whether to link relations.
return link • false - do
relations in the not return
object link relations.
representation.
This parameter
works only
when inline is
set to true.
Refer to the
Example 2-1,
“Sample in
XML”
on page 73
section for an
example.
If a property name violating any of the rules is specified in the expression, the view
expression is considered as invalid and rejected. In this case, the server returns the
HTTP 400 Bad Request status.
This example sets the view parameter to the predefined view expression:all,
meaning that all properties of the requested object are returned.
This example sets the view parameter to the custom view expression object_
name,r_object-type, meaning that only the object_name and r_object-
type properties of the requested object are returned.
The value of default size is limited by the maximum page size value.
2.5 Representation
xCP REST Services supports two representation formats, JSON and XML.
XML is the other format for resource representation in xCP REST Services. Like the
JSON format, collection-based resources are presented as feeds, defined by Atom.
For more information about Atom, see RFC42870.
Events
A type definition may have multiple events associated with it. Every event can be
used either for reporting or for triggering processes.
If an event triggers a process, the process element appears in the type definition,
pointing to a process type. When this event is triggered, a process of the pointed
type is created.
<events>
<event label="bo_all_attributes_created" trigger="CREATED">
<description/>
</event>
<event label="bo_all_attributes_updated" trigger="UPDATED">
<description>Event occurs on updated BO</description>
</event>
<event label="bo_all_attributes_created_start_process"
trigger="CREATE" condition="session.login='testuser'">
<description/>
<process mode="statefull">URI of the Process Type</process>
</event>
</events>
Relationships
If the relationships section appears in a type definition, instances of that type can
participate in a relationship of a specified type as the source, target, or both
according to the settings in the section.
In the following example, instances of the type can participate in relationships of the
ut200_bo_rel_1way_hasm type as the source and participate in relationships of the
ut200_bo_rel_2way_121 type as the target.
"type": "http://localhost:8080/xcp-rest/types/relationships/
ut200_bo_rel_2way_121"
}]
}
Fragments
If the fragments section appears in a type definition, instances of that type can have
certain types of fragments (aspects) attached according to the settings in the section.
In the following example, instances of this type can have fragments of the utapp21_
aspect_all_attrs type attached.
Picklists
"name": "highest_degree",
"type": "string",
"length": "16",
"valueAssist": "http://localhost:8080/xcp-rest/picklists/ut200_highest_degree"
}
Note: We strongly recommend that you use HTTPS when using HTTP Basic
authentication, which requires a secure connection because the Basic
authentication transmits the user name and password in BASE64 encoded
plain text.
When using HTTP Basic authentication, a request has to carry the username/
password pair in the Authorization header with the following pattern:
Authorization: Basic BASE64{${username}:${password}}
If the authentication fails, the REST server responds with the HTTP 401
Unauthorized status code.
Based on the r_object_type, the links get generated. For links to work, Alias
should not be given for these two attributes.
• The returned type value from r_object_type should be modeled in xCP Designer.
For example, if r_object_type returns customer, ensure that this model already
exists in xCP Designer.
4.1.3 Operations
Advanced Repository Query resource supports the following HTTP method.
Method Description
GET Retrieve the results of a Advanced
Repository query.
GET
• inline
• items-per-page
• page
• sort
• links (combined with inline)
• input_<input_name>, where the <input_name> is the input parameter configured
in xCP Designer.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
XML or JSON representation of the query results. The results are presented using
Atom Feed in XML representation or using EDAA collection in JSON representation.
By default, this operation only returns basic properties of each result. You can get a
single instance by accessing the src link in the corresponding entry. To obtain a full
representation of each result, set the inline parameter to true.
"href": "dql-queries/utapp21_dqlcustomers"
}, {
"rel": "next",
"href": "dql-queries/utapp21_dqlcustomers?items-per-page=2&page=2"
}],
"entries": [{
"id": "dql-queries/utapp21_dqlcustomers/1155688358",
"title": "utapp21_dqlcustomers-0801e240801a3091",
"updated": "2016-04-27T10:03:48.260Z",
"summary": "utapp21_dqlcustomers-0801e240801a3091",
"content": {
"name": "dql-query",
"type": "utapp21_dqlcustomers",
"definition": "http://127.0.0.1:8180/xcp-rest/types/
dql-queries/
utapp21_dqlcustomers",
"properties": {
"r_object_type": "utapp21_customers",
"r_object_id": "0801e240801a3091",
"new_string": "single-string-attribute"
},
"permission": {
"basic-permission": "DELETE",
"extended-permissions": ["EXECUTE_PROC", "CHANGE_LOCATION",
"CHANGE_STATE", "CHANGE_PERMIT",
"CHANGE_OWNER"]
},
"links": [{
"rel": "type",
"href": "types/business-objects/utapp21_customers"
}, {
"rel": "http://identifiers.emc.com/linkrel/instances",
"href": "business-objects/utapp21_customers"
}, {
"rel": "edit",
"href": "business-objects/utapp21_customers/0801e240801a3091"
}, {
"rel": "self",
"href": "business-objects/utapp21_customers/0801e240801a3091"
}, {
"rel": "http://identifiers.emc.com/linkrel/add-comment",
"href": "business-objects/utapp21_customers/0801e240801a3091/comments"
}, {
"rel": "http://identifiers.emc.com/linkrel/comments",
"href": "business-objects/utapp21_customers/0801e240801a3091/comments"
}, {
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "business-objects/utapp21_customers/0801e240801a3091"
}],
"content-type": "application/vnd.emc.xcp+json"
}
} }]
}
http://identifiers.emc.com/linkrel/
4.2.3 Operations
An advanced repository query type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of a Advanced
repository query
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
Element Description
properties Specifies a set of properties that are
displayed in the output table in xCP.
expression-set Specifies a set of condition constraints for
input filter.
sort Specifies sort settings.
options Specifies which version of the result to
return. Valid values are:
• resultLimit: Only returns the latest
version of a result
4.3.4 Operations
Advanced repository query type collection resource supports the following HTTP
method.
Method Description
GET Retrieve a collection of type definitions for
Advanced Repository Query instances
GET
• view
• links
• inline
• items-per-page
• page
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Advanced Repository Query instances, depending on the setting of the query
parameter view.
• Pagination is supported.
4.4.3 Operations
An Alert Query resource supports the following HTTP method.
Method Description
GET Retrieve the results of an alert query
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
An Alert Query resource does not support sort on multiple attributes, meaning
that you can specify at most one attribute as the sort criterion when performing a
query.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
XML or JSON representation of the query results. The results are presented using
Atom Feed in XML representation or using EDAA collection in JSON representation.
By default, this operation only returns basic properties of each result. You can get a
single instance by accessing the src link in the corresponding entry. To obtain a full
representation of each result, set the inline parameter to true.
<entry>
<id>alert-queries/utapp21_loanalertquery/1592705241</id>
<title type="text">utapp21_loanalertquery-0</title>
<updated>2014-01-23T09:30:13.859Z</updated>
<link href="alert-queries/utapp21_loanalertquery/1592705241" rel="edit" />
<summary type="text">utapp21_loanalertquery-0</summary>
<content type="application/vnd.emc.xcp+xml"
src="alert-queries/utapp21_loanalertquery/1592705241" />
</entry>
<entry>
<id>alert-queries/utapp21_loanalertquery/194042900</id>
<title type="text">utapp21_loanalertquery-0</title>
<updated>2014-01-23T09:30:13.859Z</updated>
<link href="alert-queries/utapp21_loanalertquery/194042900" rel="edit" />
<summary type="text">utapp21_loanalertquery-0</summary>
<content type="application/vnd.emc.xcp+xml"
src="alert-queries/utapp21_loanalertquery/194042900" />
</entry>
</feed>
entries:
{
id: "alert-queries/utapp21_loanalertquery/456959915"
title: "utapp21_loanalertquery-0"
updated: "2014-01-23T17:26:07.107+08:00"
summary: "utapp21_loanalertquery-0"
content: {
src: "alert-queries/utapp21_loanalertquery/456959915"
content-type: "application/vnd.emc.xcp+json"
}
}
{
id: "alert-queries/utapp21_loanalertquery/343615540"
title: "utapp21_loanalertquery-0"
updated: "2014-01-23T17:26:07.107+08:00"
summary: "utapp21_loanalertquery-0"
content: {
src: "alert-queries/utapp21_loanalertquery/343615540"
content-type: "application/vnd.emc.xcp+json"
}
}
{
id: "alert-queries/utapp21_loanalertquery/1509423337"
title: "utapp21_loanalertquery-0"
updated: "2014-01-23T17:26:07.107+08:00"
summary: "utapp21_loanalertquery-0"
content: {
src: "alert-queries/utapp21_loanalertquery/1509423337"
content-type: "application/vnd.emc.xcp+json"
}
}
}
http://identifiers.emc.com/linkrel/
4.5.3 Operations
An Alert Query Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of Alert Query
instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.6.4 Operations
An Alert Query Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Alert Query instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Alert Query instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.7.3 Operations
An Alert resource supports the following HTTP methods.
Method Description
GET Retrieve an Alert resource
PUT Update the status of an Alert resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The type link relation points to the type definition of the Alert resource, through
which you can retrieve an “xCP Alert Single Type” on page 112.
• The status link relation indicates the status of the Alert resource, through which
you can update the status by using a PUT request.
• Null values are presented as an empty string (“”).
To update the status of an Alert resource, send a PUT request to the status link
relation of the Alert in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/alerts/<alert-type>/<alert-id>/status
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
XML or JSON representation of the status of the Alert resource. The following
statuses are supported:
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
409 - Conflict
• The type link relation points to the type definition of the Alert resource, through
which you can retrieve a “xCP Alert Single Type” on page 112.
• The status link relation indicates the updated status of the Alert resource.
4.8.4 Operations
An Alert collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of Alert instances.
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the Alert instance,
depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.9.3 Operations
An Alert Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of Alert instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.10.4 Operations
An Alert Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Alert instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Alert instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
Note: xCP REST services does not use a type definition to model annotation
instances. Therefore, annotations are passed within the body of a request or
response in a model that a viewer provider can understand and consume.
“Viewer provider profile” on page 599 provides detailed information about
viewer providers.
4.11.4 Operations
An Annotation collection resource supports the following HTTP methods.
Method Description
GET Retrieve all annotations on a Content
instance
GET Retrieve annotations created by a specific
user on a Content instance
POST Create annotations on a Content instance
GET
Note: The viewer provider must support the content format of the annotations.
The section “Formats” on page 532 provides more information about content
formats.
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/json (For compatible viewing)
204 - No Content
[{
pageNumber: 1,
pageHeight: 590,
commentId: 0901e24080010590,
pageWidth: 416,
commentColor: "red",
commentContent: "hello world",
commentTitle: "hello world",
xPos: 46,
yPos: 85,
creatorName: "tester"
},{
pageNumber: 2,
pageHeight: 590,
commentId: 0900492d80088c20,
pageWidth: 416,
commentColor: "red",
commentContent: "hello world 2",
commentTitle: "hello world 2",
xPos: 65,
yPos: 185,
creatorName: "dmadmin"
}]
GET
2. Get the annotations for the user by appending the username to the URI in the
following pattern:
viewers/viewer-provider/contents/content-type/
content-id/view/annotations/username
For example, the following request gets the annotations that testuser creates on
the Content instance with the object ID 0901e2408001dec5:
/ContentViewer/contents/dm_document/
0901e2408001dec5/view/annotations/testuser
Note: The viewer provider must support the content format of the annotations.
The section “Formats” on page 532 provides more information about content
formats.
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/json (For compatible viewing)
204 - No Content
POST
2. Post the annotation payload (see “Request body” on page 123) to the Content
instance in the following pattern:
viewers/viewer-provider/contents/content-type/
content-id/view/annotations
• application/atom+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
A form that represents an Annotation instance where the form name is set to
commentData and the form data describes the annotation content in JSON that
resembles the following:
Location
• application/atom+xml
• application/vnd.emc.xcp+json
http://identifiers.emc.com/linkrel/
4.12.3 Operations
An Application resource supports the following HTTP method.
Method Description
GET Retrieve an Application resource
GET
• view
• links
For more details about the query parameters, see “Common definition - query
parameters” on page 69.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The type link relation points to the type definition of the Application resource,
through which you can retrieve an “xCP application type” on page 128.
• The projects link relation points to the collection of all project defined in the
Application resource.
• The roles link relation points to the collection of all roles defined in the
Application resource.
• The application-configurations link relation points to a collection of
application configuration instances in the Application resource.
• Null values are presented as an empty string (“”).
<dm:links>
<dm:link rel="type" href="types/projects/xcp_project" />
<dm:link rel="http://identifiers.emc.com/linkrel/application-configurations"
href="application-configurations/xcp_application_configuration" />
<dm:link rel="http://identifiers.emc.com/linkrel/roles"
href="members/xcp_member?current-application" />
<dm:link rel="self" href="application" />
<dm:link rel="http://identifiers.emc.com/linkrel/projects"
href="projects/xcp_project" />
</dm:links>
</dm:project>
http://identifiers.emc.com/linkrel/
4.13.3 Operations
An Application Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of Application
instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.14.4 Operations
An Application Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Application instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
For more details about the query parameters, see “Common definition - query
parameters” on page 69.
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
204 - No Content
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.15.3 Operations
An Application Configuration resource supports the following HTTP methods.
Method Description
GET Retrieve an Application Configuration
resource
POST Update an Application Configuration
resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
204 - No Content
• The type link relation points to the type definition of the Application
Configuration resource, through which you can retrieve an “xCP application
configuration single type” on page 141.
• Null values are presented as an empty string (“”).
POST
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation updates all fields specified in the request. However, if the request
body contains a field that is not presented in the corresponding DML type (“xCP
application configuration single type” on page 141), the field is ignored.
• Repeating properties are processed as lists. If you update one of the values in the
list, the entire list is updated.
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
409 - Conflict
• The type link relation points to the type definition of the Application
Configuration instance, through which you can retrieve an “xCP application
configuration single type” on page 141.
• Null values are presented as an empty string (“”).
4.16.4 Operations
An Application Configuration collection resource supports the following HTTP
method.
Method Description
GET Retrieve a collection of Application
Configuration instances.
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• permissions
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
http://identifiers.emc.com/linkrel/
4.17.3 Operations
An Application Configuration Type resource supports the following HTTP method:
Method Description
GET Retrieve the type definition of Application
Configuration instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.18.4 Operations
An Application Configuration Type collection resource supports the following
HTTP method:
Method Description
GET Retrieve a collection of type definitions for
Application Configuration instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.19.3 Operations
A Business Object resource supports the following HTTP methods:
Method Description
GET Retrieve a Business Object resource
POST Create a Business Object resource
POST Update a business object resource
GET Retrieve comments from a Business Object
resource. See “xCP Comment single
instance” on page 195.
POST Add comments to a Business Object resource.
See “xCP Comment single instance”
on page 195.
DELETE Delete a Business Object resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The type link relation points to the type definition of the Business Object
resource, through which you can retrieve an “xCP Business Object Single Type”
on page 157.
• Null values are presented as an empty string (“”).
POST
To update a Business Object resource, send a POST request to the edit link relation
of that resource in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/business-objects/<business-object-type>/<objectId>
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation updates all fields specified in the request. However, if the request
body contains a field that is not presented in the corresponding DML type (“xCP
Business Object Single Type” on page 157), the field is ignored.
• Repeating properties are processed as lists. If you update one of the values in the
list, the entire list is updated.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the Business Object
resource, through which you can retrieve a “xCP Business Object Single Type”
on page 157.
• Null values are presented as an empty string (“”).
POST
To create a Business Object resource of a certain type, send a POST request to the
collection of Business Object resources of that type in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/business-objects/<business-object-type>
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation creates a Business Object resource with all fields specified in the
request. However, if the request body contains a field that is not presented in the
corresponding DML type (“xCP Business Object Single Type” on page 157), the
field is ignored.
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the Business Object
resource, through which you can retrieve a “xCP Business Object Single Type”
on page 157.
• Null values are presented as an empty string (“”).
DELETE
To delete a Business Object resource, send a DELETE request to the delete link
relation of the resource with the following pattern:
http://127.0.0.1:8080/<xcp-rest>/business-objects/<business-object-type>/<objectID>
None.
Authorization
None.
None.
HTTP 204 No Content status upon a successful delete operation. The response body
contains no content.
4.20.4 Operations
A Business Object collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of Business Object
instances.
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• permissions
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the Business Object
instance, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.21.3 Operations
A Business Object Type resource supports the following HTTP method:
Method Description
GET Retrieve the type definition of Business
Object instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
{
"name":"business-object-type",
"type":"utapp21_customerrecord",
"label":"CustomerRecord",
"parent":"types/business-objects/xcp_rootsharedbo",
"shareable":"true","properties":
[{
"name":"cust_name",
"label":"cust_name",
"type":"string",
"length":64
},{
"name":"cust_addr",
"label":"cust_addr",
"type":"string",
"length":64,
"repeating":true
},{
"name":"cust_phone",
"label":"cust_phone",
"type":"string",
"length":64
},{
"name":"cust_active",
"label":"cust_active",
"type":"boolean
"},{
"name":"cust_rating",
"label":"cust_rating",
"type":"float"
},{
"name":"cust_enrolldate",
"label":"cust_enrolldate",
"type":"datetime"
},{
"name":"cust_brokerage",
"label":"cust_brokerage",
"type":"integer"
}],
"links":
[{"rel":"self",
"href":"types/business-objects/utapp21_customerrecord"
},{
"rel":"http://identifiers.emc.com/linkrel/instances",
"href":"business-objects/utapp21_customerrecord"
},{
"rel":"http://identifiers.emc.com/linkrel/defaults",
"href":"types/business-objects/utapp21_customerrecord/defaults"
},{
"rel":"type"
},{
"rel":"edit"
},{
"rel":"canonical"
},{
"rel":"http://identifiers.emc.com/linkrel/delete"
},{
"rel":"http://identifiers.emc.com/linkrel/relations"
},{
"rel":"http://identifiers.emc.com/linkrel/lightweight-objects"
},{
"rel":"http://identifiers.emc.com/linkrel/add-lightweight-objects"
}]}
4.22.4 Operations
A Business Object Type collection resource supports the following HTTP method:
Method Description
GET Retrieve a collection of type definitions for
Business Object instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Business Object instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
A Cabinet object extends from dm_folder. Any object that extends from dm_
sysobject are stored in cabinets. A cabinet cannot be placed inside another cabinet
or a folder. Super user privileges are required to create or remove a cabinet. Any
user who has the Write permission to a cabinet can modify the properties of the
cabinet.
http://identifiers.emc.com/linkrel/
4.23.3 Operations
A Cabinet resource supports the following HTTP methods:
Method Description
GET Retrieve a Cabinet resource
GET Retrieve the objects in a Cabinet resource
POST Create a Cabinet resource
POST Update a Cabinet resource
DELETE Delete a Cabinet resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The type link relation points to the type definition of the Cabinet resource,
through which you can retrieve an “xCP Cabinet Single Type” on page 176.
• Null values are presented as an empty string (“”).
GET
To get objects in a Cabinet resource, send a GET request to the object link relation
of the Cabinet resource in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/processes/<process-system-name>/<cabinet-id>/
objects
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
POST
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation updates all fields specified in the request. However, if the request
body contains a field that is not presented in the corresponding DML type (“xCP
Cabinet Single Type” on page 176), the field is ignored.
• Repeating properties are processed as lists. If you update one of the values in the
list, the entire list is updated.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
"properties": {
"single_attr_string": "emc",
}
}
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the Cabinet resource,
through which you can retrieve a “xCP Cabinet Single Type” on page 176.
POST
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation updates all fields specified in the request. However, if the request
body contains a field that is not presented in the corresponding DML type (“xCP
Cabinet Single Type” on page 176), the field is ignored.
• Repeating properties are processed as lists. If you update one of the values in the
list, the entire list is updated.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the Cabinet resource,
through which you can retrieve a “xCP Cabinet Single Type” on page 176.
• Null values are presented as an empty string (“”).
DELETE
None.
Authorization
None.
None.
HTTP 204 No Content status upon a successful delete operation. The response body
contains no content.
4.24.4 Operations
A Cabinet collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of Cabinet instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• permissions
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the Cabinet instance,
depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.25.3 Operations
A Cabinet Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of Cabinet
instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.26.4 Operations
A Cabinet Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Cabinet instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Cabinet instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.27.3 Operations
A checklist resource supports the following HTTP methods.
Method Description
GET Retrieve a checklist resource
POST Create a checklist resource
POST Update a checklist resource
DELETE Delete a checklist resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The type link relation points to the type definition of the checklist resource,
through which you can retrieve an “xCP Checklist Single Type” on page 189.
• Null values are presented as an empty string (“”).
POST
To update a checklist resource, send a POST request to the edit link relation of that
resource in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/checklist/casenodes/<casenode-type>/<casenode-id>/
checklist/<checklist-type>/<checlist-id>
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation updates all fields specified in the request. However, if the request
body contains a field that is not presented in the corresponding DML type (“xCP
Checklist Single Type” on page 189), the field is ignored.
• Repeating properties are processed as lists. If you update one of the values in the
list, the entire list is updated.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the checklist resource,
through which you can retrieve a “xCP Checklist Single Type” on page 189.
• Null values are presented as an empty string (“”).
POST
To create a checklist resource of a certain type, send a POST request to the collection
of checklist resources of that type in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/casenode/<casenode-type>/<casenode-id>/checklist/
<checklist-type>
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation creates a checklist resource with all fields specified in the request.
However, if the request body contains a field that is not presented in the
corresponding DML type (“xCP Checklist Single Type” on page 189), the field is
ignored.
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the checklist resource,
through which you can retrieve a “xCP Checklist Single Type” on page 189.
• Null values are presented as an empty string (“”).
DELETE
To delete a checklist resource, send a DELETE request to the delete link relation of
the resource with the following pattern:
http://127.0.0.1:8080/<rest-app-name>/casenode/<casenode-type>/<casenode-id>/checklist/
<checklist-type/<checklist-id>
None.
Authorization
None.
None.
HTTP 204 No Content status upon a successful delete operation. The response body
contains no content.
4.28.3 Operations
A checklist Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of checklist
instances.
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
204 - No Content
{
"name":"checklist-type",
"type":"utapp21_customerrecord",
"label":"CustomerRecord",
"parent":"types/checklist/xcp_rootsharedbo",
"shareable":"true","properties":
[{
"name":"cust_name",
"label":"cust_name",
"type":"string",
"length":64
},{
"name":"cust_addr",
"label":"cust_addr",
"type":"string",
"length":64,
"repeating":true
},{
"name":"cust_phone",
"label":"cust_phone",
"type":"string",
"length":64
},{
"name":"cust_active",
"label":"cust_active",
"type":"boolean
"},{
"name":"cust_rating",
"label":"cust_rating",
"type":"float"
},{
"name":"cust_enrolldate",
"label":"cust_enrolldate",
"type":"datetime"
},{
"name":"cust_brokerage",
"label":"cust_brokerage",
"type":"integer"
}],
"links":
[{"rel":"self",
"href":"types/checklist/utapp21_customerrecord"
},{
"rel":"http://identifiers.emc.com/linkrel/instances",
"href":"checklist/utapp21_customerrecord"
},{
"rel":"http://identifiers.emc.com/linkrel/defaults",
"href":"types/business-objects/utapp21_customerrecord/defaults"
},{
"rel":"type"
},{
"rel":"edit"
},{
"rel":"canonical"
},{
"rel":"http://identifiers.emc.com/linkrel/delete"
},{
"rel":"http://identifiers.emc.com/linkrel/relations"
},{
"rel":"http://identifiers.emc.com/linkrel/lightweight-objects"
},{
"rel":"http://identifiers.emc.com/linkrel/add-lightweight-objects"
}]}
4.29.4 Operations
A checklist Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
checklist instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
checklist instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
/business-objects/business-object-type/business-object-id/comments/
comment-id
/contents/content-type/content-id/comments/comment-id
/folders/folder-type/folder-id/comments/comment-id
http://identifiers.emc.com/linkrel/
4.30.3 Operations
A Comment resource supports the following HTTP methods.
Method Description
GET Retrieve a Comment resource
POST Update a Comment resource
POST Create a Comment resource
DELETE Delete a Comment resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The type link relation points to the type definition of the Comment resource,
through which you can retrieve an “xCP Comment Single Type” on page 207.
POST
To update a Comment resource, send a POST request to the edit link relation of the
resource in one of the following patterns:
• http://127.0.0.1:8080/<xcp-rest>/business-objects/<business-object-type>/<objectID>/
comments/<comment-objectID>
• http://127.0.0.1:8080/<xcp-rest>/contents/<content-type>/<objectID>/
comments/<comment-objectID>
• http://127.0.0.1:8080/<xcp-rest>/folders/<folder-type>/<objectID>/
comments/<comment-objectID>
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation updates all fields specified in the request. However, if the request
body contains a field that is not presented in the corresponding DML type (“xCP
Comment Single Type” on page 207), the field is ignored.
• Repeating properties are processed as lists. If you update one of the values in the
list, the entire list is updated.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the Comment resource,
through which you can retrieve a “xCP Comment Single Type” on page 207.
POST
• http://127.0.0.1:8080/<xcp-rest>/business-objects/<business-object-type>/<objectID>/
comments
• http://127.0.0.1:8080/<xcp-rest>/contents/<content-type>/<objectID>/
comments
• http://127.0.0.1:8080/<xcp-rest>/folders/<folder-type>/<objectID>/
comments
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation creates a Comment resource with all fields specified in the
request. However, if the request body contains a field that is not presented in the
corresponding DML type (“xCP Comment Single Type” on page 207), the field is
ignored.
• Unspecified fields are set the default values in Documentum Server.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the Comment resource,
through which you can retrieve a “xCP Comment Single Type” on page 207.
• Null values are presented as an empty string (“”).
DELETE
To delete a Comment resource, send a DELETE request to the delete link relation of
the resource with one of the following patterns:
• http://127.0.0.1:8080/<xcp-rest>/business-objects/<business-object-type>/<objectID>/
comments/<comment-objectID>
• http://127.0.0.1:8080/<xcp-rest>/contents/<content-type>/<objectID>/
comments/<comment-objectID>
• http://127.0.0.1:8080/<xcp-rest>/folders/<folder-type>/<objectID>/
comments/<comment-objectID>
None.
Authorization
None.
None.
HTTP 204 No Content status upon a successful delete operation. The response body
contains no content.
/business-objects/business-object-type/business-object-id/comments
/contents/content-type/content-id/comments
/folders/folder-type/folder-id/comments
4.31.4 Operations
A Comment collection resource supports the following HTTP method:
Method Description
GET Retrieve a collection of Comment instances.
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the Comment instance,
depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.32.3 Operations
A Comment Type resource supports the following HTTP method:
Method Description
GET Retrieve the type definition of Comment
instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.33.4 Operations
A Comment Type collection resource supports the following HTTP method:
Method Description
GET Retrieve a collection of type definitions for
Comment instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Comment instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.34.3 Operations
A Content resource supports the following HTTP methods:
Method Description
GET Retrieve a Content resource
POST Update a Content resource
DELETE Delete a Content resource
POST Check out a Content resource
POST Check in a Content resource
POST Import a new version to a Content resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The type link relation points to the type definition of the Content resource,
through which you can retrieve an “xCP Content Single Type” on page 230.
• Null values are presented as an empty string (“”).
POST
To update the current version of a Content resource, send a POST request to the
edit link relation of the resource with the following pattern:
http://127.0.0.1:8080/<rest-app-name>/contents/<content-type>/<objectID>
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation updates all fields specified in the request. However, if the request
body contains a field that is not presented in the corresponding DML type (“xCP
Content Single Type” on page 230), the field is ignored.
• Repeating properties are processed as lists. If you update one of the values in the
list, the entire list is updated.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the Content resource,
through which you can retrieve a “xCP Content Single Type” on page 230.
• Null values are presented as an empty string (“”).
DELETE
To delete a Content resource, send a DELETE request to the delete link relation of
the resource with the following pattern:
http://127.0.0.1:8080/<rest-app-name>/contents/<content-type>/<objectID>
None.
Authorization
None.
None.
HTTP 204 No Content status upon a successful delete operation. The response body
contains no content.
POST
To check out a Content resource, send a POST request to the checkout link relation
of the resource with the following pattern:
http://127.0.0.1:8080/<rest-app-name>/contents/<content-type>/<objectID>/lock
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation updates all fields specified in the request. However, if the request
body contains a field that is not presented in the corresponding DML type (“xCP
Content Single Type” on page 230), the field is ignored.
• Repeating properties are processed as lists. If you update one of the values in the
list, the entire list is updated.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the Content resource,
through which you can retrieve a “xCP Content Single Type” on page 230.
• Null values are presented as an empty string (“”).
• checkin-current-version
• checkin-next-major
• checkin-next-minor
Notes
• The request body must contain a reference to the content you uploaded by
using the “xCP File Upload Resource” on page 238 resource. To do this,
specify the full or relative URI of the uploaded content in source.
POST
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• Accept
• Authorization
• Content-Type
The request body contains a reference to the file you uploaded by using the “xCP
File Upload Resource” on page 238 resource and the metadata of the Content
resource.
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
XML or JSON representation of the Content resource that you check in:
• The type link relation points to the type definition of the Content resource,
through which you can retrieve a “xCP Content Single Type” on page 230.
• Null values are presented as an empty string (“”).
4.35.4 Operations
A Content collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of Content instances.
POST Create a Content instance.
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• permissions
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the Content instance,
depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
To create a Content resource of a certain type from scratch, follow these steps:
Notes
• The request body must contain a reference to the content you uploaded by
using the “xCP File Upload Resource” on page 238 resource. To do this,
specify the full or relative URI of the uploaded content in source.
{
"properties": {
"source":"/files/680884ca-c104-4513-afde-aedc686ff3c3"
}
}
• Alternatively, you can create the Content resource under a specified folder
by sending the POST request to the objects link relation of the Folder
resource in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/folders/<folder-type>/<foder-id>/objects
POST
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• A reference to the file you uploaded by using the “xCP File Upload Resource”
on page 238 resource or a reference to a Template resource (“xCP Template
Single instance” on page 508)
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
409 - Conflict
• The type link relation points to the type definition of the Content resource,
through which you can retrieve a “xCP Content Single Type” on page 230.
• Null values are presented as an empty string (“”).
http://identifiers.emc.com/linkrel/
4.36.3 Operations
A Content Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of Content
instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.37.4 Operations
A Content Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Content instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Content instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.38.3 Operations
A Current User resource supports the following HTTP method.
Method Description
GET Retrieve a Current User resource.
GET Retrieve preferences from a Current User
resource. See “xCP user preference single
instance” on page 519.
GET Retrieve application roles to which a current
user belongs. See “xCP Member collection”
on page 361.
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The type link relation points to the type definition of the Current User resource,
through which you can retrieve an “xCP Member Single Type” on page 369.
• Null values are presented as an empty string (“”).
4.39.3 Operations
A File Upload resource supports the following HTTP method.
Method Description
POST Upload a file to a temporary folder
POST
None.
• Accept
• Authorization
This operation requires a multipart request. The file content is included in the
request body.
http://127.0.0.1:8000/xCP-App/files
Content-Type: multipart/form-data; boundary=314159265358979
--314159265358979
Content-Disposition: form-data; name=metadata
Content-Type: application/vnd.emc.documentum+json
{"properties": {"object_name": "xcp-rest"}}
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
This is the content
--314159265358979--
var dataToAdd = {
"properties": {
"object_name":files[0].name
},
"source":"/files/680884ca-c104-4513-afde-aedc686ff3c3"
};
• Location
multipart/form-data
This operation returns the Location header which indicates the URI of the file
uploaded. For example:
/files/680884ca-c104-4513-afde-aedc686ff3c3
• The file is renamed with the UUID (in the preceding example, 680884ca-
c104-4513-afde-aedc686ff3c3) to avoid collisions with other users that
upload files with the same name.
• A property file is created with the UUID as the file name (in the preceding
example, 680884ca-c104-4513-afde-aedc686ff3c3.properties). This
property file records the original file name and the user who uploads the content
file.
Note: The newly-uploaded file is only visible to the use who uploads it.
In addition to the Location header, this operation also returns a feed response, which
is designed for clients that are unable to read the headers. These clients can obtain
the location of the newly-uploaded file from the id property in entries.
{
"id": "files",
"title": "",
"updated": "2013-10-15T14:20:00.168-07:00",
"author": "OpenText Documentum",
"links": [{
"rel": "self",
"href": "files"
}],
"entries": [{
"id": "files/680884ca-c104-4513-afde-aedc686ff3c3",
"title": "dfc.properties",
"updated": "2013-10-15T14:20:00.168-07:00",
"summary": "dfc.properties",
"content": {
"src": "files/680884ca-c104-4513-afde-aedc686ff3c3",
"content-type": "application/vnd.emc.xcp+json"
},
"links": [{
"rel": "edit",
"href": "files/680884ca-c104-4513-afde-aedc686ff3c3"
}]
}]
}
http://identifiers.emc.com/linkrel/
4.40.3 Operations
A Folder resource supports the following HTTP methods.
Method Description
GET Retrieve a Folder resource
GET Retrieve the objects in a Folder resource
POST Update a Folder resource
POST Create a Folder resource
POST Copy a document to a Folder resource
POST Move a document to a Folder resource
DELETE Delete a Folder resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The type link relation points to the type definition of the Folder resource,
through which you can retrieve an “xCP Folder Single Type” on page 254.
• Null values are presented as an empty string (“”).
POST
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation updates all fields specified in the request. However, if the request
body contains a field that is not presented in the corresponding DML type (“xCP
Folder Single Type” on page 254), the field is ignored.
• Repeating properties are processed as lists. If you update one of the values in the
list, the entire list is updated.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the Folder resource,
through which you can retrieve a “xCP Folder Single Type” on page 254.
• Null values are presented as an empty string (“”).
POST
To create a Folder resource of a certain type, send a POST request to the collection of
Folder resources of that type in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/folders/<folder-type>
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• The request body must contain the object_name of the folder. A minimal request
body resembles the following samples:
• If a folder with the same name exists in the same location, the request fails.
• This operation creates a Folder resource with all fields specified in the request.
However, if the request body contains a field that is not presented in the
corresponding DML type (“xCP Folder Single Type” on page 254), the field is
ignored.
• Unspecified fields are set the default values in Documentum Server.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
409 - Conflict
• The type link relation points to the type definition of the Folder resource,
through which you can retrieve a “xCP Folder Single Type” on page 254.
POST
To copy a Content instance to a Folder instance, send a POST request to the objects
link relation of the Folder instance in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/folders/<folder-type>/<folder-type-id>/objects
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
For example:
{
"href":"/contents/contents/dm_document/0900492d80012f02"
}
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
XML or JSON representation of the Folder resource. You can find the copied Content
instance by accessing the objects link relation of the Folder instance. The copied
Content instance (2901492f80012f44) is listed under the entries section as shown
in the following example.
entries:
{
id: "contents/dm_document/2901492f80012f44"
title: "utapp21_folder_all_attrs-child-26950"
updated: "2014-02-07T12:28:06.000+08:00"
summary: "dm_bpm_XCPAutoTaskMgmt1"
content: {
src: "contents/dm_document/2901492f80012f44"
content-type: "application/vnd.emc.xcp+json"
}
links:
{
rel: "edit"
href: "contents/dm_document/2901492f80012f44"
}
}
{
id: "contents/dm_document/0900492d80012f02"
title: "12/19/2013 11:25:13 AM dm_bpm_XCPAutoTaskMgmt"
updated: "2013-12-19T12:02:43.000+08:00"
summary: "dm_bpm_XCPAutoTaskMgmt2"
content:
{
src: "contents/dm_document/0900492d80012f02"
content-type: "application/vnd.emc.xcp+json"
}
links:
{
rel: "edit"
href: "contents/dm_document/0900492d80012f02"
}
}
}
POST
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
{
"source":"/folders/<folder-type>/<folder-id>",
"href":"/contents/<content-type>/<content-id>"
}
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
XML or JSON representation of the Folder resource. You can find the moved
Content instance by accessing the objects link relation of the Folder instance. The
moved Content instance is listed under the entries section as shown in the example
Example 4-22, “Objects in Folder” on page 250.
DELETE
To delete a Folder resource, send a DELETE request to the delete link relation of
the resource with the following pattern:
http://127.0.0.1:8080/<xcp-rest-app>/folders/<folder-type>/<folder-id>
None.
Authorization
None.
None.
HTTP 204 No Content status upon a successful delete operation. The response body
contains no content.
http://identifiers.emc.com/linkrel/
4.41.3 Operations
A Folder Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of Folder
instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.42.4 Operations
A Folder Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Folder instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Folder instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.opentext.com/linkrel/
4.43.3 Operations
A case node resource supports the following HTTP methods.
Method Description
GET Retrieve a case node resource
GET Retrieve the objects in a case node resource
POST Update a case node resource
POST Create a case node resource
POST Copy a document to a case node resource
POST Move a document to a case node resource
DELETE Delete a case node resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
204 - No Content
• The type link relation points to the type definition of the case node resource,
through which you can retrieve an “xCP Case Node Single Type” on page 271.
• Null values are presented as an empty string (“”).
POST
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation updates all fields specified in the request. However, if the request
body contains a field that is not presented in the corresponding DML type (“xCP
Case Node Single Type” on page 271), the field is ignored.
• Repeating properties are processed as lists. If you update one of the values in the
list, the entire list is updated.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the case node resource,
through which you can retrieve a “xCP Case Node Single Type” on page 271.
• Null values are presented as an empty string (“”).
POST
To create a case node resource of a certain type, send a POST request to the
collection of case node resources of that type in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/casenodes/<casenode-type>
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• The request body must contain the object_name of the case node. A minimal
request body resembles the following samples:
• If a case node with the same name exists in the same location, the request fails.
• This operation creates a case node resource with all fields specified in the
request. However, if the request body contains a field that is not presented in the
corresponding DML type (“xCP Case Node Single Type” on page 271), the field
is ignored.
• Unspecified fields are set the default values in Documentum Server.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the case node resource,
through which you can retrieve a “xCP Case Node Single Type” on page 271.
• Null values are presented as an empty string (“”).
Note: A case node can only have case data node instances.
POST
To copy a case data node instance to a case node instance, send a POST request to
the objects link relation of the case node instance in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/casenodes/<casenode-type>/<casenode-type-id>/
objects
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
For example:
{
"href":"/casedatanodes/loan_property/dm_document/0900492d80012f02"
}
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
XML or JSON representation of the case node resource. You can find the copied case
data node instance by accessing the objects link relation of the case node instance.
The copied case data node instance (2901492f80012f44) is listed under the entries
section.
POST
To move a case data node instance to a case node instance, send a POST request to
the objects link relation of the case node instance in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/casenodes/<casenode-type>/<casenode-id>/objects
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
{
"source":"/casenodes/<casenode-type>/<casenode-id>",
"href":"/casenodes/<casenode-type>/<casenode-id>"
}
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
XML or JSON representation of the case node resource. You can find the moved case
data node instance by accessing the objects link relation of the case node instance.
The moved case data node instance is listed under the entries section as shown in
the example Example 4-22, “Objects in Folder” on page 250.
DELETE
To delete a case node resource, send a DELETE request to the delete link relation of
the resource with the following pattern:
http://127.0.0.1:8080/<xcp-rest-app>/casenodes/<casenode-type>/<casenode-id>
None.
Authorization
None.
None.
HTTP 204 No Content status upon a successful delete operation. The response body
contains no content.
http://identifiers.emc.com/linkrel/
4.44.3 Operations
A Case Node Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of case node
instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
204 - No Content
XML or JSON representation of the type definition of case node instances. The
instances link relation points to a collection of case node instances, through which
you can retrieve an “xCP Case Node Type collection” on page 274.
4.45.4 Operations
A Case Node Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
case node instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for case
node instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.46.3 Operations
A case data node resource supports the following HTTP methods.
Method Description
GET Retrieve a case data node resource
GET Retrieve the objects in a case data node
resource
POST Update a case data node resource
POST Create a case data node resource
POST Copy a document to a case data node
resource
POST Move a document to a case data node
resource
DELETE Delete a case data node resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The type link relation points to the type definition of the case data node
resource, through which you can retrieve an “xCP Case Data Node Single Type”
on page 289.
• Null values are presented as an empty string (“”).
POST
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation updates all fields specified in the request. However, if the request
body contains a field that is not presented in the corresponding DML type (“xCP
Case Data Node Single Type” on page 289), the field is ignored.
• Repeating properties are processed as lists. If you update one of the values in the
list, the entire list is updated.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the case data node
resource, through which you can retrieve a “xCP Case Data Node Single Type”
on page 289.
• Null values are presented as an empty string (“”).
POST
To create a case data node resource of a certain type, send a POST request to the
collection of case data node resources of that type in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/casedatanodes/<casedatanode-type>
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• The request body must contain the object_name of the case data node. A
minimal request body resembles the following samples:
}
}
• If a case data node with the same name exists in the same location, the request
fails.
• This operation creates a case data node resource with all fields specified in the
request. However, if the request body contains a field that is not presented in the
corresponding DML type (“xCP Case Data Node Single Type” on page 289), the
field is ignored.
• Unspecified fields are set the default values in Documentum Server.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the case data node
resource, through which you can retrieve a “xCP Case Data Node Single Type”
on page 289.
• Null values are presented as an empty string (“”).
Note: A case data node can only have case data node instances.
POST
To copy a case data node instance to a case data node instance, send a POST request
to the objects link relation of the case data node instance in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/casedatanodes/<casedatanode-type>/<casedatanode-
type-id>/objects
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
For example:
{
"href":"/casedatanodes/loan_property/dm_document/0900492d80012f02"
}
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
409 - Conflict
XML or JSON representation of the case data node resource. You can find the copied
case data node instance by accessing the objects link relation of the case data node
instance. The copied case data node instance (2901492f80012f44) is listed under the
entries section.
POST
To move a case data node instance to a case node instance, send a POST request to
the objects link relation of the case data node instance in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/casedatanodes/<casedatanode-type>/<casedatanode-
id>/objects
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
{
"source":"/casedatanodes/<casedatanode-type>/<casedatanode-id>",
"href":"/casedatanodes/<casedatanode-type>/<casedatanode-id>"
}
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
409 - Conflict
XML or JSON representation of the case data node resource. You can find the moved
case data node instance by accessing the objects link relation of the case node
instance. The moved case data node instance is listed under the entries section as
shown in the example Example 4-22, “Objects in Folder” on page 250.
DELETE
To delete a case data node resource, send a DELETE request to the delete link
relation of the resource with the following pattern:
http://127.0.0.1:8080/<xcp-rest-app>/casedatanodes/<casedatanode-type>/<casedatanode-id>
None.
Authorization
None.
None.
HTTP 204 No Content status upon a successful delete operation. The response body
contains no content.
http://identifiers.emc.com/linkrel/
4.47.3 Operations
A Case Node Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of case node
instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
XML or JSON representation of the type definition of case data node instances. The
instances link relation points to a collection of case data node instances, through
which you can retrieve an “xCP Folder Type collection” on page 256.
4.48.4 Operations
A Case Data Node Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
case data node instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
XML or JSON representation of a collection of type definitions for case data node
instances.
• Each instance may contain all or a set of properties of the type definitions for case
data node instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.49.3 Operations
A Format resource supports the following HTTP methods.
Method Description
GET Retrieve a Format resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The type link relation points to the type definition of the Format resource,
through which you can retrieve an “xCP Format Single Type” on page 300.
• Null values are presented as an empty string (“”).
4.50.4 Operations
A Format collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of Format instances.
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the Format instance,
depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.51.3 Operations
A Format Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of Format
instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
204 - No Content
4.52.4 Operations
A Format Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Format instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Format instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
In xCP Designer, you can specify the types of persistent objects to which fragments
of a certain type can be attached. In xCP REST services, this setting is indicated in
the eligibility section of the type definition for fragments. “xCP Fragment Single
Type” on page 310 provides more information about fragments type definition.
4.53.3 Operations
A Fragment resource supports the following HTTP methods.
Method Description
GET Retrieve a Fragment instance
POST Attach an aspect (Fragment instance) to a
persistent object
GET
• view
• links
• Accept
• Authorization
None.
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The type link relation points to the type definition of the Fragment instance,
through which you can retrieve an “xCP Fragment Single Type” on page 310.
• Null values are presented as an empty string (“”).
"href": "types/fragments/o18_aspect1"},
{"rel": "self",
"href": "types/fragments/o18_aspect1/defaults"}
]
}
POST
For example:
http://127.0.0.1:8080/xcp-rest/business-objects/o18_bo1/0800492d8001d71b
Note: The type of the Fragment instance must be associated with the type of
persistent object. For more information about this association, see “xCP
Fragment Single Type” on page 310 and the subsection Fragments in “xCP
common elements” on page 79.
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
XML or JSON representation of the persistent object with the aspect to attach
presented in the fragments section. In the following example, the fragment named
utapp21_aspect_all_attrs is attached to a business object of the type utapp21_
bo_with_aspect.
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
XML or JSON representation of the persistent object with the newly-attached aspect
presented in the fragments section.
4.54.3 Operations
A Fragment Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of Fragment
instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• utapp21_bo_with_aspect
• utapp21_content_with_aspect
• utapp21_folder_with_aspect
repeating="true" type="string"/>
<property label="New Integer Rep" name="new_integer_rep" type="integer"/>
<property label="New Float Rep" name="new_float_rep" repeating="true"
type="float"/>
<property label="New Boolean Rep" name="new_boolean_rep" repeating="true"
type="boolean"/>
<property label="New Date-time Rep" name="new_date_time_rep" repeating="true"
type="datetime"/>
</properties>
<eligibility>
<type href="${contextPath}types/business-objects/utapp21_bo_with_aspect"/>
<type href="${contextPath}types/contents/utapp21_content_with_aspect"/>
<type href="${contextPath}types/folders/utapp21_folder_with_aspect"/>
</eligibility>
<links>
<link href="${contextPath}types/fragments/utapp21_aspect_all_attrs"
rel="self"/>
<link rel="type"/>
</links>
</fragment-type>
4.55.4 Operations
A Fragment Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Fragment instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Fragment instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
4.56.3 Operations
A Full-Text Query resource supports the following HTTP method.
Method Description
GET Retrieve the results of a full-text query
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
A Full-Text Query resource does not support sort on multiple attributes,
meaning that you can specify at most one attribute as the sort criterion when
performing a query.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
XML or JSON representation of the query results. The results are presented using
Atom Feed in XML representation or using EDAA collection in JSON representation.
By default, this operation only returns basic properties of each result. You can get a
single instance by accessing the src link in the corresponding entry. To obtain a full
representation of each result, set the inline parameter to true.
<dm:facets>
<dm:facet name="publish_date">
<dm:value name="TODAY" count="0"/>
<dm:constraint>2014-01-23T00:00:00.000\+0000/2014-01-24T00:00:00.000\
+0000</dm:constraint>
<dm:value name="YESTERDAY" count="0"/>
<dm:constraint>2014-01-22T00:00:00.000\+0000/2014-01-23T00:00:00.000\
+0000</dm:constraint>
<dm:value name="THIS_WEEK" count="0"/>
<dm:constraint>2014-01-20T00:00:00.000\+0000/2014-01-27T00:00:00.000\
+0000</dm:constraint>
<dm:value name="THIS_MONTH" count="0"/>
<dm:constraint>2014-01-01T00:00:00.000\+0000/2014-02-01T00:00:00.000\
+0000</dm:constraint>
<dm:value name="LAST_MONTH" count="0"/>
<dm:constraint>2013-12-01T00:00:00.000\+0000/2014-01-01T00:00:00.000\
+0000</dm:constraint>
<dm:value name="THIS_YEAR" count="0"/>
<dm:constraint>2014-01-01T00:00:00.000\+0000/2015-01-01T00:00:00.000\
+0000</dm:constraint>
<dm:value name="LAST_YEAR" count="0"/>
<dm:constraint>2013-01-01T00:00:00.000\+0000/2014-01-01T00:00:00.000\
+0000</dm:constraint>
<dm:value name="OLDER" count="0"/>
<dm:constraint>/2013-01-01T00:00:00.000\+0000</dm:constraint>
</dm:facet>
<dm:facet name="created_on">
<dm:value name="TODAY" count="3"/>
<dm:constraint>2014-01-23T00:00:00.000\+0000/2014-01-24T00:00:00.000\
+0000</dm:constraint>
<dm:value name="YESTERDAY" count="0"/>
<dm:constraint>2014-01-22T00:00:00.000\+0000/2014-01-23T00:00:00.000\
+0000</dm:constraint>
<dm:value name="THIS_WEEK" count="3"/>
<dm:constraint>2014-01-20T00:00:00.000\+0000/2014-01-27T00:00:00.000\
+0000</dm:constraint>
<dm:value name="THIS_MONTH" count="3"/>
<dm:constraint>2014-01-01T00:00:00.000\+0000/2014-02-01T00:00:00.000\
+0000</dm:constraint>
<dm:value name="LAST_MONTH" count="0"/>
<dm:constraint>2013-12-01T00:00:00.000\+0000/2014-01-01T00:00:00.000\
+0000</dm:constraint>
<dm:value name="THIS_YEAR" count="3"/>
<dm:constraint>2014-01-01T00:00:00.000\+0000/2015-01-01T00:00:00.000\
+0000</dm:constraint>
<dm:value name="LAST_YEAR" count="0"/>
<dm:constraint>2013-01-01T00:00:00.000\+0000/2014-01-01T00:00:00.000\
+0000</dm:constraint>
<dm:value name="OLDER" count="0"/>
<dm:constraint>/2013-01-01T00:00:00.000\+0000</dm:constraint>
</dm:facet>
<dm:facet name="book_status">
<dm:value name="available" count="3"/>
<dm:constraint>available</dm:constraint>
</dm:facet>
<dm:facet name="averagerate">
<dm:value name="0" count="1"/>
<dm:constraint>0</dm:constraint>
<dm:value name="8.80000019073486" count="1"/>
<dm:constraint>8.80000019073486</dm:constraint>
<dm:value name="9.10000038146973" count="1"/>
<dm:constraint>9.10000038146973</dm:constraint>
</dm:facet>
<dm:facet name="book_authors">
<dm:value name="Bruce Eckel" count="1"/>
<dm:constraint>Bruce Eckel</dm:constraint>
<dm:value name="David Flanagan" count="1"/>
<dm:constraint>David Flanagan</dm:constraint>
<dm:value name="Lessing, Gotthold Ephraim; Heine, Heinrich;
Marlowe, Christopher" count="1"/>
<dm:r_object_type>iigbook_book</dm:r_object_type>
<dm:summary>Thinking in Java Thinking in Java</dm:summary>
<dm:averagerate>8.80000019073486</dm:averagerate>
<dm:owner_name>xcp21H2wk2</dm:owner_name>
<dm:douban_id>1474824</dm:douban_id>
<dm:price>USD 69.99</dm:price>
<dm:book_authors>
<dm:item>Bruce Eckel</dm:item>
</dm:book_authors>
<dm:id>0901e24080019b2b</dm:id>
<dm:translator>
<dm:item/>
</dm:translator>
<dm:isbn13>9780131872486</dm:isbn13>
<dm:borrow_times>0</dm:borrow_times>
<dm:page>1150</dm:page>
<dm:image_url>http://img5.douban.com/mpic
/s4243918.jpg</dm:image_url>
<dm:isbn10>0131872486</dm:isbn10>
<dm:book_status>available</dm:book_status>
<dm:object_name>Thinking in Java</dm:object_name>
<dm:authors>
<dm:item/>
</dm:authors>
</dm:properties>
<dm:links>
<dm:link rel="type" href="types/fulltext-queries/
iigbook_book_ftq"/>
<dm:link rel="http://identifiers.emc.com/linkrel/instances"
href="fulltext-queries/iigbook_book_ftq"/>
<dm:link rel="self" href="fulltext-queries/iigbook_book_ftq/
0901e24080019b2b"/>
</dm:links>
</dm:fulltext-query>
</content>
</entry>
<entry>
<id>fulltext-queries/iigbook_book_ftq/786395505</id>
<title type="text">JavaScript: The Definitive Guide, 5th Edition</title>
<updated>2014-01-23T09:09:45.426Z</updated>
<link href="fulltext-queries/iigbook_book_ftq/786395505" rel="edit"/>
<summary type="text">JavaScript: The Definitive Guide, 5th Edition</summary>
<content type="application/vnd.emc.xcp+xml">
<dm:fulltext-query
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="iigbook_book_ftq"
dm:definition="http://localhost:8000/iigbooks/types/fulltext-queries/
iigbook_book_ftq">
<dm:properties xsi:type="iigbook_book_ftq-properties">
<dm:r_creation_date>2014-01-23T08:57:00.000Z</dm:r_creation_date>
<dm:r_object_type>iigbook_book</dm:r_object_type>
<dm:summary>
JavaScript: The Definitive Guide, 5th Edition
</dm:summary>
<dm:averagerate>9.10000038146973</dm:averagerate>
<dm:owner_name>xcp21H2wk2</dm:owner_name>
<dm:douban_id>1775608</dm:douban_id>
<dm:price>USD 49.99</dm:price>
<dm:book_authors>
<dm:item>David Flanagan</dm:item>
</dm:book_authors>
<dm:id>0901e24080019b2d</dm:id>
<dm:translator>
<dm:item/>
</dm:translator>
<dm:isbn13>9780596101992</dm:isbn13>
<dm:borrow_times>0</dm:borrow_times>
<dm:page>1032</dm:page>
<dm:image_url>http://img5.douban.com/mpic/s4251169.jpg</dm:image_url>
<dm:isbn10>0596101996</dm:isbn10>
<dm:book_status>available</dm:book_status>
<dm:object_name>
JavaScript: The Definitive Guide, 5th Edition
</dm:object_name>
<dm:authors>
<dm:item/>
</dm:authors>
</dm:properties>
<dm:links>
<dm:link rel="type" href="types/fulltext-queries/iigbook_book_ftq"/>
<dm:link rel="http://identifiers.emc.com/linkrel/instances"
href="fulltext-queries/iigbook_book_ftq"/>
<dm:link rel="self" href="fulltext-queries/
iigbook_book_ftq/0901e24080019b2d"/>
</dm:links>
</dm:fulltext-query>
</content>
</entry>
</feed>
"isbn10": "1148737189",
"book_status": "available",
"object_name": "Doktor Faust",
"authors": [
""
]
},
"links": [
{
"rel": "type",
"href": "types/contents/iigbook_book"
},
{
"rel": "version-history",
"href": "contents/iigbook_book/0901e24080019b29/versions"
},
{
"rel": "edit",
"href": "contents/iigbook_book/0901e24080019b29"
},
{
"rel": "self",
"href": "contents/iigbook_book/0901e24080019b29"
},
{
"rel": "http://identifiers.emc.com/linkrel/download-media",
"href": "contents/iigbook_book/0901e24080019b29/media"
},
{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "contents/iigbook_book/0901e24080019b29"
},
{
"rel": "http://identifiers.emc.com/linkrel/checkout",
"href": "contents/iigbook_book/0901e24080019b29/lock"
},
{
"rel": "http://identifiers.emc.com/linkrel/instances",
"href": "contents/iigbook_book"
},
{
"rel": "http://identifiers.emc.com/linkrel/relations",
"href": "relationships/iigbook_book_ticket?
filter=source%3D0901e24080019b29",
"type": "types/relationships/iigbook_book_ticket"
},
{
"rel": "http://identifiers.emc.com/linkrel/comments",
"href": "contents/iigbook_book/0901e24080019b29/comments"
}
],
"content-type": "application/vnd.emc.xcp+json"
}
},
{
"id": "fulltext-queries/iigbook_book_ftq/426111233",
"title": "Thinking in Java",
"updated": "2014-01-23T09:12:07.335Z",
"summary": "Thinking in Java",
"content": {
"name": "fulltext-query",
"type": "iigbook_book_ftq",
"definition": "http://localhost:8000/iigbooks/types/
fulltext-queries/iigbook_book_ftq",
"properties": {
"r_creation_date": "2014-01-23T08:56:40.000Z",
"r_object_type": "iigbook_book",
"summary": "Thinking in Java Thinking in Java",
"averagerate": 8.80000019073486,
"owner_name": "xcp21H2wk2",
"douban_id": "1474824",
"price": "USD 69.99",
"book_authors": [
"Bruce Eckel"
],
"id": "0901e24080019b2b",
"translator": [
""
],
"isbn13": "9780131872486",
"borrow_times": 0,
"page": 1150,
"image_url": "http://img5.douban.com/mpic/s4243918.jpg",
"isbn10": "0131872486",
"book_status": "available",
"object_name": "Thinking in Java",
"authors": [
""
]
},
"links": [
{
"rel": "type",
"href": "types/contents/iigbook_book"
},
{
"rel": "version-history",
"href": "contents/iigbook_book/0901e24080019b2b/versions"
},
{
"rel": "edit",
"href": "contents/iigbook_book/0901e24080019b2b"
},
{
"rel": "self",
"href": "contents/iigbook_book/0901e24080019b2b"
},
{
"rel": "http://identifiers.emc.com/linkrel/download-media",
"href": "contents/iigbook_book/0901e24080019b2b/media"
},
{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "contents/iigbook_book/0901e24080019b2b"
},
{
"rel": "http://identifiers.emc.com/linkrel/checkout",
"href": "contents/iigbook_book/0901e24080019b2b/lock"
},
{
"rel": "http://identifiers.emc.com/linkrel/instances",
"href": "contents/iigbook_book"
},
{
"rel": "http://identifiers.emc.com/linkrel/relations",
"href": "relationships/iigbook_book_ticket?
filter=source%3D0901e24080019b2b",
"type": "types/relationships/iigbook_book_ticket"
},
{
"rel": "http://identifiers.emc.com/linkrel/comments",
"href": "contents/iigbook_book/0901e24080019b2b/comments"
}
],
"content-type": "application/vnd.emc.xcp+json"
}
},
{
"id": "fulltext-queries/iigbook_book_ftq/315523436",
"title": "JavaScript: The Definitive Guide, 5th Edition",
"updated": "2014-01-23T09:12:07.337Z",
"summary": "JavaScript: The Definitive Guide, 5th Edition",
"content": {
"name": "fulltext-query",
"type": "iigbook_book_ftq",
"definition": "http://localhost:8000/iigbooks/types/
fulltext-queries/iigbook_book_ftq",
"properties": {
"r_creation_date": "2014-01-23T08:57:00.000Z",
"r_object_type": "iigbook_book",
"summary": "JavaScript: The Definitive Guide, 5th Edition",
"averagerate": 9.10000038146973,
"owner_name": "xcp21H2wk2",
"douban_id": "1775608",
"price": "USD 49.99",
"book_authors": [
"David Flanagan"
],
"id": "0901e24080019b2d",
"translator": [
""
],
"isbn13": "9780596101992",
"borrow_times": 0,
"page": 1032,
"image_url": "http://img5.douban.com/mpic/s4251169.jpg",
"isbn10": "0596101996",
"book_status": "available",
"object_name": "JavaScript: The Definitive Guide, 5th Edition",
"authors": [
""
]
},
"links": [
{
"rel": "type",
"href": "types/contents/iigbook_book"
},
{
"rel": "version-history",
"href": "contents/iigbook_book/0901e24080019b2d/versions"
},
{
"rel": "edit",
"href": "contents/iigbook_book/0901e24080019b2d"
},
{
"rel": "self",
"href": "contents/iigbook_book/0901e24080019b2d"
},
{
"rel": "http://identifiers.emc.com/linkrel/download-media",
"href": "contents/iigbook_book/0901e24080019b2d/media"
},
{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "contents/iigbook_book/0901e24080019b2d"
},
{
"rel": "http://identifiers.emc.com/linkrel/checkout",
"href": "contents/iigbook_book/0901e24080019b2d/lock"
},
{
"rel": "http://identifiers.emc.com/linkrel/instances",
"href": "contents/iigbook_book"
},
{
"rel": "http://identifiers.emc.com/linkrel/relations",
"href": "relationships/iigbook_book_ticket?
filter=source%3D0901e24080019b2d",
"type": "types/relationships/iigbook_book_ticket"
},
{
"rel": "http://identifiers.emc.com/linkrel/comments",
"href": "contents/iigbook_book/0901e24080019b2d/comments"
}
],
"content-type": "application/vnd.emc.xcp+json"
}
}
],
"facets": [
{
"name": "publish_date",
"values": [
{
"name": "TODAY",
"count": 0,
"constraint": "2014-01-23T00:00:00.000\\
+0000/2014-01-24T00:00:00.000\\+0000"
},
{
"name": "YESTERDAY",
"count": 0,
"constraint": "2014-01-22T00:00:00.000\\
+0000/2014-01-23T00:00:00.000\\+0000"
},
{
"name": "THIS_WEEK",
"count": 0,
"constraint": "2014-01-20T00:00:00.000\\
+0000/2014-01-27T00:00:00.000\\+0000"
},
{
"name": "THIS_MONTH",
"count": 0,
"constraint": "2014-01-01T00:00:00.000\\
+0000/2014-02-01T00:00:00.000\\+0000"
},
{
"name": "LAST_MONTH",
"count": 0,
"constraint": "2013-12-01T00:00:00.000\\
+0000/2014-01-01T00:00:00.000\\+0000"
},
{
"name": "THIS_YEAR",
"count": 0,
"constraint": "2014-01-01T00:00:00.000\\
+0000/2015-01-01T00:00:00.000\\+0000"
},
{
"name": "LAST_YEAR",
"count": 0,
"constraint": "2013-01-01T00:00:00.000\\
+0000/2014-01-01T00:00:00.000\\+0000"
},
{
"name": "OLDER",
"count": 0,
"constraint": "/2013-01-01T00:00:00.000\\+0000"
}
]
},
{
"name": "created_on",
"values": [
{
"name": "TODAY",
"count": 3,
"constraint": "2014-01-23T00:00:00.000\\
+0000/2014-01-24T00:00:00.000\\+0000"
},
{
"name": "YESTERDAY",
"count": 0,
"constraint": "2014-01-22T00:00:00.000\\
+0000/2014-01-23T00:00:00.000\\+0000"
},
{
"name": "THIS_WEEK",
"count": 3,
"constraint": "2014-01-20T00:00:00.000\\
+0000/2014-01-27T00:00:00.000\\+0000"
},
{
"name": "THIS_MONTH",
"count": 3,
"constraint": "2014-01-01T00:00:00.000\\
+0000/2014-02-01T00:00:00.000\\+0000"
},
{
"name": "LAST_MONTH",
"count": 0,
"constraint": "2013-12-01T00:00:00.000\\
+0000/2014-01-01T00:00:00.000\\+0000"
},
{
"name": "THIS_YEAR",
"count": 3,
"constraint": "2014-01-01T00:00:00.000\\
+0000/2015-01-01T00:00:00.000\\+0000"
},
{
"name": "LAST_YEAR",
"count": 0,
"constraint": "2013-01-01T00:00:00.000\\
+0000/2014-01-01T00:00:00.000\\+0000"
},
{
"name": "OLDER",
"count": 0,
"constraint": "/2013-01-01T00:00:00.000\\+0000"
}
]
},
{
"name": "book_status",
"values": [
{
"name": "available",
"count": 3,
"constraint": "available"
}
]
},
{
"name": "averagerate",
"values": [
{
"name": "0",
"count": 1,
"constraint": "0"
},
{
"name": "8.80000019073486",
"count": 1,
"constraint": "8.80000019073486"
},
{
"name": "9.10000038146973",
"count": 1,
"constraint": "9.10000038146973"
}
]
},
{
"name": "book_authors",
"values": [
{
"name": "Bruce Eckel",
"count": 1,
"constraint": "Bruce Eckel"
},
{
"name": "David Flanagan",
"count": 1,
"constraint": "David Flanagan"
},
{
"name": "Lessing, Gotthold Ephraim; Heine, Heinrich;
Marlowe, Christopher",
"count": 1,
"constraint": "Lessing, Gotthold Ephraim; Heine, Heinrich;
Marlowe, Christopher"
}
]
}
]
}
http://identifiers.emc.com/linkrel/
4.57.3 Operations
A Full-Text Query Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of a full-text
query
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
XML or JSON representation of the type definition of a full-text query. The Type
definition mainly contains the following elements:
Element Description
properties Specifies a set of properties that are
displayed in the output table in xCP.
expression-set Specifies a set of condition constraints with
AND or OR operators.
facets Specifies facets of the query.
sort Specifies sort settings.
options Specifies which version of the result to
return. Valid values are:
• LATEST: Only returns the latest version
of a result
• All: Returns all versions of a result
Note: By default, xCP search uses only the date attribute as an input value for
a Full Text Query (FTQ). You can enable the time element for xCP search using
the query_precision parameter. For more information about how to enable
the time element for xCP search, see Documentum xCP Designer Help.
4.58.4 Operations
A Full-Text Query Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Full-Text Query instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• permissions
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Full-Text Query instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.59.3 Operations
A Historical Query resource supports the following HTTP method.
Method Description
GET Retrieve a Historical Query resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.60.4 Operations
A Historical Query collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of Historical Query
instances.
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the Historical Query
instance, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.61.3 Operations
A Historical Query Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of Historical
Query instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.62.4 Operations
A Historical Query Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Historical Query instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Historical Query instances, depending on the setting of the query parameter
view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
4.63.2 Resources
The following table lists the resources that can be discovered in the xCP Home
Document resource.
http://identifiers.emc.com/linkrel/
4.63.3 Operations
The Home Document resource supports the following HTTP method.
Method Description
GET Retrieve the Home Document resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
{
"resources": {
"http://identifiers.emc.com/linkrel/repositories": {
"href": "repositories/xcp_repository",
"hints": {
"allow": ["GET"],
"representations": ["application/xml",
"application/json",
"application/vnd.emc.xcp+xml",
"application/vnd.emc.xcp+json"
]
}
},
"http://identifiers.emc.com/linkrel/application": {
"href": "application",
"hints": {
"allow": ["GET"],
"representations": ["application/xml",
"application/json",
"application/vnd.emc.xcp+xml",
"application/vnd.emc.xcp+json"]
}
},
"http://identifiers.emc.com/linkrel/business-object-types": {
"href": "types/business-objects",
"hints": {
"allow": ["GET"],
"representations": ["application/xml",
"application/json",
"application/vnd.emc.xcp+xml",
"application/vnd.emc.xcp+json",
"application/atom+xml"]
}
},
"http://identifiers.emc.com/linkrel/content-types": {
"href": "types/contents",
"hints": {
"allow": ["GET"],
"representations": ["application/xml",
"application/json",
"application/vnd.emc.xcp+xml",
"application/vnd.emc.xcp+json",
"application/atom+xml"]
}
},
"http://identifiers.emc.com/linkrel/folder-types": {
"href": "types/folders",
"hints": {
"allow": ["GET"],
"representations": ["application/xml",
"application/json",
"application/vnd.emc.xcp+xml",
"application/vnd.emc.xcp+json",
"application/atom+xml"]
}
},
"http://identifiers.emc.com/linkrel/picklist-types": {
"href": "types/picklists",
"hints": {
"allow": ["GET"],
"representations": ["application/xml",
"application/json",
"application/vnd.emc.xcp+xml",
"application/vnd.emc.xcp+json",
"application/atom+xml"]
}
},
"http://identifiers.emc.com/linkrel/relationship-types": {
"href": "types/relationships",
"hints": {
"allow": ["GET"],
"representations": ["application/xml",
"application/json",
"application/vnd.emc.xcp+xml",
"application/vnd.emc.xcp+json",
"application/atom+xml"]
}
},
"http://identifiers.emc.com/linkrel/alert-types": {
"href": "types/alerts",
"hints": {
"allow": ["GET"],
"representations": ["application/xml",
"application/json",
"application/vnd.emc.xcp+xml",
"application/vnd.emc.xcp+json",
"application/atom+xml"]
}
},
"http://identifiers.emc.com/linkrel/processes": {
"href": "types/processes",
"hints": {
"allow": ["GET"],
"representations": ["application/xml",
"application/json",
"application/vnd.emc.xcp+xml",
"application/vnd.emc.xcp+json",
"application/atom+xml"]
}
},
"http://identifiers.emc.com/linkrel/fulltext-query": {
"href": "types/fulltext-queries",
"hints": {
"allow": ["GET"],
"representations": ["application/xml",
"application/json",
"application/vnd.emc.xcp+xml",
"application/vnd.emc.xcp+json",
"application/atom+xml"]
}
},
"http://identifiers.emc.com/linkrel/historical-query": {
"href": "types/historical-queries",
"hints": {
"allow": ["GET"],
"representations": ["application/xml",
"application/json",
"application/vnd.emc.xcp+xml",
"application/vnd.emc.xcp+json",
"application/atom+xml"]
}
},
"http://identifiers.emc.com/linkrel/realtime-query": {
"href": "types/realtime-queries",
"hints": {
"allow": ["GET"],
"representations": ["application/xml",
"application/json",
"application/vnd.emc.xcp+xml",
"application/vnd.emc.xcp+json",
"application/atom+xml"]
}
},
"http://identifiers.emc.com/linkrel/alert-query": {
"href": "types/alert-queries",
"hints": {
"allow": ["GET"],
"representations": ["application/xml",
"application/json",
"application/vnd.emc.xcp+xml",
"application/vnd.emc.xcp+json",
"application/atom+xml"]
}
},
"http://identifiers.emc.com/linkrel/tasklist-query": {
"href": "types/tasklist-queries",
"hints": {
"allow": ["GET"],
"representations": ["application/xml",
"application/json",
"application/vnd.emc.xcp+xml",
"application/vnd.emc.xcp+json",
"application/atom+xml"]
}
},
"about": {
"href": "products/xcp_product_info",
"hints": {
"allow": ["GET"],
"representations": ["application/xml",
"application/json",
"application/vnd.emc.xcp+xml",
"application/vnd.emc.xcp+json"]
}
},
"http://identifiers.emc.com/linkrel/upload": {
"href": "files",
"hints": {
"allow": ["POST"],
"representations": ["multipart/form-data"]
}
},
"http://identifiers.emc.com/linkrel/tasks/next-task": {
"href": "tasks/next-task",
"hints": {
"allow": ["GET"],
"representations": ["application/xml",
"application/json",
"application/vnd.emc.xcp+xml",
"application/vnd.emc.xcp+json"]
}
}
}
}
</resource>
<resource rel="http://identifiers.emc.com/linkrel/application">
<link href="application" />
<hints>
<allow>GET</allow>
<representations>
<i>application/xml</i>
<i>application/json</i>
<i>application/vnd.emc.xcp+xml</i>
<i>application/vnd.emc.xcp+json</i>
</representations>
</hints>
</resource>
<resource rel="http://identifiers.emc.com/linkrel/business-object-types">
<link href="types/business-objects" />
<hints>
<allow>GET</allow>
<representations>
<i>application/xml</i>
<i>application/json</i>
<i>application/vnd.emc.xcp+xml</i>
<i>application/vnd.emc.xcp+json</i>
<i>application/atom+xml</i>
</representations>
</hints>
</resource>
<resource rel="http://identifiers.emc.com/linkrel/content-types">
<link href="types/contents" />
<hints>
<allow>GET</allow>
<representations>
<i>application/xml</i>
<i>application/json</i>
<i>application/vnd.emc.xcp+xml</i>
<i>application/vnd.emc.xcp+json</i>
<i>application/atom+xml</i>
</representations>
</hints>
</resource>
<resource rel="http://identifiers.emc.com/linkrel/folder-types">
<link href="types/folders" />
<hints>
<allow>GET</allow>
<representations>
<i>application/xml</i>
<i>application/json</i>
<i>application/vnd.emc.xcp+xml</i>
<i>application/vnd.emc.xcp+json</i>
<i>application/atom+xml</i>
</representations>
</hints>
</resource>
<resource rel="http://identifiers.emc.com/linkrel/picklist-types">
<link href="types/picklists" />
<hints>
<allow>GET</allow>
<representations>
<i>application/xml</i>
<i>application/json</i>
<i>application/vnd.emc.xcp+xml</i>
<i>application/vnd.emc.xcp+json</i>
<i>application/atom+xml</i>
</representations>
</hints>
</resource>
<resource rel="http://identifiers.emc.com/linkrel/relationship-types">
<link href="types/relationships" />
<hints>
<allow>GET</allow>
<representations>
<i>application/xml</i>
<i>application/json</i>
<i>application/vnd.emc.xcp+xml</i>
<i>application/vnd.emc.xcp+json</i>
<i>application/atom+xml</i>
</representations>
</hints>
</resource>
<resource rel="http://identifiers.emc.com/linkrel/alert-types">
<link href="types/alerts" />
<hints>
<allow>GET</allow>
<representations>
<i>application/xml</i>
<i>application/json</i>
<i>application/vnd.emc.xcp+xml</i>
<i>application/vnd.emc.xcp+json</i>
<i>application/atom+xml</i>
</representations>
</hints>
</resource>
<resource rel="http://identifiers.emc.com/linkrel/processes">
<link href="types/processes" />
<hints>
<allow>GET</allow>
<representations>
<i>application/xml</i>
<i>application/json</i>
<i>application/vnd.emc.xcp+xml</i>
<i>application/vnd.emc.xcp+json</i>
<i>application/atom+xml</i>
</representations>
</hints>
</resource>
<resource rel="http://identifiers.emc.com/linkrel/fulltext-query">
<link href="types/fulltext-queries" />
<hints>
<allow>GET</allow>
<representations>
<i>application/xml</i>
<i>application/json</i>
<i>application/vnd.emc.xcp+xml</i>
<i>application/vnd.emc.xcp+json</i>
<i>application/atom+xml</i>
</representations>
</hints>
</resource>
<resource rel="http://identifiers.emc.com/linkrel/historical-query">
<link href="types/historical-queries" />
<hints>
<allow>GET</allow>
<representations>
<i>application/xml</i>
<i>application/json</i>
<i>application/vnd.emc.xcp+xml</i>
<i>application/vnd.emc.xcp+json</i>
<i>application/atom+xml</i>
</representations>
</hints>
</resource>
<resource rel="http://identifiers.emc.com/linkrel/realtime-query">
<link href="types/realtime-queries" />
<hints>
<allow>GET</allow>
<representations>
<i>application/xml</i>
<i>application/json</i>
<i>application/vnd.emc.xcp+xml</i>
<i>application/vnd.emc.xcp+json</i>
<i>application/atom+xml</i>
</representations>
</hints>
</resource>
<resource rel="http://identifiers.emc.com/linkrel/alert-query">
<link href="types/alert-queries" />
<hints>
<allow>GET</allow>
<representations>
<i>application/xml</i>
<i>application/json</i>
<i>application/vnd.emc.xcp+xml</i>
<i>application/vnd.emc.xcp+json</i>
<i>application/atom+xml</i>
</representations>
</hints>
</resource>
<resource rel="http://identifiers.emc.com/linkrel/tasklist-query">
<link href="types/tasklist-queries" />
<hints>
<allow>GET</allow>
<representations>
<i>application/xml</i>
<i>application/json</i>
<i>application/vnd.emc.xcp+xml</i>
<i>application/vnd.emc.xcp+json</i>
<i>application/atom+xml</i>
</representations>
</hints>
</resource>
<resource rel="about">
<link href="products/xcp_product_info" />
<hints>
<allow>GET</allow>
<representations>
<i>application/xml</i>
<i>application/json</i>
<i>application/vnd.emc.xcp+xml</i>
<i>application/vnd.emc.xcp+json</i>
</representations>
</hints>
</resource>
<resource rel="http://identifiers.emc.com/linkrel/upload">
<link href="files" />
<hints>
<allow>POST</allow>
<representations>
<i>multipart/form-data</i>
</representations>
</hints>
</resource>
<resource rel="http://identifiers.emc.com/linkrel/tasks/next-task">
<link href="tasks/next-task" />
<hints>
<allow>GET</allow>
<representations>
<i>application/xml</i>
<i>application/json</i>
<i>application/vnd.emc.xcp+xml</i>
<i>application/vnd.emc.xcp+json</i>
</representations>
</hints>
</resource>
</resources>
• user
• group
• role
http://identifiers.emc.com/linkrel/
4.64.3 Operations
A Member resource supports the following HTTP methods.
Method Description
GET Retrieve a Member resource
POST Add a Member resource to a role or group
member
DELETE Remove a Member resource from a role or
group member
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The type link relation points to the type definition of the Member resource,
through which you can retrieve an “xCP Member Single Type” on page 369.
• Null values are presented as an empty string (“”).
{
name: "member"
type: "xcp_member"
definition: "http://localhost:8000/xcprestapp/
types/members/xcp_member"
properties: {
login_name: "dmadmin"
label: "dmadmin"
member_type: "user"
name: "dmadmin"
r_object_id: "1101e24080000102"
is_superuser: true
member_email: "[email protected]"
}
links:
{
rel: "type"
href: "types/members/xcp_member"
}
{
rel: "self"
href: "members/xcp_member/1101e24080000102"
}
{
rel: "http://identifiers.emc.com/linkrel/preferences"
href: "preferences/xcp_preference"
}
}
POST
To add an existing member to a role or group member, send a POST request to the
members link relation of the role or group member.
http://127.0.0.1:8080/<rest-app-name>/members/xcp_member?member-of=<member-id>
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• Accept
• Authorization
• Content-Type
Example:
{"href":"http://127.0.0.1:8080/xcp-rest/members/xcp_member/1101f70180000159"}
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• You can locate the newly-added member by accessing the members link relation
of the updated Member resource.
• The type link relation points to the type definition of the Member resource,
through which you can retrieve a “xCP Member Single Type” on page 369.
• Null values are presented as an empty string (“”).
DELETE
To remove a member from a role or group member, send a DELETE request to the
potentialmembers link relation of the role or group member with the following
pattern:
http://127.0.0.1:8080/<rest-app-name>/members/xcp_member?potential-member-of=<member-id>
Authorization
Example:
{"href":"http://127.0.0.1:8080/xcp-rest/members/xcp_member/1101f70180000159"}
None.
HTTP 204 No Content status upon a successful delete operation. The response body
contains no content.
4.65.4 Operations
A Member collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of Member instances of
a certain type.
GET Retrieve a collection of members of a role or
group
GET Retrieve a collection of potential members of
a role or group
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the Member instance,
depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
GET
To get the members of a role or group member, send a GET request to the members
link relation of the role or group member.
http://127.0.0.1:8080/<rest-app-name>/members/xcp_member?member-of=<member-id>
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the Member instance,
depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
GET
To get the potential members of a role or group member, send a GET request to the
potentialmembers link relation of the role or group member.
http://127.0.0.1:8080/<rest-app-name>/members/xcp_member?potential-member-of=<member-id>
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the Member instance,
depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.66.3 Operations
A Member Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of Member
instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.67.4 Operations
A Member Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Member Type instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Member instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
4.68.3 Operations
A Network Location resource supports the following HTTP method.
Method Description
GET Retrieve a Network Location resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
204 - No Content
• The type link relation points to the type definition of the Network Location
resource, through which you can retrieve an “xCP Network Location Single
Type” on page 379.
• Null values are presented as an empty string (“”).
4.69.4 Operations
A Network Location collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of Network Location
instances.
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
204 - No Content
• Each instance may contain all or a set of properties of the Network Location
instance, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.70.3 Operations
A Network Location Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of Network
Location instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.71.4 Operations
A Network Location Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Network Location instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Network Location instances, depending on the setting of the query parameter
view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
4.72.3 Operations
A Picklist Type resource supports the following HTTP method.
Method Description
GET Retrieve a Picklist Type resource
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.73.4 Operations
A Picklist Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of Picklist type
definitions
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
http://identifiers.emc.com/linkrel/
4.74.3 Operations
A Process resource supports the following HTTP methods.
Method Description
GET Retrieve a Process resource
PUT Update the status of a Process resource
GET
• Accept
• Content-Type
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The type link relation points to the type definition of the Process resource,
through which you can retrieve an “xCP Process Single Type” on page 402.
• Null values are presented as an empty string (“”).
• halt
• terminate
• resume
PUT
To update the status of a Process resource, send a PUT request to the status link
relation of the Process resource in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/processes/<process-system-name>/<object-id>/status
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
<resume>
<user-name>testUser</user-name>
</resume>
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
4.75.4 Operations
A Process collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of Process instances.
POST Create of a Process instance.
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the Process instance,
depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
POST
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• If the corresponding DML type (“xCP Process Single Type” on page 402)
specifies mandatory packages of certain types, the newly-created Process
resource must contain packages of the specified types.
• You can create a Process resource with a reference to an existing business object.
Alternatively, you can add an inline business object when creating a Process
resource.
• This operation creates a Process resource with all fields specified in the request.
However, if the request body contains a field that is not presented in the
corresponding DML type (“xCP Process Single Type” on page 402), the field is
ignored.
• Unspecified fields are set the default values in Documentum Server.
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the Process resource,
through which you can retrieve a “xCP Process Single Type” on page 402.
• Null values are presented as an empty string (“”).
http://identifiers.emc.com/linkrel/
4.76.3 Operations
A Process Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of the process
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
204 - No Content
4.77.4 Operations
A Process Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
processes
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Process instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
4.78.3 Operations
A Product Information resource supports the following HTTP method.
Method Description
GET Retrieve a Product Information resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
204 - No Content
• The type link relation points to the type definition of the Product Information
resource, through which you can retrieve an “xCP product information type”
on page 409.
• Null values are presented as an empty string (“”).
4.79.3 Operations
A Product Information Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of the Product
Information instance
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.80.4 Operations
A Product Information Type collection resource supports the following HTTP
method.
Method Description
GET Retrieve a collection of type definitions for
the Product Information instance
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for the
Product Information instance, depending on the setting of the query parameter
view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
In xCP REST Services, only projects that are a part of an xCP application is
accessible. All projects are instances of xcp-project. For more information, see
“xCP project single type” on page 420.
4.81.3 Operations
A Project resource supports the following HTTP method.
Method Description
GET Retrieve a Project resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The type link relation points to the type definition of the Project resource,
through which you can retrieve an “xCP project single type” on page 420.
• Null values are presented as an empty string (“”).
4.82.4 Operations
A Project collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of Project instances.
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the Project instance,
depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.83.3 Operations
A Project Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of Project
instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.84.4 Operations
A Project Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Project instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Project instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
4.85.3 Operations
A Queue List resource supports the following HTTP method.
Method Description
GET Retrieve a Queue List resource
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
},
"links": [{
"rel": "edit",
"href": "queues/xcp_queue/null"
}]
}, {
"id": "queues/xcp_queue/null",
"title": "state",
"updated": "2013-12-09T20:53:13.992-08:00",
"summary": "state",
"content": {
"src": "queues/xcp_queue/null",
"content-type": "application/vnd.emc.xcp+json"
},
"links": [{
"rel": "edit",
"href": "queues/xcp_queue/null"
}]
}]
}
4.86.3 Operations
A Real-Time Query resource supports the following HTTP method.
Method Description
GET Retrieve the results of a real-time query
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
A Real-Time Query resource does not support sort on multiple attributes,
meaning that you can specify at most one attribute as the sort criterion when
performing a query.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
XML or JSON representation of the query results. The results are presented using
Atom Feed in XML representation or using EDAA collection in JSON representation.
By default, this operation only returns basic properties of each result. You can get a
single instance by accessing the src link in the corresponding entry. To obtain a full
representation of each result, set the inline parameter to true.
<id>realtime-queries/xcp_folder_rt_query/1357774768</id>
<title type="text">utapp21_folder_all_attrs-child-40264</title>
<updated>2014-01-23T09:37:07.000Z</updated>
<link href="realtime-queries/xcp_folder_rt_query/1357774768" rel="edit" />
<summary type="text">utapp21_folder_all_attrs-child-40264</summary>
<content type="application/vnd.emc.xcp+xml"
src="realtime-queries/xcp_folder_rt_query/1357774768" />
</entry>
</feed>
entries:
{
id: "realtime-queries/xcp_folder_rt_query/384200868"
title: "topic_0b01e2408002786f"
updated: "2014-01-23T17:37:51.000+08:00"
summary: "topic_0b01e2408002786f"
content: {
src: "realtime-queries/xcp_folder_rt_query/384200868"
content-type: "application/vnd.emc.xcp+json"
}
}
{
id: "realtime-queries/xcp_folder_rt_query/1297481037"
title: "topic_0b01e24080027871"
updated: "2014-01-23T17:37:51.000+08:00"
summary: "topic_0b01e24080027871"
content: {
src: "realtime-queries/xcp_folder_rt_query/1297481037"
content-type: "application/vnd.emc.xcp+json"
}
}
{
id: "realtime-queries/xcp_folder_rt_query/1114446477"
title: "utapp21_folder_all_attrs-child-40264"
updated: "2014-01-23T17:37:07.000+08:00"
summary: "utapp21_folder_all_attrs-child-40264"
content: {
src: "realtime-queries/xcp_folder_rt_query/1114446477"
content-type: "application/vnd.emc.xcp+json"
}
}
{
id: "realtime-queries/xcp_folder_rt_query/278070062"
title: "utapp21_folder_all_attrs-92076"
updated: "2014-01-23T17:37:07.000+08:00"
summary: "utapp21_folder_all_attrs-92076"
content: {
src: "realtime-queries/xcp_folder_rt_query/278070062"
content-type: "application/vnd.emc.xcp+json"
}
}
}
http://identifiers.emc.com/linkrel/
4.87.3 Operations
A Real-Time Query Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of a real-time
query
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
XML or JSON representation of the type definition of a real-time query. The Type
definition mainly contains the following elements:
Elements Description
properties Specifies a set of properties that are
displayed in the output table in xCP.
expression-set Specifies a set of condition constraints with
AND or OR operators.
sort Specifies sort settings.
options Specifies which version of the result to
return. Valid values are:
• LATEST: Only returns the latest version
of a result
• All: Returns all versions of a result
Note: By default, xCP search uses only the date attribute as an input value for
a Real Time Query (RTQ). You can enable the time element for xCP search
using the query_precision parameter. For more information about how to
enable the time element for xCP search, see Documentum xCP Designer Help.
4.88.4 Operations
A Real-Time Query Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Real-Time Query instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• permissions
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Real-Time Query instances, depending on the setting of the query parameter
view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.89.3 Operations
A Relationship resource supports the following HTTP methods.
Method Description
GET Retrieve a Relationship resource
POST Update a Relationship resource
POST Create a relationship resource
DELETE Update a Relationship resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
204 - No Content
• The type link relation points to the type definition of the Relationship resource,
through which you can retrieve an “xCP Relationship Single Type” on page 450.
• Null values are presented as an empty string (“”).
POST
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation updates all fields specified in the request. However, if the request
body contains a field that is not presented in the corresponding DML type (“xCP
Relationship Single Type” on page 450), the field is ignored.
• Repeating properties are processed as lists. If you update one of the values in the
list, the entire list is updated.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the Relationship resource,
through which you can retrieve a “xCP Relationship Single Type” on page 450.
• Null values are presented as an empty string (“”).
POST
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation creates a Relationship resource with all fields specified in the
request. However, if the request body contains a field that is not presented in the
corresponding DML type (“xCP Relationship Single Type” on page 450), the field
is ignored.
• Unspecified fields are set the default values in Documentum Server.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the Relationship resource,
through which you can retrieve a “xCP Relationship Single Type” on page 450.
• Null values are presented as an empty string (“”).
DELETE
None.
Authorization
None.
None.
HTTP 204 No Content status upon a successful delete operation. The response body
contains no content.
4.90.4 Operations
A Relationship collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of Relationship
instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• permissions
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the Relationship instance,
depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.91.3 Operations
A Relationship Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of Relationship
instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.92.4 Operations
A Relationship Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Relationship instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Relationship instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
4.93.4 Operations
A Rendition collection resource supports the following HTTP method.
Method Description
GET Retrieve a Rendition collection resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/json (For compatible viewing)
204 - No Content
"href": "viewers/ContentViewer/contents/dm_document/0901e2408002b4c7/
view/renditions/2"
}
]
},
...
{
"id": "viewers/ContentViewer/contents/dm_document/0901e2408002b4c7/
view/renditions/10",
"title": "Page: 10",
"updated": "2014-02-14T14:43:52.572+08:00",
"summary": "Page: 10",
"content": {
"name": "viewer",
"type": "xcp_viewer_page",
"definition": "http://10.37.3.201:8000/xCP21UTApp/types/viewers/
xcp_viewer_page",
"properties": {
"pageNumber": 10,
"pageContentUrl": "http://<content_server>:9080/ACS/servlet/
ACS?command=read&version=2.3&docbaseid=C%3A%5CDocumentum%5Cdata%5Cx
cp21H2wk2%5Cthumbnail_storage_01%5C0001e240
&filepath=80%5C00%5C14%5Cab.jpg&objectid=0901e2408002b4c7
&cacheid=dAQEAgA%3D%3DqxQAgA%3D%3D&format=jpeg_lres&pagenum=0
&pagemod=000000009&signature=raz%2Bbe%2BPybJbDCKnk63UwqMIQovx
dxwUF8hCUaij1k%2B40MhYWd%2B3P03RwVFzwiEIr4YjL7LiV3UXEEn5x%2F8
CyTzJ4QVmIHFN28Gwzz0PWZkiazJ2fEleJ%2B1CucU70DaBUvpLFNnkbPY7Tl
44c0lxh3i8p22MXewOjO6QQ82xE5E%3D&servername=<acs_server>
&mode=1×tamp=1392360232&length=17894&mime_type=image%2Fjpeg
¶llel_streaming=true&expire_delta=360",
"pageType": 0
},
"links": [],
"content-type": "application/vnd.emc.xcp+json"
},
"links": [
{
"rel": "edit",
"href": "viewers/ContentViewer/contents/dm_document/
0901e2408002b4c7/view/renditions/10"
}
]
}
]
}
Only one instance of the xcp_repository type exists. Therefore, this instance does
not have a repository ID.
http://identifiers.emc.com/linkrel/
4.94.3 Operations
A Repository resource supports the following HTTP method.
Method Description
GET Retrieve a repository
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
XML or JSON representation of the Repository resource. This operation returns the
name of the repository. Underlying resources such as cabinets and members are
exposed through link relations.
http://identifiers.emc.com/linkrel/
4.95.3 Operations
A Repository Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of the xCP
repository
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
XML or JSON representation of the type definition of the xCP repository. This
resource also exposes several underlying resources of the repository instance such as
cabinets and members through link relations.
4.96.4 Operations
A Repository Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Repository instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.97.3 Operations
A Stateless Process resource supports the following HTTP method.
Method Description
POST Create and execute a Stateless Process
instance
POST
To create and execute a Stateless Process resource of a certain type, set the run-
stateless property to true in the payload and then send a POST request to the
collection of Process resources of that type in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/processes/<process-system-name>
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation creates and executes a Stateless Process instance with all fields
specified in the request. However, if the request body contains a field that is not
presented in the corresponding DML type (“xCP stateless process single type”
on page 473), the field is ignored.
• Unspecified fields are set the default values in Documentum Server.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the Stateless Process
resource, through which you can retrieve a “xCP stateless process single type”
on page 473.
• Null values are presented as an empty string (“”).
“xCP Process Single Type” on page 402 provides more information about the type
definition.
http://identifiers.emc.com/linkrel/
4.99.3 Operations
A Task resource supports the following HTTP methods.
Method Description
GET Retrieve a Task resource
GET Retrieve the status of a Task resource
PUT Update the status of a Task resource
PUT Acquire a Task resource
PUT Update the data of a Task resource
PUT Hold or unhold a Task resource
PUT Complete the data of a Task resource
PUT Repeat the data of a Task resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
204 - No Content
• The type link relation points to the type definition of the Task resource, through
which you can retrieve an “xCP Task single type” on page 492.
• Null values are presented as an empty string (“”).
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• halt
• resume
• terminate
PUT
To update the status of a Task resource, send a PUT request to the status link
relation of the Task resource in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/processes/<process-system-name>/<process-id>/
<task-name>/<task-id>/status
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
PUT
To acquire the data of a Task resource, send a PUT request to the status link relation
of the Task resource in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/processes/<process-system-name>/<process-id>/
<task-name>/<task-id>/status
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
{
"acquire":{}
}
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
PUT
To update the data of a Task resource, send a PUT request to the status link relation
of the Task resource in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/processes/<process-system-name>/<router-id>/
<tasks>/<system-task-name>/<task-id>/status
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
{
"edit":{
"data":{
"variables":{
"employee_location":"",
"student_location":"raichur"
"packages":{
"package0":{"properties":{"id":"0000000000000000"}},
"package1":{"href":"business-objects/nsoct11_student/
0800492d80009575","properties":{}}
},
"attachments":[]
}
}
}
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
PUT
To complete the data of a Task resource, send a PUT request to the status link
relation of the Task resource in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/processes/<process-system-name>/<router-id>/
<tasks>/<system-task-name>/<task-id>/status
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
"variable_0":"",
"variables_1":"somevalue"
"packages":{
"package0":{"properties":{"id":"0000000000000000"}},
"package1":{"href":"business-objects/nsoct11_student/
0800492d80009575","properties":{}
}
},
"attachments":[]
}
}
}
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
PUT
To update the data of a Task resource, send a PUT request to the status link relation
of the Task resource in the following pattern:
http://127.0.0.1:8080/<rest-app-name>/processes/<process-system-name>/<router-id>/
<tasks>/<system-task-name>/<task-id>/status
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
4.100.4 Operations
A Task collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of Task instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the Task instance,
depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.101.3 Operations
A Task Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of Task instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
XML or JSON representation of the type definition of tasks. The instances link
relation points to a collection of Task instances, through which you can retrieve an
“xCP Task collection” on page 488.
4.102.4 Operations
A Task Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Task instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Task instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
4.103.3 Operations
A Tasklist resource supports the following HTTP method.
Method Description
GET Retrieve the results of a task list query
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
A Tasklist Query resource does not support sort on multiple attributes, meaning
that you can specify at most one attribute as the sort criterion when performing a
query.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
XML or JSON representation of the query results. The results are presented using
Atom Feed in XML representation or using EDAA collection in JSON representation.
By default, this operation only returns basic properties of each result. You can get a
single instance by accessing the src link in the corresponding entry. To obtain a full
representation of each result, set the inline parameter to true.
"name": "tasklist-query",
"type": "dec10_qtlq1",
"definition": "http://localhost:8000/dec10/types/
tasklist-queries/dec10_qtlq1",
"properties": {
"task_priority": 21,
"workqueue_flag": 0,
...
"workqueue_name": "region",
"workqueue_priority": 21,
"task_subject": "Work queue task-1",
"task_performer_name": "region"
},
"links": [{
"rel": "type",
"href": "types/processes/dec10_myprocess/tasks/
dec10_work_queue_task_1"
}, {
"rel": "http://identifiers.emc.com/linkrel/attachments",
"href": "processes/dec10_myprocess/4d01e24080001d00/attachments"
}, {
"rel": "self",
"href": "processes/dec10_myprocess/4d01e24080001d00/tasks/
dec10_work_queue_task_1/1b01e24080097ab0"
}, ....
{
"rel": "http://identifiers.emc.com/linkrel/acquire",
"href": "processes/dec10_myprocess/4d01e24080001d00/tasks/
dec10_work_queue_task_1/1b01e24080097ab0/status"
}],
"content-type": "application/vnd.emc.xcp+json"
}
}, {
"id": "tasklist-queries/dec10_qtlq1/1988225431",
"title": "dec10_qtlq1-0",
"updated": "2013-12-09T21:27:08.802-08:00",
"summary": "dec10_qtlq1-0",
"content": {
"name": "tasklist-query",
"type": "dec10_qtlq1",
"definition": "http://localhost:8000/dec10/types/tasklist-queries/
dec10_qtlq1",
"properties": {
"task_priority": 21,
...
"task_performer_name": "region"
},
"links": [{
"href": "types/processes/dec10_myprocess/tasks/
dec10_work_queue_task_1"
}...
{
"rel": "http://identifiers.emc.com/linkrel/acquire",
"href": "processes/dec10_myprocess/4d01e24080001d01/tasks/
dec10_work_queue_task_1/1b01e24080097ac5/status"
}],
"content-type": "application/vnd.emc.xcp+json"
}
}]
}
<title type="text">dec10_qtlq1</title>
<updated>2013-12-10T05:40:05.834Z</updated>
<link href="tasklist-queries/dec10_qtlq1" rel="self"/>
<author>
<name>OpenText Documentum</name>
</author>
<dm:page>1</dm:page>
<dm:items-per-page>10</dm:items-per-page>
<entry>
<id>tasklist-queries/dec10_qtlq1/917251435</id>
<title type="text">dec10_qtlq1-0</title>
<updated>2013-12-10T05:40:05.835Z</updated>
<link href="tasklist-queries/dec10_qtlq1/917251435" rel="edit"/>
<summary type="text">dec10_qtlq1-0</summary>
<content type="application/vnd.emc.xcp+xml">
<dm:tasklist-query xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="dec10_qtlq1"
dm:definition=
"http://localhost:8000/dec10/types/tasklist-queries/dec10_qtlq1">
<dm:properties xsi:type="dec10_qtlq1-properties">
<dm:task_priority>21</dm:task_priority>
<dm:workqueue_flag>0</dm:workqueue_flag>
<dm:activity_system_name>dec10_myprocess_
work_queue_task_1</dm:activity_system_name>
...
<dm:task_performer_name>region</dm:task_performer_name>
</dm:properties>
<dm:links>
<dm:link rel="type" href="types/tasklist-queries/dec10_qtlq1"/>
<dm:link rel="http://identifiers.emc.com/linkrel/instances"
href="tasklist-queries/dec10_qtlq1"/>
<dm:link rel="self" href="types/tasklist-queries/dec10_qtlq1/
defaults"/>
</dm:links>
</dm:tasklist-query>
</content>
</entry>
<entry>
<id>tasklist-queries/dec10_qtlq1/1964143150</id>
<title type="text">dec10_qtlq1-0</title>
<updated>2013-12-10T05:40:05.986Z</updated>
<link href="tasklist-queries/dec10_qtlq1/1964143150" rel="edit"/>
<summary type="text">dec10_qtlq1-0</summary>
<content type="application/vnd.emc.xcp+xml">
<dm:tasklist-query xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="dec10_qtlq1"
dm:definition="http://localhost:8000/dec10/types/tasklist-queries/dec10_qtlq1">
<dm:properties xsi:type="dec10_qtlq1-properties">
<dm:task_priority>21</dm:task_priority>
...
</dm:properties>
<dm:links>
<dm:link rel="type" href="types/tasklist-queries/dec10_qtlq1"/>
<dm:link rel="http://identifiers.emc.com/linkrel/instances"
href="tasklist-queries/dec10_qtlq1"/>
<dm:link rel="self" href="types/tasklist-queries/dec10_qtlq1/
defaults"/>
</dm:links>
</dm:tasklist-query>
</content>
</entry>
</feed>
http://identifiers.emc.com/linkrel/
4.104.3 Operations
A Tasklist Query Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of a task list
query
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
XML or JSON representation of the type definition of a task list query. The Type
definition mainly contains the following elements:
Element Description
processes Defines a list of processes to which the task
list is scoped. A task list can be scoped to all
processes or a subset of processes. The list of
processes also defines which packages and
process variables are available.
properties Specifies a set of properties that are
displayed in the output table in xCP.
expression-set Specifies a set of condition constraints with
AND or OR operators.
sort Specifies sort settings.
scope Defines the search scope. Valid values are:
• USER: Searches tasks assigned to the
current user
• ALL_USERS: Searches tasks assigned to
all users
• WORKQUEUE: Searches tasks assigned to a
work queue
workqueue-view-filter Defines the work queue view filter. Valid
values are:
• SHOW_ALL_TASKS: Shows all tasks in the
work queue
• SHOW_UNASSIGNED_TASKS: Shows
unassigned tasks in the work queue
• SHOW_PROCESSOR_ELIGIBLE_AND_
OWNED_TASKS: Shows the tasks that the
processor can work on and the tasks that
the processor owns in the work queue
• SHOW_PROCESSOR_ELIGIBLE_TASKS:
Shows the tasks that the processor can
work on in the work queue
Note: By default, xCP search uses only the date attribute as an input value for
a Task List Query (TLQ). You can enable the time element for xCP search using
the query_precision parameter. For more information about how to enable
the time element for xCP search, see Documentum xCP Designer Help.
4.105.4 Operations
A Tasklist Query Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Tasklist Query instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Tasklist Query instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.106.3 Operations
A Template resource supports the following HTTP methods.
Method Description
GET Retrieve a Template resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The type link relation points to the type definition of the Template resource,
through which you can retrieve an “xCP template single type” on page 514.
• Null values are presented as an empty string (“”).
4.107.4 Operations
A Template collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of Template instances.
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• permissions
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the Template instance,
depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.108.3 Operations
A Template Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of Template
instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.109.4 Operations
A Template Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Template instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Template instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
http://identifiers.emc.com/linkrel/
4.110.3 Operations
A User Preferences resource supports the following HTTP methods.
Method Description
GET Retrieve a User Preferences resource
POST Update a User Preferences resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
204 - No Content
• The type link relation points to the type definition of the User Preferences
resource, through which you can retrieve an “xCP user preferences single type”
on page 523.
• The currentuser link relation points to the owner of the User Preferences
resource, through which you can retrieve an “xCP Current User Instance”
on page 235.
• Null values are presented as an empty string (“”).
POST
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation updates all fields specified in the request. However, if the request
body contains a field that is not presented in the corresponding DML type (“xCP
user preferences single type” on page 523), the field is ignored.
• Repeating properties are processed as lists. If you update one of the values in the
list, the entire list is updated.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the User Preferences
resource, through which you can retrieve a “xCP user preferences single type”
on page 523.
• Null values are presented as an empty string (“”).
http://identifiers.emc.com/linkrel/
4.111.3 Operations
A User Preferences Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of the User
Preferences instance
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
XML or JSON representation of the type definition of the User Preferences instance
of the current user. The preferences link relation points to the User Preferences
instance of the current user.
4.112.4 Operations
A User Preferences Type collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of type definitions for
User Preferences instances
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• permissions
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
User Preferences instances, depending on the setting of the query parameter
view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
4.113.3 Operations
A View resource supports the following HTTP method.
Method Description
GET Retrieve a View resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+json
• application/json (For compatible viewing)
204 - No Content
Example 4-57:
{
"objectUri": "templates/xcp_template/0900492d800001f8",
"objectId": "0900492d800001f8",
"provider": "ContentViewer",
"objectName": "Blank PDF Document",
"providerType": "div",
"format": "pdf",
"versionLabel": "1.0,CURRENT",
"automationLibrary": "",
"pageCount": -1,
"allowThumbnail": false,
"allowPageModify": false,
"displayAnnotations": false,
"allowAnnotate": false,
"supportUrlFallback": false,
"optionalData": "",
"userAnnotationUrl": "",
"allAnnotationsUrl": "",
"documentUploadUrl": "",
"annotationUploadUrl": "",
"printAuditUrl": "",
"exportAuditUrl": "",
"viewerAutomationUrl": "",
"pageDeletionUrl": "",
"pageReorderUrl": "",
"pageInsertionUrl": "",
"pageExtractionUrl": "",
"parameterList": [{
"name": "documentInfo",
"value": "{\"objectId\":\"0900492d800001f8\",\"objectName\":\"Blank PDF Document
\",
\"pageCount\":-1,\"assetClass\":\"Document\",\"documentPages\":null,
\"rendering\":false,\"rendered\":false}"
},
{
"name": "searchInfoUrl",
"value": "null,{$objectUri}/searchinfo"
},
{
"name": "language",
"value": "en_US"
},
{
"name": "isCommentingAllowed",
"value": "false"
},
{
"name": "eventhandler",
"value": "DocumentViewerEventHandler"
},
{
"name": "documentPagesServiceUrl",
"value": "/viewers/ContentViewer/{$objectUri}/view/renditions"
},
{
"name": "documentPagesChunkSize",
"value": "3"
},
{
"name": "docURL",
"value": "/xcp-rest/templates/xcp_template/0900492d800001f8/stream?
provider=ContentViewer"
},
{
"name": "searchUrl",
"value": "{$objectUri}/search"
},
{
"name": "isServerSideSearch",
"value": "false"
}]
}
4.113.4 Formats
The viewer framework supports many formats for content display. The list of
formats can be found in <app_name>/WEB-INF/classes/com/emc/xcp/config/
web/applicationContext-ivf.xml.
The applicationContext-ivf.xml file also lists the viewer provider used to render
the content of a specific format. By modifying the key-value entries in this file, you
can configure the mapping between formats and viewer providers for an xCP
application.
Note: This configuration is available in xCP Designer UI. It is also a part of the
application deployment.
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
<bean class="com.emc.xcp.ivf.runtime.Format2ViewerMapping">
<property name="formatMapping">
<map>
<entry key="pdf" value="ContentViewer"></entry>
<entry key="tiff" value="ContentViewer"></entry>
<entry key="jpeg" value="ContentViewer"></entry>
<entry key="gif" value="ContentViewer"></entry>
<entry key="png" value="ContentViewer"></entry>
<entry key="bmp" value="ContentViewer"></entry>
<entry key="msw8" value="ContentViewer"></entry>
<entry key="msw12" value="ContentViewer"></entry>
<entry key="msw14" value="ContentViewer"></entry>
<entry key="ppt8" value="ContentViewer"></entry>
<entry key="ppt12" value="ContentViewer"></entry>
<entry key="ppt14" value="ContentViewer"></entry>
<entry key="excel8book" value="ContentViewer"></entry>
<entry key="excel12book" value="ContentViewer"></entry>
<entry key="excel14book" value="ContentViewer"></entry>
<entry key="msg" value="ContentViewer"></entry>
<entry key="mpeg-4v" value="VideoViewer"></entry>
<entry key="ogg" value="VideoViewer"></entry>
<entry key="webm" value="VideoViewer"></entry>
<entry key="3gp" value="VideoViewer"></entry>
<entry key="3g2" value="VideoViewer"></entry>
<entry key="asf" value="VideoViewer"></entry>
<entry key="avi" value="VideoViewer"></entry>
<entry key="flv" value="VideoViewer"></entry>
<entry key="f4v" value="VideoViewer"></entry>
<entry key="mpeg" value="VideoViewer"></entry>
<entry key="m4v" value="VideoViewer"></entry>
<entry key="quicktime" value="VideoViewer"></entry>
<entry key="wmv" value="VideoViewer"></entry>
</map>
</property>
</bean>
</beans>
• Viewer Capabilities
• Feature Enablement
• Supported Formats
• Environment Settings
• Viewer Control
For more information about viewer provider profiles, see “Viewer provider profile”
on page 599.
4.114.3 Operations
A Viewer resource supports the following HTTP method.
Method Description
GET Retrieve the viewer provider profile.
GET
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+json
• application/json (For compatible viewing)
204 - No Content
"enable": false,
"tagname": ""
},
"printing": {
"enable": true,
"tagname": ""
},
"export": {
"enable": false,
"tagname": ""
},
"contentModification": {
"enable": false,
"tagname": ""
}
},
"supportedFormats": {
"format": [{
"pageModification": true,
"supportAnnotations": true,
"dosExtensions": {
"ext": ["pdf"]
},
"name": "pdf"
},
{
"pageModification": true,
"supportAnnotations": true,
"dosExtensions": {
"ext": ["tif",
"tiff"]
},
"name": "tiff"
},
{
"pageModification": false,
"supportAnnotations": true,
"dosExtensions": {
"ext": ["jpg",
"jpeg"]
},
"name": "jpeg"
},
{
"pageModification": false,
"supportAnnotations": true,
"dosExtensions": {
"ext": ["gif"]
},
"name": "gif"
}]
},
"environmentSettings": {
"pageServingThreshold": 100000,
"annotationFormat": "",
"automationLibrary": "",
"parameterHandler":
"com.emc.xcp.ivf.runtime.handlers.params.DocumentViewerParameterHandler",
"optionalDataHandler":
"com.emc.xcp.ivf.runtime.handlers.data.DefaultOptionalDataHandler",
"requestHandlers": {
"handlerSpecification": [{
"baseurl": "/{$objectUri}/stream?provider=ContentViewer",
"handler":
"com.emc.xcp.ivf.runtime.handlers.requests.DefaultDocumentHandler",
"tagname": "docURL",
"name": "documentDownload"
},
{
"baseurl": "/viewers/ContentViewer/{$objectUri}/view/annotations",
"handler":
"com.emc.xcp.ivf.runtime.handlers.requests.DocumentViewerCommentHandler",
"tagname": "getCommentsService",
"name": "annotationDownload"
},
{
"baseurl": "/viewers/ContentViewer/{$objectUri}/view/annotations",
"handler":
"com.emc.xcp.ivf.runtime.handlers.requests.DocumentViewerCommentHandler",
"tagname": "addCommentService",
"name": "annotationUpload"
},
{
"baseurl": "/{$objectUri}/clientaudit?provider=ContentViewer&act=Print",
"handler":
"com.emc.xcp.ivf.runtime.handlers.requests.DefaultAuditTrailHandler",
"tagname": "",
"name": "printAuditing"
},
{
"baseurl": "/{$objectUri}/page?provider=ContentViewer",
"handler":
"com.emc.xcp.ivf.runtime.handlers.requests.DefaultPageModificationHandler",
"tagname": "",
"name": "pageDeletion"
},
{
"baseurl": "/{$objectUri}/page?provider=ContentViewer",
"handler":
"com.emc.xcp.ivf.runtime.handlers.requests.DefaultPageModificationHandler",
"tagname": "",
"name": "pageReorder"
},
{
"baseurl": "/{$objectUri}/page?provider=ContentViewer",
"handler":
"com.emc.xcp.ivf.runtime.handlers.requests.DefaultPageModificationHandler",
"tagname": "",
"name": "pageInsertion"
},
{
"baseurl": "/{$objectUri}/page?provider=ContentViewer",
"handler":
"com.emc.xcp.ivf.runtime.handlers.requests.DefaultPageModificationHandler",
"tagname": "",
"name": "pageExtraction"
}]
}
},
"viewerControl": {
"attributes": {
"attr": []
},
"parameters": {
"param": [{
"value": "",
"name": "documentInfo",
"type": "custom"
},
{
"value": "{$objectUri}/searchinfo",
"name": "searchInfoUrl",
"type": "custom"
},
{
"value": "",
"name": "language",
"type": "custom"
},
{
"value": "",
"name": "isCommentingAllowed",
"type": "custom"
},
{
"value": "DocumentViewerEventHandler",
"name": "eventhandler",
"type": "static"
},
{
"value": "/viewers/ContentViewer/{$objectUri}/view/renditions",
"name": "documentPagesServiceUrl",
"type": "static"
},
{
"value": "3",
"name": "documentPagesChunkSize",
"type": "static"
},
{
"value": "",
"name": "docURL",
"type": "runtime"
},
{
"value": "{$objectUri}/search",
"name": "searchUrl",
"type": "static"
},
{
"value": "",
"name": "isServerSideSearch",
"type": "custom"
}]
},
"type": "div"
}
}
4.115.4 Operations
A Viewer collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of Viewer instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
204 - No Content
"content-type": "application/vnd.emc.xcp+json"
},
"links": [{
"rel": "edit",
"href": "viewers/Browser"
}]
},
{
"id": "viewers/ContentViewer",
"title": "ContentViewer",
"updated": "2013-11-19T21:40:16.332-05:00",
"summary": "ContentViewer",
"content": {
"src": "viewers/ContentViewer",
"content-type": "application/vnd.emc.xcp+json"
},
"links": [{
"rel": "edit",
"href": "viewers/ContentViewer"
}]
},
{
"id": "viewers/VideoViewer",
"title": "VideoViewer",
"updated": "2013-11-19T21:40:16.332-05:00",
"summary": "VideoViewer",
"content": {
"src": "viewers/VideoViewer",
"content-type": "application/vnd.emc.xcp+json"
},
"links": [{
"rel": "edit",
"href": "viewers/VideoViewer"
}]
}]
}
4.116.2 Operations
Raw content operations:
Method Description
GET Download the binary stream of a Content or
Template instance
POST Upload the binary stream of a Content or
Template instance
GET
1. Get the view link of a Content or Template instance in the following pattern:
/contents/content-type/content-id/view?contentType=format
The viewer control (“xCP view single instance” on page 529) of the instance is
returned.
2. Access docURL of the viewer control:
/contents/content-type/content-id/stream?provider=viewer-provider
• Accept
• Authorization
None.
• Content-Type
• application/vnd.emc.xcp+json
• application/json (For compatible viewing)
204 - No Content
POST
1. Get the view link of a Content or Template instance in the following pattern:
/contents/content-type/content-id/view?contentType=format
The viewer control (“xCP view single instance” on page 529) of the instance is
returned.
2. Place the binary stream of the Content or Template instance in the request body
and POST to the following URI:
/contents/content-type/content-id/stream?provider=viewer-provider
&versionOptions=versionOption&contentType=contentType&comments=comment
application/vnd.emc.xcp+json
• Accept
• Authorization
• Content-Type
• Location
• Content-Length
• Content-Type
• application/vnd.emc.documentum+json
• application/json (For compatible viewing)
409 - Conflict.
4.117.3 Operations
A Lightweight Business Object resource supports the following HTTP methods.
Method Description
GET Retrieve a Lightweight Business Object
resource
POST Update a Lightweight Business Object
resource
DELETE Delete a Lightweight Business Object
resource
POST Reparent a Lightweight Business Object
resource to another shared parent resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The type link relation points to the type definition of the Lightweight Business
Object resource, through which you can retrieve an “xCP Lightweight Business
Object single type” on page 558.
POST
To update a Lightweight Business Object resource, send a POST request to the edit
link relation of that resource.
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation updates all fields specified in the request. However, if the request
body contains a field that is not presented in the corresponding DML type (“xCP
Lightweight Business Object single type” on page 558), the field is ignored.
• Repeating properties are processed as lists. If you update one of the values in the
list, the entire list is updated.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the Lightweight Business
Object resource, through which you can retrieve a “xCP Business Object Single
Type” on page 157.
DELETE
None.
Authorization
None.
None.
Empty
POST
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation updates all fields specified in the request. However, if the request
body contains a field that is not presented in the corresponding DML type (“xCP
Lightweight Business Object single type” on page 558), the field is ignored.
• Repeating properties are processed as lists. If you update one of the values in the
list, the entire list is updated.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the Lightweight Business
Object resource, through which you can retrieve a “xCP Lightweight Business
Object single type” on page 558.
• Null values are presented as an empty string (“”).
4.118.4 Operations
A Lightweight Business Object collection resource supports the following HTTP
method.
Method Description
GET Retrieve a collection of Lightweight Business
Object instances.
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• permissions
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the Lightweight Business
Object instance, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
4.119.3 Operations
A Business Object Type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of Lightweight
business object instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• auto
• disallow
• on-request
{
"name":"lw-business-object-type",
"type":"utapp21_orderrecord",
"label":"OrderRecord",
"parent":"types/lw-business-objects/xcp_rootlightweightbo",
"shared-parent":"types/business-objects/utapp21_customerrecord",
"materialization-option":"auto",
"properties":[{
"name":"order_number",
"label":"order_number",
"type":"string",
"length":64,"default-expression":"'OrderDefault'
"},{
"name":"order_amount",
"label":"order_amount",
"type":"float
"},{
"name":"order_date",
"label":"order_date",
"type":"datetime
"},{
"name":"order_shipped",
"label":"order_shipped",
"type":"boolean"
},{
"name":"order_details",
"label":"order_details",
"type":"string",
"length":64,"repeating":true
},{
"name":"order_itemscount",
"label":"order_itemscount",
"type":"integer","repeating":true
}],
"relationships":{"source":
[{"rel":"http://identifiers.emc.com/linkrel/source",
"name":"utapp21_orderrecord_localin",
"type":"types/relationships/utapp21_orderrecord_localin"},
{"rel":"http://identifiers.emc.com/linkrel/source",
"name":"utapp21_orderrecord_product",
"type":"types/relationships/utapp21_orderrecord_product"
}]},
"links":[{
"rel":"self","href":"types/lw-business-objects/utapp21_orderrecord"
},{
"rel":"http://identifiers.emc.com/linkrel/instances",
"href":"lw-business-objects/utapp21_orderrecord"
},{
"rel":"type"
},{
"rel":"edit"
},{
"rel":"canonical"
},{
"rel":"http://identifiers.emc.com/linkrel/delete"
},{
"rel":"http://identifiers.emc.com/linkrel/relations"
},{
"rel":"http://identifiers.emc.com/linkrel/materialize"
},{
"rel":"http://identifiers.emc.com/linkrel/dematerialize"
},{
"rel":"http://identifiers.emc.com/linkrel/reparent"
},{
"rel":"http://identifiers.emc.com/linkrel/shared-parent"
}]}
4.120.4 Operations
A Lightweight Business Object Type collection resource supports the following
HTTP method.
Method Description
GET Retrieve a collection of type definitions for
Lightweight Business Object instances
GET
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Lightweight Business Object instances, depending on the setting of the query
parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
4.121.3 Operations
A Lightweight content resource supports the following HTTP methods.
Method Description
GET Retrieve a lightweight content resource
POST Update a lightweight content resource
DELETE Delete a lightweight content resource
POST Reparent the lightweight content resource to
another specified shared parent object
POST Check out a lightweight content resource
POST Check in a lightweight content resource
POST Import a new version to a lightweight
content resource
GET
• view
• links
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• The type link relation points to the type definition of the Lightweight Content
resource, through which you can retrieve an “xCP Lightweight Content single
instance” on page 564.
POST
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
• This operation updates all fields specified in the request. However, if the request
body contains a field that is not presented in the corresponding DML type (“xCP
lightweight content single type” on page 580), the field is ignored.
• Repeating properties are processed as lists. If you update one of the values in the
list, the entire list is updated.
• To set an existing field to null, use one of the following patterns.
Null in XML: <<field-name>>
Null in JSON: "<field-name>" : null
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the Lightweight Content
resource, through which you can retrieve a “xCP lightweight content single
type” on page 580.
DELETE
To delete a Lightweight content resource, send a DELETE request to the delete link
relation of the resource with the following pattern:
lw-contents/<lw-content-type>/<objectID>
None
Authorization
None.
None.
HTTP 200 OK No Content status upon a successful delete operation. The response
body contains no content.
POST
To check out a Lightweight content resource, send a POST request to the checkout
link relation of the resource with the following pattern:
lw-contents/<lw-content-type>/<objectID>/lock
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
None.
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the Content resource,
through which you can retrieve a “xCP lightweight content single type”
on page 580.
• current-version
• next-major
• branch-version
• next-minor
Notes
• The request body must contain a reference to the content you uploaded by
using the “xCP File Upload Resource” on page 238 resource. To do this,
specify the full or relative URI of the uploaded content in source.
• To import a new version to a Lightweight content resource, append ?
retain-lock=true to the URL of the request. By doing this, the Lightweight
content remains locked (checked out), and a new version is imported to the
Content resource.
POST
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• Accept
• Authorization
• Content-Type
The request body contains a reference to the file you uploaded by using the “xCP
File Upload Resource” on page 238 resource and the metadata of the Content
resource.
</source>
</content>
{
"properties":
{ "r_version_label": [ "CURRENT" ] }
,
"source":"/files/680884ca-c104-4513-afde-aedc686ff3c3"
}
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
409 - Conflict
XML or JSON representation of the Lightweight Content resource that you check in:
• The type link relation points to the type definition of the Lightweight Content
resource, through which you can retrieve a “xCP lightweight content single
type” on page 580.
• Null values are presented as an empty string (“”).
4.122.4 Operations
A Lightweight Content collection resource supports the following HTTP method.
Method Description
GET Retrieve a collection of lightweight content
instances.
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• permissions
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the Lightweight Content
instance, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
4.123.3 Operations
A Lightweight content type resource supports the following HTTP method.
Method Description
GET Retrieve the type definition of lightweight
content instances
GET
None.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
4.124.4 Operations
A Lightweight Content Type collection resource supports the following HTTP
method.
Method Description
GET Retrieve a collection of type definitions for
Lightweight content instances
GET
• inline
• items-per-page
• page
• include-total
• sort
• Accept
• Authorization
None.
Content-Type
• application/atom+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the type definitions for
Content instances, depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
4.125.3 Operations
A Lightweight materialization object resource supports the following HTTP
methods.
Method Description
POST Materialize the lightweight object resource.
DELETE Dematerialize the lightweight object
resource.
POST
lw-business-objects/<lw-type-name>/<lw-object-id>/<materialization>
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
None.
• Accept
• Authorization
• Content-Type
None.
• Location
• Content-Length
• Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.documentum+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
409 - Conflict
• The type link relation points to the type definition of the Business Object
resource, through which you can retrieve a “xCP Business Object Single Type”
on page 157.
• Null values are presented as an empty string (“”).
DELETE
None.
Authorization
None.
None.
HTTP 204 No Content status upon a successful delete operation. The response body
contains no content.
4.126.3 Operations
A shared parent resource supports the following HTTP methods.
Method Description
GET Retrieves a collection of lightweight objects
of a given shared parent r-object-id.
POST Creates a lightweight object which shares the
given shared object. The minimum property
required in the payload is type. The payload
is used for creating contentless and
contentful lwso type.
• view
• links
204 - No Content
{ "type":"lwso-object-type-name" }
With Properties
{ "type":"lwso-object-type-name",
"properties" :{ "new_string":"xyz" }
}
409 - Conflict
• The type link relation points to the type definition of the shared parent resource,
through which you can retrieve a “xCP Business Object Single Type”
on page 157.
http://127.0.0.1:8000/xCP-App/files
Content-Type: multipart/form-data; boundary=314159265358979
--314159265358979
Content-Disposition: form-data; name=metadata
Content-Type: application/vnd.emc.documentum+json
{"properties": {"object_name": "xcp-rest"}}
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
This is the content
--314159265358979--
{"type":"utapp21_orderdocument","properties":{"object_name":"lwtest.txt"},
"source":"/files/3d4306ca-996a-47c5-a33f-df4fdc0f3fa9"}
• The file is renamed with the UUID (in the preceding example, 680884ca-
c104-4513-afde-aedc686ff3c3) to avoid collisions with other users that
upload files with the same name.
• A property file is created with the UUID as the file name (in the preceding
example, 680884ca-c104-4513-afde-aedc686ff3c3.properties). This
property file records the original file name and the user who uploads the content
file.
Note: The newly-uploaded file is only visible to the use who uploads it.
In addition to the Location header, this operation also returns a feed response, which
is designed for clients that are unable to read the headers. These clients can obtain
the location of the newly-uploaded file from the id property in entries.
{
"id": "files",
"title": "",
"updated": "2013-10-15T14:20:00.168-07:00",
"author": "OpenText Documentum",
"links": [{
"rel": "self",
"href": "files"
}],
"entries": [{
"id": "files/680884ca-c104-4513-afde-aedc686ff3c3",
"title": "dfc.properties",
"updated": "2013-10-15T14:20:00.168-07:00",
"summary": "dfc.properties",
"content": {
"src": "files/680884ca-c104-4513-afde-aedc686ff3c3",
"content-type": "application/vnd.emc.xcp+json"
},
"links": [{
"rel": "edit",
"href": "files/680884ca-c104-4513-afde-aedc686ff3c3"
}]
}]
}
4.127.3 Operations
A shared parent resource supports the following HTTP methods.
Refer to the operations of “xCP Lightweight Business Object collection” on page 555
and “xCP Lightweight Content collection” on page 577 collectively.
GET
• view
• links
• inline
• items-per-page
• page
• include-total
• sort
• permissions
• include-lwso—The default value is false. When the value is set as False, it returns
only the instances of shared parent resource. Otherwise, when the value is set as
True, it returns the instances of shared parent resource and instances of
materialized LWSO resource of the shared parent type.
• Accept
• Authorization
None.
Content-Type
• application/vnd.emc.xcp+xml
• application/vnd.emc.xcp+json
• application/xml (For compatible viewing)
• application/json (For compatible viewing)
204 - No Content
• Each instance may contain all or a set of properties of the shared parent instance,
depending on the setting of the query parameter view.
• The returned collection contains only those entries that you have access to.
• Pagination is supported.
• viewerCapabilities
• viewerControl
– attributes: specifies the attributes used when the system renders the viewer
control
– parameters: specifies the parameters used when the system renders the
viewer control