{
  "opencollection": "1.0.0",
  "info": {
    "name": "Elation Health REST Allergies Appointments API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://sandbox.elationemr.com/api/2.0/oauth2/token/",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Appointments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List appointments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.elationemr.com/api/2.0/appointments/",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Pagination offset"
              },
              {
                "name": "physician",
                "value": "",
                "type": "query",
                "description": "Filter by physician ID"
              },
              {
                "name": "patient",
                "value": "",
                "type": "query",
                "description": "Filter by patient ID"
              },
              {
                "name": "scheduled_date",
                "value": "",
                "type": "query",
                "description": "Filter by scheduled date (ISO 8601)"
              }
            ]
          },
          "docs": "Retrieve a paginated list of appointments."
        },
        {
          "info": {
            "name": "Create an appointment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.elationemr.com/api/2.0/appointments/",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Schedule a new appointment."
        },
        {
          "info": {
            "name": "Retrieve an appointment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.elationemr.com/api/2.0/appointments/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique resource identifier"
              }
            ]
          },
          "docs": "Get details for a specific appointment."
        },
        {
          "info": {
            "name": "Update an appointment",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://app.elationemr.com/api/2.0/appointments/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique resource identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Replace all appointment fields with the provided values."
        },
        {
          "info": {
            "name": "Partially update an appointment",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.elationemr.com/api/2.0/appointments/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique resource identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update one or more appointment fields."
        },
        {
          "info": {
            "name": "Delete an appointment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.elationemr.com/api/2.0/appointments/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique resource identifier"
              }
            ]
          },
          "docs": "Cancel and delete an appointment."
        }
      ]
    }
  ],
  "bundled": true
}