{
  "opencollection": "1.0.0",
  "info": {
    "name": "Provet Cloud REST Appointments API",
    "version": "0.1"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://provetcloud.com/0/oauth2/token/",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Appointments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create an appointment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://provetcloud.com/{provet_id}/api/0.1/appointment/",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an appointment against a department, reason, and supervising user."
        },
        {
          "info": {
            "name": "Send appointment confirmation",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://provetcloud.com/{provet_id}/api/0.1/appointment/:id/send_appointment_confirmation/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Send a confirmation email/SMS for an appointment."
        },
        {
          "info": {
            "name": "Create an appointment reminder",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://provetcloud.com/{provet_id}/api/0.1/appointment_reminder/"
          },
          "docs": "Create an appointment reminder"
        },
        {
          "info": {
            "name": "Create an online booking client",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://provetcloud.com/{provet_id}/api/0.1/onlinebookingclient/"
          },
          "docs": "Register a client as part of a self-service online booking flow."
        },
        {
          "info": {
            "name": "Create an online booking patient",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://provetcloud.com/{provet_id}/api/0.1/onlinebookingpatient/"
          },
          "docs": "Register a patient as part of a self-service online booking flow."
        }
      ]
    }
  ],
  "bundled": true
}