This API is for getting all existing labels for all properties of an 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 request should be a standard HTTP GET command.
- The ID of the document type for which we're requesting the property labels.
This parameter is mandatory. It is used for determining the document type whose properties' labels will be returned.
- Get labels of locale for the document type with ID (3F2EE8A3...): search/json/labels/properties?ecmDocumentType=3F2EE8A3-95EA-4009-9FAC-2F25BAC07DE0;F9A1F1E9-354B-49C5-AEC5-8FC81F2B3A11
The response is in json format. It contains a json object holding an array of property object.
The property object contains mapping of the properties' attribute->value.
Among the property attributes, you can find the label (see bolded text in example below)