Difference between revisions of "API Method PracticeUpdate"
From Updox API
(Created page with "Update a practice with the given <code>accountId</code>. == Fields == Please refer to the [https://updoxqa.com/iodox/updox-iodox Interactive API] for a list of the fields f...") |
(→Request) |
||
Line 7: | Line 7: | ||
==== Request ==== | ==== Request ==== | ||
− | |||
{ | { | ||
"accountId": "mike", | "accountId": "mike", |
Revision as of 16:30, 15 November 2013
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