REST API not able to populate choice value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-05-2018 04:12 AM
Hi All,
I am using REST API to insert/update data in Windows Server (cmdb_ci_win_server).
In Opertaion system (os) column if API found existing value it is selected properly but if no matched value exist in system it will not updating value.
{
"name":"desktop-i1frftf-3",
"os":"Microsoft Windows 10 Home",
"operational_status":"1"
}
but if we run from background for update/insert, if os value does not exist in choice list it will inserted by script but it's showing in blue.
In this image first record is inserted by background Script. Second record inserted by REST API.
I hope REST API also insert data in system in same way as inserted by background Script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2018 04:36 AM
Dear Author,
Please close this thread by marking the appropriate answer as correct. There is a way to search of solutions in community using threads that have been already answered. If this thread is not closed, then other community members may not even find this thread.
Please let us know if you have additional questions. If you have a question that is not realted to this thread, then please open a new thread.
Thank you,
Aman Gurram