Hybrid App DCN Request Response

After processing of the Hybrid App DCN request, SAP Mobile Server sends the response to notify the caller whether the request was processed successfully.

The response includes two parts:

  1. The result of processing the Hybrid App request.
  2. The result of processing the general DCN requests.

The response is also in a JSON format string:

{ 
<wf dcn result>    
"result":
  [
	{
     <general dcn result>	
	},
	{
     <general dcn result>
	}
  ]
}
An example response is:
{ 
    "id":"1",
"success":false,
"statusMessage":"there is error in processing dcn",
"result":
  [
	{
	"id":"1",
	"success":true,
	"statusMessage":""
	},
	{
	"id":"2",
	"success":false,
	"statusMessage":"bad msg2"
    }
  ]
}