In a Workflow, I receive a BOD with an IDM CorrelationID and I need to update the Attributes of the IDM Document associated with the CorrelationID. To do so, I need to find the PID of the IDM document using the CorrelationID.
I’m trying to make the API “Search for one item by SearchQueries” to retrieve the PID.
I do not understand the requested arguments and been trying to find the documentation. Does anyone know where to find the documentation or how to make the search query with the proper values?
The following xquery does work: /AP_Trade_Invoice[@CorrelationID = "c640b8d9-5797-4f15-b22f-e832fa7773244"]
{
"queries": {
"query": [
{
"entities": "AP_Trade_Invoice",
"useTextSearch": true,
"arguments": {
"argument": [
{
"key": "CorrelationID",
"operator": "sb90",
"value": "c640b8d9-5797-4f15-b22f-e832fa7773244",
"logicalType": "="
}
]
}
}
]
}
}