JSON format example for multi select field

anuannap123
Tera Contributor

I want to pass multiple values for multi select field in Multiple record Import using Import set api.

Can someone guide me the JSON example format for multi select field

1 ACCEPTED SOLUTION

Runjay Patel
Giga Sage

Hi @anuannap123 ,

 

It could be something like below.

{
  "u_name": "Test Record",
  "u_multi_select_field": "Option1,Option2,Option3"
}

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

View solution in original post

9 REPLIES 9

Hardik2109
Tera Guru
{
"sys_id": "unique_sys_id",
"multi_select_field": ["Value 1", "Value 2", "Value 3"]
}


Replace "unique_sys_id" with the actual sys_id of the record you're importing.
"multi_select_field" should be replaced with the actual field name of your multi-select field.
The values within the array (["Value 1", "Value 2", "Value 3"]) are the options selected in the multi-select field.


This format can be used in your Import Set payload when passing data for multi-select fields.

Runjay Patel
Giga Sage

Hi @anuannap123 ,

 

It could be something like below.

{
  "u_name": "Test Record",
  "u_multi_select_field": "Option1,Option2,Option3"
}

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

this worked thank you Runjay

helpful answer