127k views
1 vote
What are the operations supported by odata adapter in cpi?

2 Answers

4 votes
The OData adapter allows you to communicate with an OData API using OData protocol. You use messages in ATOM or JSON format for communication. This OData adapter uses OData V2 message protocol. In the sender channel, the OData adapter listens for incoming requests in either ATOM or JSON format.
User Marc Nuri
by
8.7k points
6 votes

Answer:

The OData adapter in CPI (Cloud Platform Integration) supports various OData operations, including:

1. Querying: The adapter allows you to query data from an OData service using the OData Query Language. You can filter, sort, and page through large datasets using this operation.

2. Create: The adapter supports creating new records in an OData service using the POST method. You can specify the entity set and properties of the new record in the request body.

3. Update: The adapter allows you to update existing records in an OData service using the PATCH or PUT method. You can specify the entity set, key, and updated properties in the request body.

4. Delete: The adapter supports deleting records from an OData service using the DELETE method. You can specify the entity set and key of the record to be deleted in the request URL.

5. Batch: The adapter also provides support for batch requests, which allow you to perform multiple OData operations in a single HTTP request. This can improve performance and reduce network overhead.

Overall, the OData adapter in CPI provides comprehensive support for working with OData services, allowing you to easily integrate with a wide range of applications and services.

User Tigran Sarkisian
by
7.7k points