...
Parameter | Location | Type | Description |
---|---|---|---|
|
|
| If the app knows the account code, it should pass it in this header for every request. Otherwise leave blank |
|
|
| Once the user logs in, the app gets the token and should pass it for every request. |
|
|
| Wherever there’s user’s :id field in API methods, it will also accept dash (-) as a mapping to the current user. |
API Errors
VSee Clinic API use standard HTTP response status codes
Code | Meaning | Response example | |||
---|---|---|---|---|---|
1 | 200 | Success |
| ||
2 | 400 | Bad Request |
| ||
3 | 401 | Unauthorized | |||
4 | 403 | Forbidden | |||
5 | 404 | Not Found | |||
6 | 429 | Too Many Requests | |||
7 | 500 | Internal Server Error | |||
8 | 502 | Bad Gateway | |||
9 | 503 | Service Unavailable | |||
10 | 504 | Gateway Timeout |
API Objects
User Object
(To be completed soon)
...