Difference between revisions of "Template:Json Practice Block - Java"

From Updox API
Jump to: navigation, search
Line 1: Line 1:
         "\"<span style="color:red">accountId</span>\" : \"NewPracticeId\", " +
+
         Map<String,Object> messageData = new HashMap();
        "\"<span style="color:red">name</span>\" : \"NewPracticeName\", " +
+
         messageData.put("accountId","NewPracticeId");
        "\"<span style="color:green">address1</span>\" : \"\", " +
+
         messageData.put("accountName","NewPracticeName");
         "\"<span style="color:green">address2</span>\" : \"\", " +
+
         messageData.put("active","true");
        "\"<span style="color:green">city</span>\" : \"\", " +
+
         "\"<span style="color:green">state</span>\" : \"\", " +
+
        "\"<span style="color:green">postal</span>\" : \"\", " +
+
         "\"<span style="color:green">phone</span>\" : \"\", " +
+
        "\"<span style="color:green">fax</span>\" : \"\", " +
+
        "\"<span style="color:green">directAddress</span>\" : \"\", " +
+
        "\"<span style="color:green">timeZone</span>\" : \"\", " +
+
        "\"<span style="color:green">websiteAddress</span>\" : \"\", " +
+
        "\"<span style="color:green">active</span>\" : \"true\", " +
+

Revision as of 16:18, 19 November 2013

       Map<String,Object> messageData = new HashMap();
       messageData.put("accountId","NewPracticeId");
       messageData.put("accountName","NewPracticeName");
       messageData.put("active","true");