Case Search uses a single configuration end point found at
The configuration end point should have the following format:
function(params, credentials) {
return {
optionsEndpoints: [{
name: "Sizes",
endpoint: "goss.CaseManagement.testing.CaseSearch.sizes"
}, {
name: "Colours",
endpoint: "goss.CaseManagement.testing.CaseSearch.colours"
}, {
name: "Shapes",
endpoint: " goss.CaseManagement.testing.CaseSearch.shapes"
}]
};
}
Where
Each end point defined in the configuration should return an array of arrays, which is the format used in iCM forms for group options (see How Options Work) in the forms knowledge base.
For example, in the snippet above, the "Colours" end point returns:
{
"id": 1523,
"result": [
["Red", "Red"],
["Green", "Green"],
["Blue", "Blue"],
["Yellow", "Yellow"]
],
"jsonrpc": "2.0"
}
Note that it is not possible to pass parameters to these end points