- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2022 09:12 AM
Hi Experts,
we are using scripted Rest API to create a requested item.
I am able to insert values for all the variables except multirow variables.
Can anyone suggest on how to achieve this ?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2022 09:45 AM
You can follow below article for correct MRVS format:
{
"sys_id" : "039c516237b1300054b6a3549dbe5dfc",
"sysparm_quantity" : "1",
"variables" : {
"slt" : "slt_value",
"slt2" : "slt2_value"
"mrvs" : "[{\"slt3\" : \"slt3_value\"}]"
}
Populate variable set variables via REST for Service Catalog API
Also:
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2022 09:45 AM
You can follow below article for correct MRVS format:
{
"sys_id" : "039c516237b1300054b6a3549dbe5dfc",
"sysparm_quantity" : "1",
"variables" : {
"slt" : "slt_value",
"slt2" : "slt2_value"
"mrvs" : "[{\"slt3\" : \"slt3_value\"}]"
}
Populate variable set variables via REST for Service Catalog API
Also:
Aman Kumar