How to add a new variable to a existing catalog item using rest API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2023 01:33 AM
How to add a new variable to a existing catalog item using rest API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2023 01:53 AM
I have used post man and the result shows created but I don't see the changes done on the catalog item
{
"result": {
"sys_mod_count": "0",
"description": "",
"default_value": "",
"sys_updated_on": "2023-10-07 08:47:03",
"sys_tags": "",
"type": "short_text",
"mandatory": "true",
"sys_class_name": "sc_cat_item_option",
"sys_id": "xxxxxxxxxxxxxxxxx5395604bcbbd",
"sys_package": {
"link": "https://xxxxxxxxxxxxxxx.service-now.com/api/now/table/sys_package/global",
"value": "global"
},
"cat_item": {
"link": "https://xxxxxxxxx.service-now.com/api/now/table/sc_cat_item/xxxxxxxxxxx395604bcb7f",
"value": "xxxxxxxxxxxxxxxxxxxxxxxxxx4bcb7f"
},
"sys_update_name": "sc_cat_item_option_xxxxxxxxxxxxxxxxx5395604bcbbd",
"sys_updated_by": "xx",
"multiple_choices": "",
"sys_created_on": "2023-10-07 08:47:03",
"name": "test12",
"sys_name": "test12",
"choice_prices": "",
"sys_created_by": "xxxx",
"order": "100",
"sys_policy": ""
}
}