{
  "opencollection": "1.0.0",
  "info": {
    "name": "athenahealth athenaOne REST AllergyIntolerance Appointments API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://api.platform.athenahealth.com/oauth2/v1/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Appointments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search Appointments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.platform.athenahealth.com/v1/{practiceid}/appointments",
            "params": [
              {
                "name": "departmentid",
                "value": "",
                "type": "query"
              },
              {
                "name": "startdate",
                "value": "",
                "type": "query"
              },
              {
                "name": "enddate",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Search Appointments"
        },
        {
          "info": {
            "name": "Get Open Appointment Slots",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.platform.athenahealth.com/v1/{practiceid}/appointments/open",
            "params": [
              {
                "name": "departmentid",
                "value": "",
                "type": "query"
              },
              {
                "name": "providerid",
                "value": "",
                "type": "query"
              },
              {
                "name": "startdate",
                "value": "",
                "type": "query"
              },
              {
                "name": "enddate",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get Open Appointment Slots"
        },
        {
          "info": {
            "name": "Get Appointment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.platform.athenahealth.com/v1/{practiceid}/appointments/:appointmentid",
            "params": [
              {
                "name": "appointmentid",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Appointment"
        },
        {
          "info": {
            "name": "Cancel Appointment",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.platform.athenahealth.com/v1/{practiceid}/appointments/:appointmentid/cancel",
            "params": [
              {
                "name": "appointmentid",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Cancel Appointment"
        },
        {
          "info": {
            "name": "Check In Appointment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.platform.athenahealth.com/v1/{practiceid}/appointments/:appointmentid/checkin",
            "params": [
              {
                "name": "appointmentid",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Check In Appointment"
        },
        {
          "info": {
            "name": "Reschedule Appointment",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.platform.athenahealth.com/v1/{practiceid}/appointments/:appointmentid/reschedule",
            "params": [
              {
                "name": "appointmentid",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Reschedule Appointment"
        }
      ]
    }
  ],
  "bundled": true
}