REST API payload query

Shantharao
Kilo Sage

Hello All,

Currently our client is expecting the "Telecommunications Network inventory (TNI)" implementations,

Can you please tell me the "standard payload" which will be used for the below tables,
TMF639 API related generic payload example, which can create inventory in the below tables

https://ServiceNowInstance.service-now.com/api/sn_ni_core/resource
https://ServiceNowInstance.service-now.com/api/sn_ni_core/resourceinventoryviatemplate"

Please provide the tested payload by using REST API explorer for multiple tables

  • Cable [cmdb_ci_cable]
  • Equipment Holder [cmdb_ci_equipment_holder]
  • Interface Card [cmdb_ci_interface_card]
  • IP Address [cmdb_ci_ip_address]
  • Logical Connection [cmdb_ci_ni_logical_path]
  • Network Interface [cmdb_ci_ni_interface]
  • Network Site [cmdb_ci_ni_site]
  • Physical Connection [cmdb_ci_ni_physical_link]
  • Strand [cmdb_ci_strand]
  • Topology [cmdb_ci_topology]

    Thanks
4 REPLIES 4

Tanushree Maiti
Tera Patron

Hi @Shantharao 

 

Refer this blog ->Open the table, Check the mandatory field , you can create testing payload for each table

https://vexpose.blog/2022/10/28/servicenow-cmdb-rest-api-tutorial/

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Hi Tanushree,

In the ServiceNow for Telcom(TNI) we have a dedicated APIs to create inventory in the CMDB table like below, 
CMDB related APIs are not required, I am expecting a sample standard and generic payload which will be useful for all inventory tables and its child tables.

 

https://ServiceNowInstance.service-now.com/api/sn_ni_core/resource
https://ServiceNowInstance.service-now.com/api/sn_ni_core/resourceinventoryviatemplate

 

Ankur Bawiskar
Tera Patron

@Shantharao 

what's your exact question?

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi @Ankur Bawiskar 
Below two are the Telcom related OOB APIs to create inventory in the ServiceNow CMDB tables which are related Telcom Scope Application

https://ServiceNowInstance.service-now.com/api/sn_ni_core/resource
https://ServiceNowInstance.service-now.com/api/sn_ni_core/resourceinventoryviatemplate

 There are many tables available in the Telcom for example below tables

  • Cable [cmdb_ci_cable]
  • Equipment Holder [cmdb_ci_equipment_holder]
  • Interface Card [cmdb_ci_interface_card]
  • IP Address [cmdb_ci_ip_address]
  • Logical Connection [cmdb_ci_ni_logical_path]
  • Network Interface [cmdb_ci_ni_interface]
  • Network Site [cmdb_ci_ni_site]
  • Physical Connection [cmdb_ci_ni_physical_link]
  • Strand [cmdb_ci_strand]
  • Topology [cmdb_ci_topology]

    My question is by using above two inbound APIs, I need to create inventory on anyone of the above tables with generic payload will be sufficient to share it with 3rd party inventory team.
    I am expecting a sample standard and generic payload which will be useful for all inventory tables and its child tables.
    Thanks