clients
Create a client (owner)
Creates a client (owner) in the workspace. All fields are optional and stored as given, without format validation. Not idempotent and not deduplicated: repeating the call creates another client. Note that patients cannot currently be attached to an existing client through the API (creating a patient always creates its own owner).
post/workspaces/{workspaceId}/clients
Request
- Base URLhttps://vetnio.com/api/v2
- URLhttps://vetnio.com/api/v2/workspaces/{workspaceId}/clients
- AuthHTTP bearer
Path parameters
workspaceIdstring required
Identifier of the workspace (clinic) that owns the patients and clients. The caller must be a member of it; patients and clients are shared by all members of the workspace.
Example:furunculotic-loud-chihuahua
Request body
Example request
{
"name": "Alex Morgan",
"email": "alex.morgan@example.com",
"address": "12 Harbour Street, Riverside",
"zipCode": "114 51",
"phoneNumbers": [
"+46701234567"
]
}Response
The newly created client.
Example response
{
"id": "e1f2a3b4-c5d6-4789-efab-901234567890",
"name": "Alex Morgan",
"address": "12 Harbour Street, Riverside",
"zipCode": "114 51",
"phoneNumbers": [
"+46701234567"
],
"email": "alex.morgan@example.com"
}Changes
No recorded changes to this operation across all 1 revision of this API.