> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# OData

> Connect to an HTTPS OData V2 service to discover metadata and work with its exposed entity sets.

![OData logo](https://mintcdn.com/composio-preview/gqjBKmmJCINafaiK/images/toolkits/odata.svg?fit=max\&auto=format\&n=gqjBKmmJCINafaiK\&q=85\&s=0630973042c6ba8146ab9d05ba1d0a36)

* **Category:** databases
* **Auth:** BASIC
* **Composio-managed OAuth available?** N/A
* **Tools:** 7
* **Triggers:** 0
* **Slug:** `ODATA`
* **Version:** 20261101\_00

## Tools

> [accordion] Create Entity
>
> **Slug:** `ODATA_CREATE_ENTITY`
>
> Create one entity or a bounded tree of new related entities in exactly one OData V2 POST. Use ODATA\_GET\_ENTITY\_SCHEMA for navigation target, multiplicity, accepted input shape, and static or state-dependent deep-insert guidance. This does not support URI bindings or \$expand.
>
> #### Input Parameters
>
> **data** `object` *required*
>
> One metadata-validated entity object. It may include declared navigation properties for a bounded OData V2 deep insert: collection input uses \{'results': \[entity, ...]} (a bare array is accepted and normalized), while multiplicity 0..1 or 1 requires one object. Structural values and every nested entity are checked against CSDL types, facets, nullability, target entity-set create permission, and SAP create restrictions. URI bindings, metadata/deferred members, and undeclared fields are rejected.
>
> **entity\_name** `string` *required*
>
> Exact entity-set name returned by ODATA\_LIST\_ENTITIES with effective create permission; this is not a URL or path.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Entity
>
> **Slug:** `ODATA_DELETE_ENTITY`
>
> Delete one metadata-keyed OData V2 entity using HTTP DELETE when metadata permits it. Provider behavior determines the outcome of deletion.
>
> #### Input Parameters
>
> **etag** `string`
>
> Opaque ETag previously returned by the service. It is sent unchanged as If-Match; '\*' is rejected and omission sends no If-Match header.
>
> **keys** `object` *required*
>
> Object containing exactly every CSDL key property with values compatible with their declared EDM types; do not pass a formatted key predicate.
>
> **entity\_name** `string` *required*
>
> Exact entity-set name returned by ODATA\_LIST\_ENTITIES with effective applicable HTTP DELETE permission; this is not a URL or path. If metadata forbids DELETE, some providers instead expose update-based or business-specific logical deletion, but there is no universal remap.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Entity
>
> **Slug:** `ODATA_GET_ENTITY`
>
> Retrieve one metadata-declared OData V2 entity by its complete typed key and optionally project selected structural properties.
>
> #### Input Parameters
>
> **keys** `object` *required*
>
> Object containing exactly every CSDL key property with values compatible with their declared EDM types; do not pass a formatted key predicate.
>
> **select** `array`
>
> Exact metadata-declared structural property names to return; navigation properties and \$expand are not accepted.
>
> **entity\_name** `string` *required*
>
> Exact addressable entity-set name returned by ODATA\_LIST\_ENTITIES; this is not a URL or path.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Entity Schema
>
> **Slug:** `ODATA_GET_ENTITY_SCHEMA`
>
> Return normalized CSDL keys, structural properties, navigation relationships, and effective restrictions for one exact entity set in the connected OData V2 service.
>
> #### Input Parameters
>
> **entity\_name** `string` *required*
>
> Exact entity-set name returned by ODATA\_LIST\_ENTITIES; this is a metadata identifier, not a URL or path.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Entities
>
> **Slug:** `ODATA_LIST_ENTITIES`
>
> Validate the connected OData V2 service and list its metadata-declared entity sets, ordered keys, and effective query and write restrictions.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Query Entities
>
> **Slug:** `ODATA_QUERY_ENTITIES`
>
> Return exactly one bounded page from a metadata-declared OData V2 entity set using validated filtering, projection, and ordering; expansion is not supported.
>
> #### Input Parameters
>
> **filter** `string`
>
> OData V2 filter expression validated against metadata properties and SAP filter restrictions.
>
> **select** `array`
>
> Exact metadata-declared structural properties to return. Navigation properties and expansion are not accepted.
>
> **order\_by** `array`
>
> Sortable properties, each optionally followed by asc or desc, for example \['CreatedAt desc'].
>
> **page\_size** `integer`
>
> Maximum records to request for this single page, from 1 through 100.
>
> **page\_token** `string`
>
> Opaque continuation token returned by a previous call for the same entity and query; do not construct or modify it.
>
> **entity\_name** `string` *required*
>
> Exact addressable entity-set name returned by ODATA\_LIST\_ENTITIES; this is not a URL or path.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Entity
>
> **Slug:** `ODATA_UPDATE_ENTITY`
>
> Partially update one metadata-declared OData V2 entity through POST method tunneling with MERGE semantics. The provider must support method tunneling for the request to have those semantics.
>
> #### Input Parameters
>
> **data** `object` *required*
>
> Non-empty structural-property subset validated against CSDL types, facets, nullability, and update restrictions.
>
> **etag** `string`
>
> Opaque ETag previously returned by the service. It is sent unchanged as If-Match; '\*' is rejected and omission sends no If-Match header.
>
> **keys** `object` *required*
>
> Object containing exactly every CSDL key property with values compatible with their declared EDM types; do not pass a formatted key predicate.
>
> **entity\_name** `string` *required*
>
> Exact entity-set name returned by ODATA\_LIST\_ENTITIES with effective applicable update permission; this is not a URL or path.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
