Hi Syed
Perhaps you are aware that the guidelines are being updated to add the use of JSON Path in queries, this might provide a more elegant solution to your use case.
Suggest you reach out to
@Florin Tene who created the proposal, he may be able to guide you here.
I'm not sure when the new guidelines are planned for publication.
Hope it helps.
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
------------------------------
Original Message:
Sent: Apr 24, 2020 03:04
From: Syed Javed
Subject: Regexp expression usage with attribute filtering
Hi All,
I have query on implementing the query resources with attribute filtering...
I need to implement following scenarios:
1. Filter the records with attribute having the exact match like 'givenName=John'
2. Filter the records where the givenName like John (include starts with and ends with)
how the query param should look like for the above filters?
I am referring to TMF630 Part 1 and came up with the following values
1. For exact match/party/v4/individual/?givenName=John
2. For likestarts with
/party/v4/individual/?givenName*=John*
ends with
/party/v4/individual/?givenName*=*John
value contains
/party/v4/individual/?givenName*=John
I couldn't find any exact example for the #2 (Like) .. but there is the table in TMF630 Part 1 page #35 where they specified the operator literal to be used use '**= regex*'
Please Confirm whether this is the correct approach or if you have any sample please do share...
------------------------------
Syed Javed
Oracle Corporation
------------------------------