Pims Connect
Connect a practice-management system login through a secure link, so its password never passes through you.
You mint a link for a practice system; the person who knows the password opens it and types it on a Hilus page. The login is checked against the practice system before anything is stored, and only a login that works is kept: a new connection is created, or the password on an existing one is updated (never a duplicate). Each practice system decides what its page asks for: an eVetPractice link names the username, while a practice system reached through a connector on the practice's own computer asks for the password and whose login it is.
Hosts that render apps show the password form right in the
conversation; elsewhere, send the link. Use this resource to connect a
login or to fix one whose password stopped working; use the practice
system's own resource (pulse for eVetPractice) to work in it once
connected.
Operations
- Mint a secure link for entering a practice-system password.
POST /Platform/pims_connect/link - List the practice-system logins you can see.
GET /Platform/pims_connect/logins - Show the hosted password page for a connection link.
GET /Platform/pims_connect/connect - Check the password from the hosted page with a real login, then store it.
POST /Platform/pims_connect/connect - Connect a practice-system login with its password, typed here.
POST /Platform/pims_connect/password
Objects
PimsConnectLink
url: str. Secure hosted connection URL.expires_at: int. Expiration as a Unix timestamp in seconds.pims_id: str or null. The existing connection the link refreshes or acts in; null for a new one.staff_id: optional str or null. For a link that sets a staff member's password: that staff member.staff_name: optional str or null. For a link that sets a staff member's password: the name the page shows.
PimsConnection
pims_id: str. The stored connection's identifier.username: str. Redacted login; empty for a system without usernames.practice_name: str or null. Configured practice name, when the system has one.created_at: moment or null. When the connection was stored; null if unavailable.message: optional str or null. What happened, for the person, when the system says more than connected (for a practice system reached through connectors: the ones that accepted the login, and any that did not).
PimsLogin
pims_id: str. The connection record the login is kept on.entity_type: str. The connection record's entity type (AvimarkPims for AVImark). Run the practice system's tools on the login with the entities execute_tool route: this entity_type, and pims_id as the entity_id.connector_id: str. The practice computer (connector) the login signs in on.practice_name: str or null. The connection's practice name, when it has one.whose: "practice" or "yours". practice: the organization's login, used for everything Hilus does there, calls included. yours: your own, used only for what you ask Hilus to do.status: "active" or "rejected". active: in use. rejected: the practice system refused it (its password changed, or the staff member was disabled); connect it again.staff_name: str or null. The staff member the login signs in as, from the practice system's staff list; null while that is unknown or the practice computer cannot be reached.staff_record: int or null. The practice system's staff record the login signs in as; null until it is known.