Community articleECM Document Types Labels API
Added by IBM contributorIBM on March 26, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

No abstract provided.
This API is for getting all existing labels for one or all ECM document types for a given locale.
The locale used is the one received in the HTTP request (The preferred Locale that the client will accept content in, based on the Accept-Language header. If the client request doesn't provide an Accept-Language header, this method returns the default locale for the server).
Note: The document type IDs are found on search results entries representing ECM files.


The order of the parameters in the requests do not matter. The parameter names are case-sensitive; they must be entered in the format documented. Any unknown or unsupported parameters submitted as part of a request will be ignored.

The response is in json format. It contains a json object mapping ID->label
Method URI Description
GET /search/json/labels Get all existing labels for one or all ECM document types for a given locale.
Name Type Optional Description
string Yes The ID of the document type for which we're requesting the label.

This parameter is optional. When specified, only the label matching this document type's ID will be returned. Otherwise, labels of all document types will be returned.
Content Type: application/json

Response returned by the server

Response returned by the server