cancel
Showing results for 
Search instead for 
Did you mean: 

Import Function for 0 to N Cardinality

Former Member
0 Kudos

Hello,

I am trying to create an import function to invoke the EXECUTE_ACTION function. It is invoked when the import function has a cardinality of 1; however, when I change it to 0..n I get this error:

<message xml:lang="en">The specified HTTP method is not allowed for the resource identified by the Data Service Request URI</message>

I made sure the function has POST method type while I request a POST service. Any idea why this error is happening and how I can fix it?

Cheers

Accepted Solutions (1)

Accepted Solutions (1)

AshwinDutt
Active Contributor
0 Kudos

Hello Jasim,

As far as i know the error is valid.

My understanding is when ever we set the cardinality 0..n or 1..n , we will have to specify the return entity set and this is needed when wet set the HTTP method to GET.

But with methods POST/PUT/DELETE, we would act upon on an entity and return type is expected is also an entity.In those cases we set cardinality 0..1 or 1 and we specify return entity only.

Regards,

Ashwin

Former Member
0 Kudos

I see. Thanks for the clarification!

Answers (0)