---
sourceDocument: Xanadu API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Resource Inventory Open API Developer Guide

# Resource Inventory Open API Developer Guide {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Use the Resource Inventory Open API to create, retrieve, update, and delete resources such as interface cards, logical and physical connections, network sites, and more.

This developer guide provides information on how to extend the [Resource Inventory Open API](https://servicenow-prod.fluidtopics.net/f4Hm18gG0RQ3oArGQ8wiyQ#resource-inventory-api "The Resource Inventory Open API provides endpoints to create, retrieve, and delete resources.") to make various customizations.

## Extending the Resource Inventory Open API {#ariaid-title2}

The Resource Inventory Open API can be extended using extension points and script includes.

### Extension points {#extend-resource-inv__section_cry_5my_dyb}

The Resource Inventory Open API includes extension points that can be used to modify the existing schema for the API, which defines required parameters. Extension points can also be used to add new parameters and
map them to fields on the ServiceNow AI Platform, or to change the mapping for existing parameters. For example, you can add new resource characteristics and map them to the appropriate fields.  
The following extension points are included with the Resource Inventory Open API.

* TNITMFResourceInventoryAPICreateResource: Extension point to create a resource.
* TNITMFResourceInventoryAPIPatchResource: Extension point to update a resource.
* TNITMFResourceInventoryAPITransformToIREPayload: Extension point to create an Identification and Reconciliation engine (IRE) payload from a TMF request.
* TNITMFResourceInventoryAPITransformToResponse: Extension point to create a TMF response from a resource GlideRecord.
* TNITMFResourceInventoryAPIValidateCreate: Extension point to validate a TMF POST request.
* TNITMFResourceInventoryAPIValidatePatch: Extension point to validate a TMF PATCH request.
{#extend-resource-inv__ul_qf1_jly_dyb}

### Script includes {#extend-resource-inv__section_rs2_ymy_dyb}

Use script includes to override the default validation and transformation functions. Default functions are defined in the sn_ni_core.TNITMFResourceInventoryProcessorOOB script include. To override the default
functions, create functions with identical names and parameters in the sn_ni_core.TNITMFResourceInventoryProcessor script include.

