API for Creating Business Application to CMDB_CI Relationship
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2015 01:31 PM
I am working with access to the WebServices REST/SOAP api for our Service Now platform.
Currently, I am creating CI's and now want to be able to link them to a Business Application (BAPPxxx).
The mapping is similar to the following:
u_cmdb_ci_business_app -> Business Application (predefined)
u_cmdb_ci_business_enviro -> Business Application Enviornment (Prod, QA, Dev, etc.)
u_enviro_rel_instance -> Maps the Business Application Environment to the cmdb_ci_appl
u_cmdb_ci_appl -> the CI Application (ex. Linux Red Hat@servername)
u_cmdb_ci_linux/windows -> the CI for linux or windows.
Now, in terms of the API, I'm not seeing the ability to do inserts
a) into the u_cmdb_ci_appl table to create the CI Application
b) into the u_enviro_rel_instance to create the link between that CI Application and a predefined u_cmdb_ci_business_enviro
Also, I'm not seeing a getRecords query that returns all the associations (the parent/child) in the u_enviro_rel_instance and u_cmdb_ci_business_enviro tables when I query a specific sys_id for the table.
Is it possible to do this query through the API? Also, is it possible to update the tables via the API to create new parent child relationships?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2015 06:21 AM
Came to answer a question and got some useful information instead. Thanks, Tony.