Question
The relations contain multiple RoleCode attribute values. one is OV:false (OWN) and one is OV:true (PRB)
"label": "Primary Beneficiary",
"value": {
"RoleCode": [
{
"type": "configuration/relationTypes/OrgToAccount/attributes/Roles/attributes/RoleCode",
"ov": true,
"value": "Primary Beneficiary",
"lookupCode": "PRB",
"lookupValue": "Primary Beneficiary",
"uri": "relations/3P9Ahh8A/attributes/Roles/6C1VfISBK/RoleCode/eLxG46N"
}
],
{
"label": "",
"value": {
"RoleCode": [
{
"type": "configuration/relationTypes/OrgToAccount/attributes/Roles/attributes/RoleCode",
"ov": false,
"value": "Owner",
"lookupCode": "OWN",
"lookupValue": "Owner",
"uri": "relations/3P9Ahh8A/attributes/Roles/6C1VfHDSg/RoleCode/28HmxStfK"
}
],
When you export relations with the ovOnly parameter set to true, only attributes with ov=true should be included in the export.
API
https://<environment>.reltio.com/jobs/export/<tenantId>/relations?exploded=true&distributed=true&fileFormat=JSON'
Request Body
{
"ovOnly" : true,
"includeType":["configuration/relationTypes/OrgToAccount"],
"fileFormat": "JSON",
"filter": "equals(attributes.Roles.RoleCode,'OWN') and equals(uri, 'relations/3P9Ahh8A')"
}
Answer
To receive only OWN ov: true in the export output, please use searchByOv and ovOnly.
Resource
https://docs.reltio.com/en/integrate/load-and-export-data/export-data-using-reltio-export-service/export-relations
Comments
Please sign in to leave a comment.