Difference between CMDB Instance API and Table API

Mason Angus
Giga Contributor

I have a quick question here about CMDB Instance API and Table API. It says in the CMDB Instance API documentation you use this for CRUD operations on CMDB related tables. But since all of these CMDB related tables are just tables after all, why can't I just use the Table API? Or am I wrong in assuming they are "just tables"? Thanks 🙂

1 ACCEPTED SOLUTION

Noah Drew
ServiceNow Employee
ServiceNow Employee

Hi @Mason Angus !

I believe that you are correct and could likely accomplish anything that the CMDB instance API can do with the Table API.

It may be more difficult as the CMDB instance API has a sort of "specialty" for CMDB records.

It provides parameters unique to the CMDB such as "className" that you are able to specify.

Hope that helps!

If it did, please mark as Helpful and consider setting this reply as the Correct Answer to the question, thanks!

View solution in original post

2 REPLIES 2

Noah Drew
ServiceNow Employee
ServiceNow Employee

Hi @Mason Angus !

I believe that you are correct and could likely accomplish anything that the CMDB instance API can do with the Table API.

It may be more difficult as the CMDB instance API has a sort of "specialty" for CMDB records.

It provides parameters unique to the CMDB such as "className" that you are able to specify.

Hope that helps!

If it did, please mark as Helpful and consider setting this reply as the Correct Answer to the question, thanks!

VaranAwesomenow
Mega Sage

CMDB instance API is a tailor made feature to interact with CMDB, its way powerful than table API.

To learn more : https://www.servicenow.com/community/now-platform-articles/varan-explains-cmdb-instance-api/ta-p/237...