Understand how the EIS fetches pending operations from SAP Mobile Server using SAP Mobile Server HTTP services.
http://domain:port/end2end.rdb:1.0/PendingOperations?username=test& remoteId=cc134c3a-1e7b-41cf-821c-900ec61eef91&$skip=0&$top=10All parameters are optional. If username and remoteId are not provided, SAP Mobile Server returns all pending operations for the package. Successful invocation generates get response 200 OK with the entity set in JSON format in the response body:
[ {"data":"{\"id\":1,\"lname\":\"lname2\",\"fname\":\"fname1\",\"id1\":3520011}", "entityName":"topicCustomer","operation":"ChangeNameNeedManager","requestId":3520012, "remoteId":"582b509f-677e-4879-b1fb-d2e0f11d9deb","username":"test"}, {"data":"{\"id\":2,\"lname\":\"lname4\",\"fname\":\"fname3\",\"id1\":3520013}", "entityName":"topicCustomer","operation":"ChangeNameNeedManager","requestId":3520014, "remoteId":"582b509f-677e-4879-b1fb-d2e0f11d9deb","username":"test"} ]
http://domain:port/end2end.rdb:1.0/UpdatePendingOperationswith this put string:
{"data":[ {"success":false,"requestId":13930007,"errorMessage":"It must fail!","eisCode":"1234"}, {"success":false,"requestId":13930009,"errorMessage":"It must fail!","eisCode":"1234"}, {"success":true,"requestId":13930008}]}