IntegrationCredentials

Store Greywind lab-integration credentials for this clinic. Fields left null keep their stored value, so laboratories can be changed without re-entering the password (which this API never returns). Laboratories — each lab's name and the clinic ID it knows this clinic by — are written to greywind_lab_accounts, not the secret: they are identifiers, and Greywind's clinic ID is per laboratory, so it is what selects the lab on every sync, poll and order.

Changed on
post/integrations/credentials/greywind

Request

Request body

usernamestring nullable
passwordstring nullable

Response

OK

isConfiguredboolean

At least one laboratory is added, and every one has a login it can use.

hasPasswordboolean
usernamestring nullable
hasStoredLoginboolean

Whether any login is stored at all, default or per laboratory, usable or not. Unlike the HasPassword flags, which mean "usable now", this stays true for a lab login left bound to its old partner by a partner change that failed halfway, so Settings can still offer to remove it.

connectionEnabledboolean

Whether the lab connection row is switched on. False when there is no row yet.

Changes

    • info

      added the new optional request property // (media type: application/json)

    • info

      added the new optional request property // (media type: text/json)

    • info

      added the new optional request property // (media type: application/*+json)

    • info

      added the new optional request property // (media type: application/json)

    • info

      added the new optional request property // (media type: text/json)

    • info

      added the new optional request property // (media type: application/*+json)

    • info

      added the new optional request property // (media type: application/json)

    • info

      added the new optional request property // (media type: text/json)

    • info

      added the new optional request property // (media type: application/*+json)

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)

    • info

      added the optional property // to the response with the status (media type: text/plain)

    • info

      added the optional property // to the response with the status (media type: application/json)

    • info

      added the optional property // to the response with the status (media type: text/json)

    • info

      added the optional property // to the response with the status (media type: text/plain)

    • info

      added the optional property // to the response with the status (media type: application/json)

    • info

      added the optional property // to the response with the status (media type: text/json)

    • info

      added the optional property // to the response with the status (media type: text/plain)

    • info

      added the optional property // to the response with the status (media type: application/json)

    • info

      added the optional property // to the response with the status (media type: text/json)

    • info

      added the new optional request property // (media type: application/json)

    • info

      added the new optional request property // (media type: text/json)

    • info

      added the new optional request property // (media type: application/*+json)

    • info

      added the optional property // to the response with the status (media type: text/plain)

    • info

      added the optional property // to the response with the status (media type: application/json)

    • info

      added the optional property // to the response with the status (media type: text/json)