Servicenow api to filter data using request_for filed

Phanikanth
Kilo Contributor

HI Team,

I want to filter query using "u_requested_for" and in the below snapshot  contains display_value,how to filter using display value. Please suggest the query to get the u_requested_for

https://****.service-now.com/api/now/table/sc_req_item?number=RITM0016087&sysparm_display_value=true&u_requested_for=Selina Forte

find_real_file.png

1 ACCEPTED SOLUTION

@Phanikanth 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can give query using sysparm_query

https://****.service-now.com/api/now/table/sc_req_item?number=RITM0016087&sysparm_display_value=true&sysparm_query=u_requested_for.name=Selina Forte

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@Phanikanth 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader