link

Get Link template detail

Fetches one Link form template and returns the fields Vetnio can write into (textarea, select, multiCheckbox, internalSample), in template order. Read-only; nothing is stored in Vetnio. Returns 404 NOT_FOUND when Link has no template with this id.

get/workspaces/{workspaceId}/link/templates/{templateId}

Request

  • Base URL
    https://vetnio.com/api/v2
  • URL
    https://vetnio.com/api/v2/workspaces/{workspaceId}/link/templates/{templateId}
  • Auth
    HTTP bearer

Path parameters

workspaceIdstring required

Identifier of the clinic (workspace), as returned by GET /workspaces. The key's user must be a member of the clinic, or an admin of the organization it belongs to.

Example:furunculotic-loud-chihuahua
templateIdinteger required

Link journal form template id, as returned in id by the template list endpoint.

Example:3423

Response

Template detail with field metadata.

idinteger required

Link form template id.

namestring required

Template name as shown in Link.

descriptionstring nullable required

Template description from Link, or null.

Example response

{
  "id": 3423,
  "name": "Allmän undersökning hund",
  "fieldMetadata": [
    {
      "title": "Anamnes",
      "type": "textarea",
      "apiFieldId": 98765,
      "options": [
        {
          "value": "normal",
          "label": "Normal"
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.