on ‎2023 Nov 06 8:40 AM
Hi all,
is it possible to enable create/update operations for custom External APIs?
Documentation does not state anything about it, all docs/demos end with a view in the browser.
When I call the API the response basically says:
<app:collection sap:creatable="false" sap:updatable="false" sap:deletable="false" sap:contentversion="1" href="YY1_RWETest">I didn't find anything in the creation process where I could change that.How to create/update data of custom business objects via external API?
Request clarification before answering.
Yes, create and update operations are possible for custom External APIs, but with important distinctions based on the type of custom object you're working with.
Full CRUD operations are supported for Custom Business Objects. This includes:
You can also use batch operations to load datasets in a single API call, which is particularly useful for bulk data operations.
For updating Custom Business Objects via External API, refer to the SAP Help documentation on "Updating Business Object Instances with an OData Request".
Custom CDS Views created for External API scenarios are read-only. The External API scenario for Custom CDS Views only supports:
Create, update, and delete operations are not supported for Custom CDS Views exposed as External APIs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 36 | |
| 26 | |
| 20 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.