Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Attempt of using $link operation in XSOData leads to error. Why?

$
0
0

Hi,

 

I have exactly the same problem with a HANA v102:

MERGE AuftragSet('a12d824a-f0e2-43ba-9698-ad6cc0e9fbf9')/$links/ChecklistenPositionSet HTTP/1.1 Accept: application/json Accept-Language: en DataServiceVersion: 2.0 MaxDataServiceVersion: 2.0 x-csrf-token: 413AE8836757A342B894E9E771384BF7 Content-Type: application/json Content-Length: 265 {"uri":"https://s11hanaxs.hanatrial.ondemand.com:443/s0013822703trial/etavis/services/etavis.xsodata/AuftragChecklistenPositionSet(ChecklistenPosition.ChecklistenNummer=1,ChecklistenPosition.ChecklistenPosition=1,Auftrag.ID='a12d824a-f0e2-43ba-9698-ad6cc0e9fbf9')"}


results in "The URI is not valid for PUT operation. The URI must point to a single resource for PUT operations." and


using POST instead of MERGE gives "Modification not possible."


IMHO inserting the link into the set needs POST, or?


Any ideas?


Regards,

Wolfgang


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>