API Method PracticeUpdate

From Updox API
Revision as of 16:29, 15 November 2013 by Mcarlson (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Update a practice with the given accountId.

Contents

Fields

Please refer to the Interactive API for a list of the fields for this method.

Sample Request and Response

Request

{

   "accountId": "mike",
   "name": "Mike's Practice",
   "address1": "123 Test Dr",
   "city": "Fantasy Island",
   "state": "IL",
   "postal": "60750",
   "phone": "5555555555",
   "fax": "5555555555",
   "websiteAddress": "www.mikedox.com",
   "timeZone": "America/Chicago",
   "directDomain": "direct.updoxqa.com",
   "active": "true",
   "auth": {
       "applicationId": "updox",
       "applicationPassword": "password",
       "accountId": "mike",
       "userId": "mike"
   }

}

Response

{

   "successful": true,
   "responseMessage": "OK",
   "responseCode": 2000,
   "accountId": "mike",
   "action": "update"

}

Error Codes

In addition to the General Error Set, this method may return:

4110: no practice ID
4131: account does not exist
4610: direct address error: direct address is taken
4620: direct address error: domain does not match the direct domain for this account
4630: direct address error: account does not have a direct domain configured
4140: web address is already taken