Difference between revisions of "Template:Json Practice Block - CSharp"
From Updox API
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
- public void TalkToUpdox() {
- string json = new JavaScriptSerializer().Serialize(new {
- accountId = "NewPracticeId",
- name = "NewPracticeName",
- address1 = "",
- address2 = "",
- city = "",
- state = "",
- postal = "",
- phone = "",
- fax = "",
- directAddress = "",
- timeZone = "",
- websiteAddress = "",
- active = "true",