- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2023 06:11 AM
Hey all,
So I'm trying to query the label_entry using curl with the rest API.
I'm trying to filter with sysparm_query. The entries have a nested JSON in the response called "label". This json entry has 2 values, link, and value. I'm trying to filter by the value, but nothing seems to be working. It looks something like:
"label" {
"link": "https://url",
"value": "somehashxxyaxyz"
}
curl -sk https://domain.service-now.com/api/now/table/label_entry?sysparm_query=label.valueLIKEsomehash
is what I've been trying with no luck. Any help would be greatly appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2023 05:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2023 12:24 PM
Bump.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2023 05:22 AM