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

From Updox API
Jump to: navigation, search
Line 1: Line 1:
 +
<syntaxhighlight lang="csharp" line start="100" enclose="div">
 +
  public void TalkToUpdox() {
 +
    string json = new JavaScriptSerializer().Serialize(new {
 
                 accountId = "NewPracticeId",
 
                 accountId = "NewPracticeId",
 
                 name = "NewPracticeName",
 
                 name = "NewPracticeName",
Line 12: Line 15:
 
                 websiteAddress = "",
 
                 websiteAddress = "",
 
                 active = "true",
 
                 active = "true",
 +
</syntaxhighlight>

Revision as of 13:40, 20 November 2013

  1.   public void TalkToUpdox() {
  2.      string json = new JavaScriptSerializer().Serialize(new {
  3.                 accountId = "NewPracticeId",
  4.                 name = "NewPracticeName",
  5.                 address1 = "",
  6.                 address2 = "",
  7.                 city = "",
  8.                 state = "",
  9.                 postal = "",
  10.                 phone = "",
  11.                 fax = "",
  12.                 directAddress = "",
  13.                 timeZone = "",
  14.                 websiteAddress = "",
  15.                 active = "true",