on 01-10-2018 5:55 AM
Dear Friends,
I have a OData Service with Create_entity method to insert a record. Getting error while testing from Gateway Client, please find the attached error screen and suggest me. odataserviceerror.jpg
Method: Post
URI: /sap/opu/odata/SAP/ZHCM_SR_CREATE_SRV_SRV/CREATESRSet(Srqno='1000000000')
Error: The specified HTTP method is not allowed for the resource identified by the Data Service Request URI
Thanks,
Prasad.
In creation request, the key shouldn't be set... it is logic because the purpose of creation request is to create a new key. Your URL should be :
/sap/opu/odata/SAP/ZHCM_SR_CREATE_SRV_SRV/CREATESRSet
Try this 😉
Regards,
Joseph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes you are correct, I re-created OData and used above URI, its working fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.