{
  "opencollection": "1.0.0",
  "info": {
    "name": "Scheduling API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Appointment Types",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Appointment Types",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/appointment_types/",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Multiple values may be separated by commas."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The initial index from which to return the results."
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "practice",
                "value": "",
                "type": "query",
                "description": "Multiple values may be separated by commas."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List Appointment Types"
        },
        {
          "info": {
            "name": "Create Appointment Type",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.elationemr.com/api/2.0/appointment_types/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create Appointment Type"
        },
        {
          "info": {
            "name": "Retrieve Appointment Type",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/appointment_types/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve Appointment Type"
        },
        {
          "info": {
            "name": "Update Appointment Type",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://sandbox.elationemr.com/api/2.0/appointment_types/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update Appointment Type"
        },
        {
          "info": {
            "name": "Partially Update Appointment Type",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://sandbox.elationemr.com/api/2.0/appointment_types/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Partially Update Appointment Type"
        },
        {
          "info": {
            "name": "Delete Appointment Type",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://sandbox.elationemr.com/api/2.0/appointment_types/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete Appointment Type"
        }
      ]
    },
    {
      "info": {
        "name": "Appointments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Appointments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/appointments/",
            "params": [
              {
                "name": "from_date",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The initial index from which to return the results."
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "patient",
                "value": "",
                "type": "query",
                "description": "Multiple values may be separated by commas."
              },
              {
                "name": "physician",
                "value": "",
                "type": "query"
              },
              {
                "name": "practice",
                "value": "",
                "type": "query",
                "description": "Multiple values may be separated by commas."
              },
              {
                "name": "time_slot_type",
                "value": "",
                "type": "query"
              },
              {
                "name": "to_date",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List Appointments"
        },
        {
          "info": {
            "name": "Create Appointment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.elationemr.com/api/2.0/appointments/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create Appointment"
        },
        {
          "info": {
            "name": "Retrieve Appointment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/appointments/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve Appointment"
        },
        {
          "info": {
            "name": "Update Appointment",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://sandbox.elationemr.com/api/2.0/appointments/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update Appointment"
        },
        {
          "info": {
            "name": "Partially Update Appointment",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://sandbox.elationemr.com/api/2.0/appointments/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Partially Update Appointment"
        },
        {
          "info": {
            "name": "Delete Appointment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://sandbox.elationemr.com/api/2.0/appointments/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete Appointment"
        }
      ]
    },
    {
      "info": {
        "name": "Appointment Rooms",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Appointment Rooms",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/appointments/rooms/",
            "params": [
              {
                "name": "practice",
                "value": "",
                "type": "query",
                "description": "The practice ID to filter by."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List the rooms available per practices"
        }
      ]
    },
    {
      "info": {
        "name": "Recurring Event Groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Recurring Event Groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/recurring_event_groups/",
            "params": [
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "End of range to filter event groups by schedule date. Returns any group with schedules that don't start after this date."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The initial index from which to return the results."
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "physician",
                "value": "",
                "type": "query",
                "description": "The ids of providers associated with these recurring event groups."
              },
              {
                "name": "practice",
                "value": "",
                "type": "query",
                "description": "The practice for these recurring event groups."
              },
              {
                "name": "reason",
                "value": "",
                "type": "query",
                "description": "The name of the recurring event group."
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "Start of range to filter event groups by schedule date. Returns any group with schedules that don't end before this date."
              },
              {
                "name": "time_slot_type",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List Recurring Event Groups"
        },
        {
          "info": {
            "name": "Create Recurring Event Group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.elationemr.com/api/2.0/recurring_event_groups/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create Recurring Event Group"
        },
        {
          "info": {
            "name": "Retrieve Recurring Event Group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/recurring_event_groups/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve Recurring Event Group"
        },
        {
          "info": {
            "name": "Delete Recurring Event Group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://sandbox.elationemr.com/api/2.0/recurring_event_groups/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete Recurring Event Group"
        }
      ]
    }
  ],
  "bundled": true
}