Data change notifications (DCNs) with payload directly update the Unwired Server cache, either with the built-in, direct cache-affecting operations :upsert (update or insert), or with :delete.
DCN with payload requires a JavaScript Object Notation (JSON) string (dcn_request) that contains one or more :upsert and :delete operations that are applied to the Unwired Server cache (CDB).
See Extending Data Change Notification to Mobile Workflow Clients and Workflow DCN Design Approach and Sample Code for WF-DCN differences and examples.
http://unwired_server_host:unwired_server_port(default 8000)/dcn/DCNServlet ? cmd=dcn &username=userName &password=password &domain=domainName &package=unwired_server_PackageName &dcn_request={"pkg":"dummy","messages":[{"id":"1","mbo":"CustomerWithParam","op":":upsert","cols":{"id":"10001","fname":"Adam"}}]} &dcn_filter=fully_qualified_name_of_dcn_filter
base64encode("{\"username\":\"supAdmin\",\"password\":\"test\"}");
this DCN contains a single :upsert operation that updates or inserts (upserts) data in the Unwired Server cache for the Department MBO.
http://dsqavm5:8000/dcn/DCNServlet?cmd=dcn&username= supAdmin&password=supPwd&package=dept:1.0&domain=default&dcn_request= {"pkg":"dummy","messages":[{"id":"1","mbo":"Department","op":":upsert", "cols":{"dept_id":"2","dept_name":"D2","dept_head_id":"501"}}]}
dcn_request={"pkg":“TestPackage", "messages": [{"id":"1","mbo":"Department", "op":":upsert", "cols":{"DepartmentID":"3333", "DepartmentName":"Test Value", "DepartmentHeadID":"501"}}] }
http://dspevm5:8000/dcn/DCNServlet?cmd=dcn&username= supAdmin&password=supPwd&package=dept:1.0&domain=default&dcn_request= {"pkg":"dummy","messages":[{"id":"1","mbo":"Department","op":":delete", "cols":{"dept_id":"2"}}]}
dcn_request={"pkg":“TestPackage", "messages":[{"id":"1","mbo":"Department", "op":":delete", "cols":{"DepartmentID":"3333"}}]}