Hello,
Hapag-Lloyd is merging its Client Application from using Java API "cmb[icm]sdk.jar"
to the new Rest Service API available in CM version 8.7.
So far it looks like IBM implemented almost all necessary functions we previously used by Java API.
But to build up our dynamically attributes input mask for each itemtype for eventually creating a
search query, we miss an appropriate Rest Service Call.
Let me show an example by the (build in) Itemtype "XYZ_PolReport" which has an attribute "XYZ_ClaimNumber".
With Java API I can retrieve the following definitions of attribute:
description = "Claim Number (Content Manager Sample Attribute)"
Datatype = 109
charType = 205
length = 8
required = true
But I cannot find a Rest Service Call to gather that data from the various Itemtypes.
The Itemtype rest service call can provide a description from its name itself, but no attribute definitions?
When retrieving an Item with rest service I get indirectly some information, but no description name, what we use as a display name
for our input mask. However, we would be also interested in the meaning of type=1 or type=7 and other?
"attributes": [ { "name": "XYZ_ClaimNumber", "type": 1, "value": "6-987654" },
Summarized our questions about rest service API:
- Is there a rest call for attribute definitions of Itemtypes as mentioned above?
- We are interested in any additional information's besides the online documentation
https://www.ibm.com/docs/en/content-manager/8.7.0?topic=applications-working-rest-services and
besides the documentation available after installation "<host>/cm8app/cm8rest/v1/documentation"
Best regards, Timm Bergmann
------------------------------
Timm Bergmann
System Architect/Developer
Hapag-Lloyd AG
Hamburg , Germany
------------------------------