Send parameters of Service operation in body
Currently, service operation requires parameters passed in query string even in case of POST request. Batch request can avoid the limitation of query string length, but it still has limitation of System.Uri class (64Kib) on client and server sides of custom data service.
So, we can't serialize complex data and pass it as input parameter of service operation without small size limitation.
As Ralf says, “This is part of OData 4.0, see http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part1-protocol.html#_Toc360208376”
This is part of OData 4.0, see http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part1-protocol.html#_Toc360208376
Glenn Gailey commented
I voted for this too, but in the meantime, you can workaround this by using a GET request with batching in the WCF Data Services client (http://blogs.msdn.com/b/writingdata_services/archive/2011/07/05/uploading-data-to-a-service-operation.aspx). I agree that to really by REST, such an operation needs to be a POST, ideally with data in the message body.