How to get Priority level list in incident form via rest API ?

Deepak Paradhi2
Kilo Explorer

We want to list of Priority level like (P1 - High ,P2 - Low ,P3 - Critical etc..)

find_real_file.png

1 ACCEPTED SOLUTION

Kieran Anson
Kilo Patron

Hi Deepak,

you can use the following endpoint

instance-name.service-now.com/api/now/ui/meta/incident

find_real_file.png

View solution in original post

4 REPLIES 4

Kieran Anson
Kilo Patron

Hi Deepak,

you can use the following endpoint

instance-name.service-now.com/api/now/ui/meta/incident

find_real_file.png

Sebastian L
Mega Sage

Not sure of your exact requirement, but you could use this endpoint to get the priority on choice table and querying e.g. task. Change the name according to the table, if different values have been configured.:

instance-name.service-now.com/api/now/table/sys_choice?sysparm_query=name=task^element=priority

 

Otherwise Kierans suggestion is fine to get not only that data, but all fields relating to the incident table. 


Best regards,
Sebastian Laursen

find_real_file.png

 

how to get only form design field instead of all fields via rest api?

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

your question is not clear.

Can you explain your complete business requirement?

Regards
Ankur

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