cancel
Showing results for 
Search instead for 
Did you mean: 

RAP: Deep insert OData V2, select for OData V4

gwerner
Participant
795

Hello,

I develop a unmanged OData Service. But OData V4 does not support deep insert/update. I want to the following:

  1. Generate Web API OData V2 Service for deep insert/update
  2. Generate Web API OData V4 to use the full functionality for requests.

    Make that sense or can that cause problems?

Thank you!

Gunter

Accepted Solutions (0)

Answers (1)

Answers (1)

Renzo
Product and Topic Expert
Product and Topic Expert

Hi Gunter, thanks for your question.

I assume if you mention RAP and "unmanaged" OData service you refer to an "unmanaged" behavior definition implementation and an OData service exposed via service binding (which is "managed" by design).

"deep insert" is supported both for OData V2 as well as OData V4. In RAP it is handed over to the provider always via content id references (%CID) (same if you would define the OData request via content id references instead of "deep").

"deep update / upsert" is an OData V4 only feature and not yet available in the available released. It is a planned feature for a future release.

Recommendation for new Web API services is to rather use OData V4 as it offers richer functionality.