Find rights by child contact
POST - https://ris.rightsline.com/v4/right/search
{
"query": {
"$and": [
{
"$eq": [
"templateid",
1 // filter by a specfic rights template ID
]
},
{
"$join": [
0,
"childrecordid",
"recordid",
{
"$and": [
{
"$eq": [
"childchartypeid",
3
]
},
{
"$join": [
0,
"parentrecordid",
"relrecid",
{
"$and": [
{
"$eq": [
"childchartypeid",
2
]
},
{
"$eq": [
"parentchartypeid",
0
]
},
{
"$eq": [
"childrecordid",
{CONTACT_ID} // replace with the contact record ID
]
}
]
}
]
}
]
}
]
}
]
},
"start": 0,
"rows": 100
}
PreviousFind rights on catalog itemNextSearch for all records that don't have a value for a specific field
Last updated