Triggering UI Action through Rest Api
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2022 06:41 AM
I'm trying to trigger UI action through the Rest API call. How can I trigger UI action present on the Table level and not the record level. Being at the table level, 'sysparm_sys_id' is not available. This is causing the rest call to fail with the below error:
{
"error":{
"message":"A JSONObject text must begin with '{' at character 0 of ",
"detail":"A JSONObject text must begin with '{' at character 0 of "
},
"status":"failure"
}
URI - https://xyz.service-now.com/api/now/ui/ui_action/5dcda6a8db588c10219f904bdb961911?sysparm_table=u_cid_configuration_parameters_list&sysparm_sys_id=&api=api
body - { "fields": [ { "sys_id": "" } ] }
is this even possible to perform it on table-level UI Action?
Labels:
- Labels:
-
Scripting and Coding
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2023 06:43 AM
Hi Sai,
Can we call a Ui action which is on the form level via API call?
for example : transfer case ui action on HR Case table