{"info":{"_postman_id":"19c0ae42-3421-4c3d-ad33-60c425d4c2d1","name":"Teachworks API","description":"<html><head></head><body><p>Welcome to the Teachworks API! This API allows Teachworks users to build custom integrations to interact with data from their Teachworks accounts. </p>\n<p>Teachworks provides business management software for education companies. You can find more information on our website here: <a href=\"https://teachworks.com\">Teachworks</a>.</p>\n<p>If you have questions you can contact us at <a href=\"mailto:support@teachworks.com\">support@teachworks.com</a>.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10096149","collectionId":"19c0ae42-3421-4c3d-ad33-60c425d4c2d1","publishedId":"SWTABydD","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"8FCB21"},"publishDate":"2023-11-24T19:56:39.000Z"},"item":[{"name":"General Information","item":[{"name":"Usage Policy","item":[],"id":"bf3922fd-98d0-4004-8898-cd7f4d4c4579","description":"<p>The Teachworks API is intended to be used as an interface to connect a Teachworks account with another software program. </p>\n<p>The Teachworks API is not intended for backing up records -- backups can be created within Teachworks using the Excel downloads feature. </p>\n<p>Excessive requests or retrieving records in a continuous loop is not permitted.</p>\n","_postman_id":"bf3922fd-98d0-4004-8898-cd7f4d4c4579"},{"name":"Request/Response Format","item":[],"id":"d77d89f0-a1ad-408e-8f4a-63ebcdf54a8c","description":"<p>The default response format is JSON. Requests with a message-body use plain JSON to set or update resource attributes. Successful requests will return a 200 OK HTTP status.</p>\n","_postman_id":"d77d89f0-a1ad-408e-8f4a-63ebcdf54a8c"},{"name":"Pagination","item":[],"id":"c7092e96-7969-4269-9d62-31e456229355","description":"<p>Requests that return multiple items will be paginated to 20 items by default. This default can be changed using the “per_page” parameter up to a maximum of 80 items.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /students?per_page=15\n</code></pre><p>You can specify further pages with the ?page parameter:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /students?page=2\n</code></pre><p>Page number is 1-based and omitting the ?page parameter will return the first page.</p>\n","_postman_id":"c7092e96-7969-4269-9d62-31e456229355"},{"name":"Order","item":[],"id":"1c8cf455-7472-4f9e-ba0b-6107604c1339","description":"<p>By default results are returned in ascending order (\"asc\") on the primary id column. You can also order results in descending order with the \"direction\" parameter set to \"desc\":</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /students?direction=desc\n</code></pre>","_postman_id":"1c8cf455-7472-4f9e-ba0b-6107604c1339"},{"name":"Errors","item":[],"id":"cd0499d7-e645-4ae3-a0c4-df25806f0e28","description":"<p>Occasionally you might encounter errors when accessing the API. There are four possible types:</p>\n<table>\n    <tr>\n        <th>Error Code</th>\n        <th>Error Type</th>\n    </tr>\n    <tr>\n        <td>400 Bad Request</td>\n        <td>Invalid request, e.g. using unsupported HTTP method or data has validation errors</td>\n    </tr>\n    <tr>\n        <td>401 Unauthorized</td>\n        <td>Authentication or permission error, e.g. incorrect API token</td>\n    </tr>\n    <tr>\n        <td>403 Forbidden</td>\n        <td>Requests to resources that don't exist or requests that exceed the rate-limit</td>\n    </tr>\n    <tr>\n        <td>404 Not Found</td>\n        <td>Requests to resources that don't exist or are missing</td>\n    </tr>\n    <tr>\n        <td>500 Internal Sever Error</td>\n        <td>Server error</td>\n    </tr>\n</table>\n\n<p>Errors return both an appropriate HTTP status code and response object which contains a code, message and data attribute.</p>\n","event":[{"listen":"prerequest","script":{"id":"a8464bfa-d916-4a37-8a87-00491e5c655c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3811ed55-bdc5-4684-9215-c41c90f9d92d","type":"text/javascript","exec":[""]}}],"_postman_id":"cd0499d7-e645-4ae3-a0c4-df25806f0e28"},{"name":"Rate Limiting","item":[],"id":"90c90cd9-15f2-443f-a7fb-88c12091e3ca","description":"<p>API calls are rate-limited by API token at 4 requests per second.</p>\n","event":[{"listen":"prerequest","script":{"id":"e8655d00-1316-4a44-9a79-f64e47905b07","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cb1c24df-8ddf-474e-a332-be19f6f81e8a","type":"text/javascript","exec":[""]}}],"_postman_id":"90c90cd9-15f2-443f-a7fb-88c12091e3ca"}],"id":"75b553de-816d-40a9-913b-936cd1f6a91a","description":"<p>You can access the Teachworks API at:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{{base_url}}\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"3fe20e41-1455-45b2-9668-121b121e22f8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6a2a11c1-b5a1-4299-95d3-740362c1f457","type":"text/javascript","exec":[""]}}],"_postman_id":"75b553de-816d-40a9-913b-936cd1f6a91a"},{"name":"Authentication","item":[],"id":"7e91c772-f3ba-449a-a27c-e68245c7e94b","description":"<p>Teachworks uses API tokens to allow access to the API. You can generate an API token for your Teachworks account by going to the API section on the Integrations &amp; Add-ons page.</p>\n<p>The Teachworks API uses bearer authorization and requires an Authorization header containing you API token to be included in each request. The header should use the following format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>-H 'Authorization: Token token=api_token'\n\n</code></pre><p><strong>Note: You must replace \"api_token\" above with your account's API token.</strong></p>\n<p>All API requests must be made over HTTPS. Calls made over plain HTTP will fail.</p>\n<p>API requests without authentication will also fail.</p>\n","event":[{"listen":"prerequest","script":{"id":"177d5a72-4560-4394-919f-2a00f8ceaca0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"121c7cba-1d05-45d3-ba45-c24622b413cb","type":"text/javascript","exec":[""]}}],"_postman_id":"7e91c772-f3ba-449a-a27c-e68245c7e94b"},{"name":"Locations","item":[{"name":"Retrieve a Location","id":"ed765a51-0888-4f13-ba3c-5e1e80895b5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/locations/:id","description":"<p>Retrieves a single location</p>\n","urlObject":{"path":["locations",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"3365950f-23e6-46d9-9d72-7ff5c42e993c","name":"Retrieve a Location","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/locations/:id","host":["{{base_url}}"],"path":["locations",":id"],"variable":[{"key":"id","value":"2"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120103958"},{"key":"X-Request-Id","value":"0474dda8d1ee2fe590f1d88020dcb52f"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.063435"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 15:39:57 GMT"},{"key":"Content-Length","value":"325"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"name\": \"Burlington North\",\n    \"address\": \"1421 Walkers Line\",\n    \"city\": \"Burlington\",\n    \"state\": \"ON\",\n    \"zip\": \"L7M4P4\",\n    \"spaces\": null,\n    \"calendar_color\": \"#1E8F2B\",\n    \"is_sublocation\": null,\n    \"parent_location_id\": null,\n    \"link\": null,\n    \"link_enabled\": false,\n    \"created_at\": \"2014-02-20T17:53:05Z\",\n    \"updated_at\": \"2018-08-15T20:41:22Z\"\n}"}],"_postman_id":"ed765a51-0888-4f13-ba3c-5e1e80895b5b"},{"name":"List all Locations","id":"9742213c-c739-4e9f-a9ef-77e714b3b250","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/locations","description":"<p>Returns a list of locations matching the search parameters.</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>name</td>\n<td>search by name</td>\n</tr>\n<tr>\n<td>parent_location_id</td>\n<td>search by parent location id if location is a sub-location</td>\n</tr>\n<tr>\n<td>state</td>\n<td>search by state</td>\n</tr>\n<tr>\n<td>zip</td>\n<td>search by zip</td>\n</tr>\n<tr><td>id[gt]</td><td>search where id is greater than</td></tr>\n<tr><td>id[lt]</td><td>search where id is less than</td></tr>\n<tr><td>id[gte]</td><td>search where id is equal to or greater than</td></tr>\n<tr><td>id[lte]</td><td>search where id is equal to or less than</td></tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["locations"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"920774b1-27e6-47db-9497-df6543bdcfb4","name":"List all Locations","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/locations"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120103504"},{"key":"X-Request-Id","value":"4b1a7bfdc7735c42ad93d6bb642352f9"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"1.377591"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 15:35:05 GMT"},{"key":"Content-Length","value":"1686"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 2,\n        \"name\": \"Burlington North\",\n        \"address\": \"152 Dundas Stret\",\n        \"city\": \"Burlington\",\n        \"state\": \"ON\",\n        \"zip\": \"L7M5C1\",\n        \"spaces\": null,\n        \"calendar_color\": \"#1E8F2B\",\n        \"is_sublocation\": null,\n        \"parent_location_id\": null,\n        \"link\": null,\n        \"link_enabled\": false,\n        \"created_at\": \"2014-02-20T17:53:05Z\",\n        \"updated_at\": \"2018-08-15T20:41:22Z\"\n    },\n    {\n        \"id\": 22,\n        \"name\": \"Room 1\",\n        \"address\": \"\",\n        \"city\": \"\",\n        \"state\": \"\",\n        \"zip\": \"\",\n        \"spaces\": null,\n        \"calendar_color\": \"#D3D4BC\",\n        \"is_sublocation\": true,\n        \"parent_location_id\": 2,\n        \"link\": null,\n        \"link_enabled\": false,\n        \"created_at\": \"2016-04-08T16:55:34Z\",\n        \"updated_at\": \"2018-07-13T20:06:34Z\"\n    },\n    {\n        \"id\": 23,\n        \"name\": \"Room 2\",\n        \"address\": \"\",\n        \"city\": \"\",\n        \"state\": \"\",\n        \"zip\": \"\",\n        \"spaces\": null,\n        \"calendar_color\": \"#BB0AAF\",\n        \"is_sublocation\": true,\n        \"parent_location_id\": 2,\n        \"link\": \"\",\n        \"link_enabled\": false,\n        \"created_at\": \"2016-04-08T16:56:26Z\",\n        \"updated_at\": \"2017-10-04T15:13:43Z\"\n    }\n]"}],"_postman_id":"9742213c-c739-4e9f-a9ef-77e714b3b250"},{"name":"Create a Location","id":"ea2181b4-9e7c-41e3-8b33-8ea4752c5276","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/locations","description":"<p>Use this endpoint to create a location.</p>\n<p><strong>Arguments</strong></p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td>name</td><td>Name of location</td></tr>\n<tr><td>address</td><td>Address of location</td></tr>\n<tr><td>city</td><td>City of location</td></tr>\n<tr><td>state</td><td>State of location</td></tr>\n<tr><td>zip</td><td>Zip/postal code of location</td>\n</tr><tr><td>link</td><td>URL for location</td>\n</tr><tr><td>link_enabled</td><td>Display lesson name as clickable link</td>\n</tr><tr><td>calendar_color</td><td>Hex code for calendar color-coding</td>\n</tr>\n<tr><td>display_conflicts</td><td>Show conflicts for location with conflict checker</td>\n</tr><tr><td>exclude_from_location_calendar</td><td>Don't display location on location calendar</td>\n</tr></tbody>\n</table>","urlObject":{"path":["locations"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"bd43e75b-ad7f-442b-89e3-5fadc2dc40bf","name":"Create Location","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"location\": \n {\t\t\t\n\t\"name\": \"Burlington Office\",\n    \"address\": \"123 Main Street\",\n    \"city\": \"Burlington\",\n    \"state\": \"Ontario\",\n    \"zip\": \"N3A 3S4\",\n    \"link\": \"https://teachworks.com\",\n    \"link_enabled\": true\n\t}\n}"},"url":"{{base_url}}/locations"},"status":"Created ","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"030220145617"},{"key":"X-Request-Id","value":"272e453ada4f972b0a4949052f45e005"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"1.914688"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Mon, 03 Feb 2020 19:56:18 GMT"},{"key":"Content-Length","value":"382"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{   \n    \"id\": 231,\n    \"name\": \"Burlington Office\",\n    \"address\": \"123 Main Street\",\n    \"city\": \"Burlington\",\n    \"state\": \"Ontario\",\n    \"zip\": \"N3A 3S4\",\n    \"link\": \"https://teachworks.com\",\n    \"link_enabled\": true,\n    \"calendar_color\": \"#8BC220\",\n    \"display_conflicts\": false,\n    \"exclude_from_location_calendar\": false\n}"}],"_postman_id":"ea2181b4-9e7c-41e3-8b33-8ea4752c5276"},{"name":"Update a Location","id":"d5ad6998-d510-4a7b-a7f7-d0004c496ca9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/locations/:id","description":"<p>Use this endpoint to update a location.</p>\n<p><strong>Arguments</strong></p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td>name</td><td>Name of location</td></tr>\n<tr><td>address</td><td>Address of location</td></tr>\n<tr><td>city</td><td>City of location</td></tr>\n<tr><td>state</td><td>State of location</td></tr>\n<tr><td>zip</td><td>Zip/postal code of location</td>\n</tr><tr><td>link</td><td>URL for location</td>\n</tr><tr><td>link_enabled</td><td>Display lesson name as clickable link</td>\n</tr><tr><td>calendar_color</td><td>Hex code for calendar color-coding</td>\n</tr>\n<tr><td>display_conflicts</td><td>Show conflicts for location with conflict checker</td>\n</tr><tr><td>exclude_from_location_calendar</td><td>Don't display location on location calendar</td>\n</tr></tbody>\n</table>","urlObject":{"path":["locations",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"id":"e2f7c63d-9c38-4c7e-97b4-53b9cd007663","type":"string","value":"","key":"id"}]}},"response":[{"id":"0e0bd5c0-4138-4c33-b443-f1b7e939cd7c","name":"Update Location","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"location\": \n {\t\t\t\n\t\"name\": \"Burlington Centre\",\n    \"address\": \"123 Main Street\",\n    \"city\": \"Burlington\",\n    \"state\": \"Ontario\",\n    \"zip\": \"N3A 3S4\",\n    \"link\": \"https://teachworks.com\",\n    \"link_enabled\": true\n\t}\n}"},"url":{"raw":"{{base_url}}/locations/:id","host":["{{base_url}}"],"path":["locations",":id"],"variable":[{"key":"id","value":"231"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"030220150152"},{"key":"X-Request-Id","value":"0e6096a76ba037bf9212812cb6f89827"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.121682"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Mon, 03 Feb 2020 20:01:51 GMT"},{"key":"Content-Length","value":"382"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{   \n    \"id\": 231,\n    \"name\": \"Burlington Centre\",\n    \"address\": \"123 Main Street\",\n    \"city\": \"Burlington\",\n    \"state\": \"Ontario\",\n    \"zip\": \"N3A 3S4\",\n    \"link\": \"https://teachworks.com\",\n    \"link_enabled\": true,\n    \"calendar_color\": \"#8BC220\",\n    \"display_conflicts\": false,\n    \"exclude_from_location_calendar\": false\n}"}],"_postman_id":"d5ad6998-d510-4a7b-a7f7-d0004c496ca9"}],"id":"f7ef49d0-4869-4a30-9ec0-be2a73c8f230","description":"<p>Endpoint for viewing locations. Locations are the places where lessons and other events take place.</p>\n","_postman_id":"f7ef49d0-4869-4a30-9ec0-be2a73c8f230"},{"name":"Services","item":[{"name":"Retrieve a Service","id":"5e610288-5b7f-4da4-81b7-3bdf3089d1f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/services/:id","description":"<p>Retrieve a single service</p>\n","urlObject":{"path":["services",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"0de1809e-3b72-4358-9a57-7bca7e618c6d","name":"Retrieve a Service","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/services/:id","host":["{{base_url}}"],"path":["services",":id"],"variable":[{"key":"id","value":"89"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120105453"},{"key":"X-Request-Id","value":"f12374ad4e9cb246457b49b6df505d14"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.049591"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 15:54:52 GMT"},{"key":"Content-Length","value":"164"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 89,\n    \"name\": \"Math Tutoring\",\n    \"default_cost\": \"25.0\",\n    \"default_wage\": \"15.0\",\n    \"archived\": null,\n    \"created_at\": \"2020-01-28T15:49:35Z\",\n    \"updated_at\": \"2020-01-28T15:49:35Z\"\n}"}],"_postman_id":"5e610288-5b7f-4da4-81b7-3bdf3089d1f1"},{"name":"List all Services","id":"a80b2a35-acfe-422f-a46a-044876edb58d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/services","description":"<p>Get a list of all services matching your search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>name</td>\n<td>search by name</td>\n</tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["services"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"da882f64-0f10-4815-ae77-3297263ba3fa","name":"List all Services","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/services"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120105330"},{"key":"X-Request-Id","value":"799f2a90fd04f5585c1b3de5d9af0172"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.032748"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 15:53:29 GMT"},{"key":"Content-Length","value":"669"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 89,\n        \"name\": \"Math Tutoring\",\n        \"default_cost\": \"25.0\",\n        \"default_wage\": \"15.0\",\n        \"archived\": null,\n        \"created_at\": \"2020-01-28T15:49:35Z\",\n        \"updated_at\": \"2020-01-28T15:49:35Z\"\n    },\n    {\n        \"id\": 90,\n        \"name\": \"English Tutoring\",\n        \"default_cost\": \"25.0\",\n        \"default_wage\": \"15.0\",\n        \"archived\": null,\n        \"created_at\": \"2020-01-28T15:49:48Z\",\n        \"updated_at\": \"2020-01-28T15:49:48Z\"\n    },\n    {\n        \"id\": 91,\n        \"name\": \"French Tutoring\",\n        \"default_cost\": \"30.0\",\n        \"default_wage\": \"18.0\",\n        \"archived\": null,\n        \"created_at\": \"2020-01-28T15:50:09Z\",\n        \"updated_at\": \"2020-01-28T15:50:09Z\"\n    },\n    {\n        \"id\": 92,\n        \"name\": \"Biology Tutoring\",\n        \"default_cost\": \"40.0\",\n        \"default_wage\": \"25.0\",\n        \"archived\": null,\n        \"created_at\": \"2020-01-28T15:50:26Z\",\n        \"updated_at\": \"2020-01-28T15:50:26Z\"\n    }\n]"}],"_postman_id":"a80b2a35-acfe-422f-a46a-044876edb58d"}],"id":"3414c0d8-c562-40e1-b7a7-918d46c533ca","description":"<p>Endpoint for viewing services. Services are set when scheduling lessons.</p>\n","event":[{"listen":"prerequest","script":{"id":"b801466f-cc13-4400-accd-bd4a2e00013b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"738d9ce9-d7aa-4585-82ba-292bec81b749","type":"text/javascript","exec":[""]}}],"_postman_id":"3414c0d8-c562-40e1-b7a7-918d46c533ca"},{"name":"Wage Tiers","item":[{"name":"Retrieve a Wage Tier","id":"b77e2940-2162-43f8-9655-a5b0475c6b28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/wage_tiers/:id","description":"<p>Retrieves a single wage tier</p>\n","urlObject":{"path":["wage_tiers",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"d06f7099-2648-4908-9d17-ff4cdedaf0b0","name":"Retrieve a Wage Tier","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/wage_tiers/:id","host":["{{base_url}}"],"path":["wage_tiers",":id"],"variable":[{"key":"id","value":"26"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120110456"},{"key":"X-Request-Id","value":"fde7a9ffa0594bfe9512ccd9b9dada81"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.059467"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:04:56 GMT"},{"key":"Content-Length","value":"616"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 26,\n    \"name\": \"Year 2\",\n    \"created_at\": \"2020-01-28T16:03:07Z\",\n    \"updated_at\": \"2020-01-28T16:03:07Z\",\n    \"service_wage_tiers\": [\n        {\n            \"service_id\": 92,\n            \"wage_tier_id\": 26,\n            \"amount\": \"26.0\",\n            \"created_at\": \"2020-01-28T16:03:08Z\",\n            \"updated_at\": \"2020-01-28T16:03:08Z\"\n        },\n        {\n            \"service_id\": 90,\n            \"wage_tier_id\": 26,\n            \"amount\": \"16.0\",\n            \"created_at\": \"2020-01-28T16:03:08Z\",\n            \"updated_at\": \"2020-01-28T16:03:08Z\"\n        },\n        {\n            \"service_id\": 91,\n            \"wage_tier_id\": 26,\n            \"amount\": \"19.0\",\n            \"created_at\": \"2020-01-28T16:03:08Z\",\n            \"updated_at\": \"2020-01-28T16:03:08Z\"\n        },\n        {\n            \"service_id\": 89,\n            \"wage_tier_id\": 26,\n            \"amount\": \"16.0\",\n            \"created_at\": \"2020-01-28T16:03:08Z\",\n            \"updated_at\": \"2020-01-28T16:03:08Z\"\n        }\n    ]\n}"}],"_postman_id":"b77e2940-2162-43f8-9655-a5b0475c6b28"},{"name":"List all Wage Tiers","id":"fa579084-f2f7-45ed-9b42-9357a1fc06f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/wage_tiers","description":"<p>Returns a list of wage tiers that match the search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>name</td>\n<td>search by name</td>\n</tr>\n<tr>\n<td>service_id</td>\n<td>search by the id of the service that this wage tier is associated with</td>\n</tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["wage_tiers"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"697b1ab3-b1a2-4a98-b3c8-35c6a7883ab7","name":"List all Wage Tiers","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/wage_tiers"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120110341"},{"key":"X-Request-Id","value":"2de03378adeb983f820b69ddb2fb1041"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.324043"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:03:40 GMT"},{"key":"Content-Length","value":"1235"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 26,\n        \"name\": \"Year 2\",\n        \"created_at\": \"2020-01-28T16:03:07Z\",\n        \"updated_at\": \"2020-01-28T16:03:07Z\",\n        \"service_wage_tiers\": [\n            {\n                \"service_id\": 92,\n                \"wage_tier_id\": 26,\n                \"amount\": \"26.0\",\n                \"created_at\": \"2020-01-28T16:03:08Z\",\n                \"updated_at\": \"2020-01-28T16:03:08Z\"\n            },\n            {\n                \"service_id\": 90,\n                \"wage_tier_id\": 26,\n                \"amount\": \"16.0\",\n                \"created_at\": \"2020-01-28T16:03:08Z\",\n                \"updated_at\": \"2020-01-28T16:03:08Z\"\n            },\n            {\n                \"service_id\": 91,\n                \"wage_tier_id\": 26,\n                \"amount\": \"19.0\",\n                \"created_at\": \"2020-01-28T16:03:08Z\",\n                \"updated_at\": \"2020-01-28T16:03:08Z\"\n            },\n            {\n                \"service_id\": 89,\n                \"wage_tier_id\": 26,\n                \"amount\": \"16.0\",\n                \"created_at\": \"2020-01-28T16:03:08Z\",\n                \"updated_at\": \"2020-01-28T16:03:08Z\"\n            }\n        ]\n    },\n    {\n        \"id\": 27,\n        \"name\": \"Year 3\",\n        \"created_at\": \"2020-01-28T16:03:25Z\",\n        \"updated_at\": \"2020-01-28T16:03:25Z\",\n        \"service_wage_tiers\": [\n            {\n                \"service_id\": 92,\n                \"wage_tier_id\": 27,\n                \"amount\": \"27.0\",\n                \"created_at\": \"2020-01-28T16:03:25Z\",\n                \"updated_at\": \"2020-01-28T16:03:25Z\"\n            },\n            {\n                \"service_id\": 90,\n                \"wage_tier_id\": 27,\n                \"amount\": \"17.0\",\n                \"created_at\": \"2020-01-28T16:03:25Z\",\n                \"updated_at\": \"2020-01-28T16:03:25Z\"\n            },\n            {\n                \"service_id\": 91,\n                \"wage_tier_id\": 27,\n                \"amount\": \"20.0\",\n                \"created_at\": \"2020-01-28T16:03:25Z\",\n                \"updated_at\": \"2020-01-28T16:03:25Z\"\n            },\n            {\n                \"service_id\": 89,\n                \"wage_tier_id\": 27,\n                \"amount\": \"17.0\",\n                \"created_at\": \"2020-01-28T16:03:25Z\",\n                \"updated_at\": \"2020-01-28T16:03:25Z\"\n            }\n        ]\n    }\n]"}],"_postman_id":"fa579084-f2f7-45ed-9b42-9357a1fc06f2"}],"id":"09cb952f-e5e3-43b2-87fe-ac89af7561ca","description":"<p>Endpoint for viewing and managing wage tiers. Wage tiers can be used to pay teachers at different rates for the same service.</p>\n","_postman_id":"09cb952f-e5e3-43b2-87fe-ac89af7561ca"},{"name":"Cost Premiums","item":[{"name":"Retrieve a Cost Premium","id":"a28d20c8-fca7-4c57-afb3-e1911c3174ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/cost_premiums/:id","description":"<p>Retrieve a single cost premium</p>\n","urlObject":{"path":["cost_premiums",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"f3def444-827d-4353-bc86-9c17daa8093c","name":"Retrieve a Cost Premium","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/cost_premiums/:id","host":["{{base_url}}"],"path":["cost_premiums",":id"],"variable":[{"key":"id","value":"5"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120111636"},{"key":"X-Request-Id","value":"699e2d6486064d0238a0a2a3c1ee09a0"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.058987"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:16:35 GMT"},{"key":"Content-Length","value":"147"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5,\n    \"name\": \"Travel Premium - 50k\",\n    \"amount\": \"15.0\",\n    \"wage_amount\": \"15.0\",\n    \"created_at\": \"2020-01-28T16:14:58Z\",\n    \"updated_at\": \"2020-01-28T16:14:58Z\"\n}"}],"_postman_id":"a28d20c8-fca7-4c57-afb3-e1911c3174ab"},{"name":"List all Cost Premiums","id":"0f1c07e3-5fc6-409a-871a-1a5d87da81ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/cost_premiums","description":"<p>Returns a list of cost premiums that match the search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>name</td>\n<td>search by name</td>\n</tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["cost_premiums"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"66c9d4a1-034e-44bd-902e-4231a651cc0b","name":"List all Cost Premiums","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/cost_premiums"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120111610"},{"key":"X-Request-Id","value":"d569ec5d25a0ae438d45fe7ceb6641e6"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.259727"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:16:09 GMT"},{"key":"Content-Length","value":"297"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 4,\n        \"name\": \"Travel Premium - 25k\",\n        \"amount\": \"10.0\",\n        \"wage_amount\": \"10.0\",\n        \"created_at\": \"2020-01-28T16:14:40Z\",\n        \"updated_at\": \"2020-01-28T16:14:40Z\"\n    },\n    {\n        \"id\": 5,\n        \"name\": \"Travel Premium - 50k\",\n        \"amount\": \"15.0\",\n        \"wage_amount\": \"15.0\",\n        \"created_at\": \"2020-01-28T16:14:58Z\",\n        \"updated_at\": \"2020-01-28T16:14:58Z\"\n    }\n]"}],"_postman_id":"0f1c07e3-5fc6-409a-871a-1a5d87da81ef"}],"id":"c01197bd-c006-45dc-b9b8-c83394648cf3","description":"<p>Endpoint for viewing cost premiums. Cost premiums can be used for adding an additional cost and wage per lesson.</p>\n","_postman_id":"c01197bd-c006-45dc-b9b8-c83394648cf3"},{"name":"Employees","item":[{"name":"Retrieve an Employee","id":"302ff8d1-ce8a-4f4b-9dca-a5169f79c4ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/employees/:id","description":"<p>Retrieve a single employee.</p>\n<p><strong>Note:</strong> The URL in the \"photo\" attribute of the response an expiring URL (10 minutes), so if you require long-term use of the image you should use the URL to save the image to your server and load it from there.</p>\n","urlObject":{"path":["employees",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"268f2585-5d2e-472d-86f4-e5017082f151","name":"Retrieve an Employee","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/employees/:id","host":["{{base_url}}"],"path":["employees",":id"],"variable":[{"key":"id","value":"7099"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120112807"},{"key":"X-Request-Id","value":"7a86ec3958f01cf77d1ca9db181ff189"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.072297"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:28:06 GMT"},{"key":"Content-Length","value":"1399"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 7099,\n    \"employee_type\": \"Teacher\",\n    \"include_as_teacher\": 0,\n    \"first_name\": \"Angela\",\n    \"last_name\": \"DeKorne\",\n    \"email\": \"adk@teachworks.com\",\n    \"mobile_phone\": \"123-123-1234\",\n    \"home_phone\": \"\",\n    \"address\": \"12 Main Street\",\n    \"address_2\": \"\",\n    \"city\": \"Kitchener\",\n    \"state\": \"ON\",\n    \"zip\": \"N2G5P4\",\n    \"country\": \"Canada\",\n    \"birth_date\": \"1999-12-24\",\n    \"hire_date\": \"2020-01-08\",\n    \"position\": \"Teacher\",\n    \"additional_notes\": \"\",\n    \"subjects\": \"English,Biology\",\n    \"status\": \"Active\",\n    \"time_zone\": null,\n    \"wage_type\": \"Service List Wage\",\n    \"employee_wage\": null,\n    \"wage_tier_id\": null,\n    \"work_wage_type\": \"Work List Wage\",\n    \"work_wage\": null,\n    \"bio\": \"\",\n    \"bio_drafted_at\": null,\n    \"bio_approved\": \"\",\n    \"bio_approved_at\": \"2020-01-28T16:24:54Z\",\n    \"photo\": \"\",\n    \"email_lesson_reminders\": 0,\n    \"sms_lesson_reminders\": 0,\n    \"calendar_default_view\": \"month\",\n    \"calendar_color\": \"#ED8BF8\",\n    \"calendar_color_by\": \"student\",\n    \"user_account\": 0,\n    \"unviewed\": false,\n    \"p_employees\": \"off\",\n    \"p_students\": \"off\",\n    \"p_services\": \"view\",\n    \"p_events\": \"complete\",\n    \"p_event_cost\": \"off\",\n    \"p_accounting\": \"off\",\n    \"p_reports\": \"off\",\n    \"p_settings\": \"off\",\n    \"p_subscription\": \"off\",\n    \"p_student_contact\": \"view\",\n    \"p_events_others\": \"off\",\n    \"p_events_duration\": \"view\",\n    \"p_locations\": \"view\",\n    \"p_send_notes\": \"on\",\n    \"p_teachers\": \"off\",\n    \"p_staff\": \"off\",\n    \"p_tasks\": \"off\",\n    \"p_event_wage\": \"view\",\n    \"p_payroll\": \"off\",\n    \"p_documents\": \"on\",\n    \"p_integrations\": \"off\",\n    \"p_email\": \"off\",\n    \"welcome_sent_at\": null,\n    \"created_at\": \"2020-01-28T16:24:54Z\",\n    \"updated_at\": \"2020-01-28T16:24:54Z\",\n    \"custom_fields\": []\n}"}],"_postman_id":"302ff8d1-ce8a-4f4b-9dca-a5169f79c4ac"},{"name":"Retrieve Employee Earnings","id":"58a59586-a1ab-4751-9ca6-e8d2d9041265","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/employees/:id/earnings","description":"<p>Returns the total earnings for an employee for the selected filter parameters.</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>status</td>\n<td>filter by lesson status (Scheduled, Attended, Cancelled, Missed)</td>\n</tr>\n<tr>\n<td>status[]</td>\n<td>filter by multiple lesson statuses (Scheduled, Attended, Cancelled, Missed).Pass in a separate \"status[]\" parameter for each status.</td>\n</tr>\n<tr>\n<td>date</td>\n<td>filter by date the lesson starts on. Use YYYY-MM-DD format for dates.\n</td></tr>\n<tr><td>date[gt]</td><td>filter where date is greater than</td></tr>\n<tr><td>date[lt]</td><td>filter where date is less than</td></tr>\n<tr><td>date[gte]</td><td>filter where date is equal to or greater than</td></tr>\n<tr><td>date[lte]</td><td>filter where date is equal to or less than</td></tr>\n<tr></tr></tbody></table>","urlObject":{"path":["employees",":id","earnings"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"bc9ccb27-0132-4acb-8120-6b9ceb0f1735","name":"Retreive Employee Earnings","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/employees/:id/earnings","host":["{{base_url}}"],"path":["employees",":id","earnings"],"variable":[{"key":"id","value":"7099"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120112807"},{"key":"X-Request-Id","value":"7a86ec3958f01cf77d1ca9db181ff189"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.072297"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:28:06 GMT"},{"key":"Content-Length","value":"1399"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n  \"employee_id\": 8,\n  \"lessons\": \"15107.77\",\n  \"other_events\": \"1578.55\",\n  \"other_compensation\": \"2399.51\",\n  \"total\": \"19085.83\"\n}"}],"_postman_id":"58a59586-a1ab-4751-9ca6-e8d2d9041265"},{"name":"Retrieve Employee Lesson Totals","id":"eb3daf71-16a5-4eaf-a531-86acb163f4e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/employees/:id/lesson_totals","description":"<p>Can return one of the following measures for a teacher's lessons: total duration in minutes, total earnings, or total count. The filters listed below can be applied.</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>measure</td>\n<td>the type of result to measure. Can be duration, earnings, or count. Default is \"count\".</td>\n</tr>\n<tr>\n<td>status</td>\n<td>filter by lesson status (Scheduled, Attended, Cancelled, Missed).</td>\n</tr>\n<tr>\n<td>status[]</td>\n<td>filter by multiple lesson statuses (Scheduled, Attended, Cancelled, Missed).Pass in a separate \"status[]\" parameter for each status.</td>\n</tr>\n<tr>\n<td>date</td>\n<td>filter by date the lesson starts on. Use YYYY-MM-DD format for dates.\n</td></tr>\n<tr><td>date[gt]</td><td>filter where date is greater than</td></tr>\n<tr><td>date[lt]</td><td>filter where date is less than</td></tr>\n<tr><td>date[gte]</td><td>filter where date is equal to or greater than</td></tr>\n<tr><td>date[lte]</td><td>filter where date is equal to or less than</td></tr></tbody></table>","urlObject":{"path":["employees",":id","lesson_totals"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"aae6c3e2-8432-45be-bf3a-77a1f739588a","name":"Retrieve Employee Lesson Totals","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/employees/:id/lesson_totals","host":["{{base_url}}"],"path":["employees",":id","lesson_totals"],"variable":[{"key":"id","value":"7099"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120112807"},{"key":"X-Request-Id","value":"7a86ec3958f01cf77d1ca9db181ff189"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.072297"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:28:06 GMT"},{"key":"Content-Length","value":"1399"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n  \"employee_id\": 8,\n  \"count\": 584,\n  \"Scheduled\": 44,\n  \"Attended\": 500,\n  \"Missed\": 20,\n  \"Cancelled\": 20\n}"}],"_postman_id":"eb3daf71-16a5-4eaf-a531-86acb163f4e4"},{"name":"List all Employees","id":"831a7fd2-dfaf-438f-8dca-baa9240ca50e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"key":"<key>","value":"<value>"},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{base_url}}/employees","description":"<p>Returns a list of employees that match the search parameters</p>\n<p><strong>Note:</strong> The URL in the \"photo\" attribute of the response is an expiring URL (10 minutes), so if you require long-term use of the image you should use the URL to save the image to your server and load it from there.</p>\n<table><tbody><tr><th>Parameter</th><th>Description</th></tr><tr><td><div>first_name</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by first name</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>last_name</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by last name</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>email</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by email</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>city</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by city</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>state</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by state</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>zip</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by zip</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>status</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by status (Active, Inactive, Prospective)</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>subject</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by subject</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>id[gt]</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search where id is greater than</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>id[lt]</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search where id is less than</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>id[gte]</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search where id is equal to or greater than</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>id[lte]</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search where id is equal to or less than</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>page</div><div><div><div><div></div></div></div><div></div></div></td><td><div>pass an optional page number for pagination, defaults to page 1</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>per_page</div><div><div><div><div></div></div></div><div></div></div></td><td><div>number of records to display per each page, defaults to 20, maximum 50</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>direction</div><div><div><div><div></div></div></div><div></div></div></td><td><div>direction to sort by primary id (asc, desc), defaults to asc</div><div><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>","urlObject":{"path":["employees"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"3a679bdd-ba5a-4819-ae51-33c63a3632ce","name":"List all Employees","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/employees"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120112731"},{"key":"X-Request-Id","value":"fe0a2551a0353f17c66de88bef799c17"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.156292"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:27:30 GMT"},{"key":"Content-Length","value":"1401"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 7099,\n        \"employee_type\": \"Teacher\",\n        \"include_as_teacher\": 0,\n        \"first_name\": \"Angela\",\n        \"last_name\": \"DeKorne\",\n        \"email\": \"adk@teachworks.com\",\n        \"mobile_phone\": \"123-123-1234\",\n        \"home_phone\": \"\",\n        \"address\": \"12 Main Street\",\n        \"address_2\": \"\",\n        \"city\": \"Kitchener\",\n        \"state\": \"ON\",\n        \"zip\": \"N2G5P4\",\n        \"country\": \"Canada\",\n        \"birth_date\": \"1999-12-24\",\n        \"hire_date\": \"2020-01-08\",\n        \"position\": \"Teacher\",\n        \"additional_notes\": \"\",\n        \"subjects\": \"English,Biology\",\n        \"status\": \"Active\",\n        \"time_zone\": null,\n        \"wage_type\": \"Service List Wage\",\n        \"employee_wage\": null,\n        \"wage_tier_id\": null,\n        \"work_wage_type\": \"Work List Wage\",\n        \"work_wage\": null,\n        \"bio\": \"\",\n        \"bio_drafted_at\": null,\n        \"bio_approved\": \"\",\n        \"bio_approved_at\": \"2020-01-28T16:24:54Z\",\n        \"photo\": \"\",\n        \"email_lesson_reminders\": 0,\n        \"sms_lesson_reminders\": 0,\n        \"calendar_default_view\": \"month\",\n        \"calendar_color\": \"#ED8BF8\",\n        \"calendar_color_by\": \"student\",\n        \"user_account\": 0,\n        \"unviewed\": false,\n        \"p_employees\": \"off\",\n        \"p_students\": \"off\",\n        \"p_services\": \"view\",\n        \"p_events\": \"complete\",\n        \"p_event_cost\": \"off\",\n        \"p_accounting\": \"off\",\n        \"p_reports\": \"off\",\n        \"p_settings\": \"off\",\n        \"p_subscription\": \"off\",\n        \"p_student_contact\": \"view\",\n        \"p_events_others\": \"off\",\n        \"p_events_duration\": \"view\",\n        \"p_locations\": \"view\",\n        \"p_send_notes\": \"on\",\n        \"p_teachers\": \"off\",\n        \"p_staff\": \"off\",\n        \"p_tasks\": \"off\",\n        \"p_event_wage\": \"view\",\n        \"p_payroll\": \"off\",\n        \"p_documents\": \"on\",\n        \"p_integrations\": \"off\",\n        \"p_email\": \"off\",\n        \"welcome_sent_at\": null,\n        \"created_at\": \"2020-01-28T16:24:54Z\",\n        \"updated_at\": \"2020-01-28T16:24:54Z\",\n        \"custom_fields\": []\n    }\n]"}],"_postman_id":"831a7fd2-dfaf-438f-8dca-baa9240ca50e"},{"name":"Create an Employee","id":"beaa60cb-2114-45c3-a401-6118e64a7f6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/employees","description":"<p>Use this endpoint to create an employee.</p>\n<p><strong>Arguments</strong></p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td>first_name <em>(Required)</em></td><td>First Name</td></tr>\n<tr><td>last_name <em>(Required)</em></td><td>Last Name</td></tr>\n<tr>\n<td>employee_type <em>(Required)</em></td>\n<td>\"Teacher\" or \"Staff\"</td>\n</tr>\n<tr>\n<td>include_as_teacher</td>\n<td>Set to true if employee_type is \"Staff\" and employee also teaches lessons.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>\"Active\", \"Inactive\" or \"Prospective\". Defaults to \"Active\".</td>\n</tr>\n<tr><td>email</td><td>Email address used for notifications and user accounts</td></tr>\n<tr><td>mobile_phone</td><td>Mobile phone number</td></tr>\n<tr><td>home_phone</td><td>Home phone number</td></tr>\n<tr><td>address</td><td>Address</td></tr>\n<tr><td>address_2</td><td>Address line 2</td></tr>\n<tr><td>city</td><td>City</td></tr>\n<tr><td>state</td><td>State or Province</td></tr>\n<tr><td>zip</td><td>Zip or postal code</td></tr>\n<tr><td>country</td><td>Country</td></tr>\n<tr><td>additional_notes</td><td>Additional notes about the client</td></tr>\n<tr>\n<td>birth_date</td>\n<td>Birth date in YYYY-MM-DD format.</td>\n</tr>\n<tr>\n<td>hire_date</td>\n<td>Hire date in YYYY-MM-DD format.</td>\n</tr>\n<tr>\n<td>position</td>\n<td>Position or job title</td>\n</tr>\n<tr>\n<td>bio</td>\n<td>Biographical details that can be displayed in website plugins</td>\n</tr>\n<tr>\n<td>wage_type</td>\n<td>Method for calculating wage for lessons. \"Employee Wage\" or \"Service List Wage\". <br />Defaults to \"Service List Wage\".</td>\n</tr>\n<tr>\n<td>employee_wage</td>\n<td>Wage per hour for lessons if wage_type set to \"Employee Wage\".</td>\n</tr>\n<tr>\n<td>wage_tier_id</td>\n<td>ID of Wage Tier if wage_type is \"Service List Wage\" and Wage Tiers are enabled.</td>\n</tr>\n<tr>\n<td>work_wage_type</td>\n<td>Method for calculating wage for non-teaching work. \"Employee Wage\" or \"Work List Wage\". <br />Defaults to \"Work List Wage\".</td>\n</tr>\n<tr>\n<td>work_wage</td>\n<td>Wage per hour for non-teaching work if wage_type set to \"Employee Wage\".</td>\n</tr>\n<tr>\n<td>calendar_default_view</td>\n<td>Default calendar view of \"month\",\"agendaWeek\", or \"agendaDay\".<br />Defaults to \"month\".</td>\n</tr>\n<tr>\n<td>calendar_color_by</td>\n<td>Color-code calendar events by \"teacher\",\"student\" or \"location\".<br />Defaults to \"student\".</td>\n</tr>\n<tr>\n<td>calendar_color</td>\n<td>Hex code for events belonging to employee.</td>\n</tr>\n<tr>\n<td>subject_ids</td>\n<td>Array of IDs of subjects for employee.</td>\n</tr>\n<tr><td>email_lesson_reminders</td><td>Set to true to enable email lesson reminders. Email address required if enabled.</td></tr>\n<tr><td>sms_lesson_reminders</td><td>Set to true to enable SMS lesson reminders. Mobile phone required if enabled.</td></tr>\n\n<tr><td>unviewed</td><td>Set to true to mark family profile as \"New\" in Teachworks</td></tr>\n<tr>\n<td>welcome_email</td>\n<td>Set to true to send welcome email to employee.</td>\n</tr>\n<tr>\n<td>enable_user_account</td>\n<td>Set to true to enable user account for employee.</td>\n</tr>\n<tr>\n<th>Teacher User Permissions</th><th></th>\n</tr>\n<tr>\n<td>p_events</td>\n<td>Calendar events permission. <br />Select one of \"view\", \"complete\", \"manage\". <br />Default: \"complete\".</td>\n</tr>\n<tr>\n<td>p_event_cost</td>\n<td>Event Cost permission. <br />Select one of \"off\", \"view\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_events_others</td>\n<td>Other teacher lesson permission. <br />Select one of \"off\", \"view\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_events_duration</td>\n<td>Change duration permission when p_events is set to \"complete\". <br />Select one of \"view\", \"manage\". <br />Default: \"view\".</td>\n</tr>\n<tr>\n<td>p_student_contact</td>\n<td>Student contact information permission. <br />Select one of \"off\", \"view\". <br />Default: \"view\".</td>\n</tr>\n<tr>\n<td>p_send_notes</td>\n<td>Permission for emailing lesson notes. <br />Select one of \"off\", \"on\". <br />Default: \"on\".</td>\n</tr>\n<tr>\n<td>p_documents</td>\n<td>Permission if Profile Attachments add-on enabled. <br />Select one of \"off\", \"on\". <br />Default: \"on\".</td>\n</tr>\n<tr>\n<th>Staff User Permissions</th><th></th>\n</tr>\n<tr>\n<td>p_staff</td>\n<td>Staff permission. <br />Select one of \"off\", \"view\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_teachers</td>\n<td>Teacher permission. <br />Select one of \"off\", \"view\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_students</td>\n<td>Student &amp; Family permission. <br />Select one of \"off\", \"view\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_accounting</td>\n<td>Accounting permission. <br />Select one of \"off\", \"view\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_payroll</td>\n<td>Payroll permission. <br />Select one of \"off\", \"view\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_services</td>\n<td>Services permission. <br />Select one of \"off\", \"view\", \"manage\". <br />Default: \"view\".</td>\n</tr>\n<tr>\n<td>p_locations</td>\n<td>Locations permission. <br />Select one of \"off\", \"view\", \"manage\". <br />Default: \"view\".</td>\n</tr>\n<tr>\n<td>p_events</td>\n<td>Calendar events permission. <br />Select one of \"off\", \"view\", \"complete\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_event_cost</td>\n<td>Calendar event cost permission. <br />Select one of \"off\", \"view\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_event_wage</td>\n<td>Calendar event wage (other employees) permission. <br />Select one of \"off\", \"view\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_events_duration</td>\n<td>Change duration permission when p_events is set to \"complete\". <br />Select one of \"view\", \"manage\". <br />Default: \"view\".</td>\n</tr>\n<tr>\n<td>p_reports</td>\n<td>Reports &amp; analytics permission. <br />Select one of \"off\", \"view\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_tasks</td>\n<td>Tasks add-on permission. <br />Select one of \"off\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_settings</td>\n<td>Account Settings permission. <br />Select one of \"off\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_subscription</td>\n<td>Subscription permission. <br />Select one of \"off\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_integrations</td>\n<td>Integration settings permission. <br />Select one of \"off\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_documents</td>\n<td>Permission if Profile Attachments add-on enabled. <br />Select one of \"off\", \"on\". <br />Default: \"on\".</td>\n</tr>\n<tr>\n<td>p_email</td>\n<td>Email &amp; Schedule Confirmation add-on permission. <br />Select one of \"off\", \"on\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_send_notes</td>\n<td>Permission for emailing lesson notes. <br />Select one of \"off\", \"on\". <br />Default: \"on\".</td>\n</tr>\n</tbody></table>","urlObject":{"path":["employees"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"14134f55-fd5b-496b-901c-1ec30fc1e0b8","name":"Create an Employee","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"employee\": {\n        \"first_name\": \"Tim\",\n        \"last_name\": \"Patowski\",\n        \"employee_type\": \"Teacher\",\n        \"email\": \"tpatowski@teachworks.com\",\n        \"mobile_phone\": \"123-1234\",\n        \"wage_type\": \"Service List Wage\",\n        \"work_wage_type\": \"Work List Wage\",\n        \"hire_date\": \"2022-01-23\",\n        \"email_lesson_reminders\": true,\n        \"sms_lesson_reminders\": true,\n        \"unviewed\": true,\n        \"p_events\": \"manage\",\n        \"p_student_contact\": \"view\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/employees"},"status":"Created ","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120132842"},{"key":"X-Request-Id","value":"76729a91e487488fc27fa45cefa27065"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"1.602484"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 18:28:43 GMT"},{"key":"Content-Length","value":"706"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n\t\"id\": 7196,\n\t\"first_name\": \"Tim\",\n\t\"last_name\": \"Patowski\",\n\t\"employee_type\": \"Teacher\",\n\t\"include_as_teacher\": null,\n\t\"status\": \"Active\",\n\t\"email\": \"tpatowski@teachworks.com\",\n\t\"mobile_phone\": \"123-1234\",\n\t\"home_phone\": null,\n\t\"address\": null,\n\t\"address_2\": null,\n\t\"city\": null,\n\t\"state\": null,\n\t\"zip\": null,\n\t\"country\": null,\n\t\"time_zone\": null,\n\t\"additional_notes\": null,\n\t\"birth_date\": null,\n\t\"hire_date\": \"2022-01-23\",\n\t\"position\": null,\n\t\"bio\": null,\n\t\"bio_drafted_at\": null,\n\t\"bio_approved\": null,\n\t\"bio_approved_at\": null,\n\t\"wage_type\": \"Service List Wage\",\n\t\"employee_wage\": null,\n\t\"wage_tier_id\": null,\n\t\"work_wage_type\": \"Work List Wage\",\n\t\"work_wage\": null,\n\t\"calendar_default_view\": \"month\",\n\t\"calendar_color\": \"#e29fb1\",\n\t\"calendar_color_by\": \"student\",\n\t\"subjects\": null,\n\t\"photo\": \"\",\n\t\"email_lesson_reminders\": 1,\n\t\"sms_lesson_reminders\": 1,\n\t\"user_account\": null,\n\t\"unviewed\": true,\n\t\"p_staff\": \"off\",\n\t\"p_teachers\": \"off\",\n\t\"p_students\": \"off\",\n\t\"p_student_contact\": \"view\",\n\t\"p_accounting\": \"off\",\n\t\"p_payroll\": \"off\",\n\t\"p_services\": \"view\",\n\t\"p_locations\": \"view\",\n\t\"p_events\": \"manage\",\n\t\"p_event_cost\": \"off\",\n\t\"p_event_wage\": \"view\",\n\t\"p_events_others\": \"off\",\n\t\"p_events_duration\": \"view\",\n\t\"p_reports\": \"off\",\n\t\"p_tasks\": \"off\",\n\t\"p_settings\": \"off\",\n\t\"p_subscription\": \"off\",\n\t\"p_integrations\": \"off\",\n\t\"p_documents\": \"on\",\n\t\"p_email\": \"off\",\n\t\"p_send_notes\": \"on\",\n\t\"welcome_sent_at\": null,\n\t\"created_at\": \"2022-06-17T15:55:46.000Z\",\n\t\"updated_at\": \"2022-06-17T15:55:46.000Z\",\n\t\"custom_fields\": []\n}"}],"_postman_id":"beaa60cb-2114-45c3-a401-6118e64a7f6c"},{"name":"Update an Employee","id":"9803f211-a5bb-4ba6-be26-8d91e5771472","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/employees/:id","description":"<p>Use this endpoint to update an employee.</p>\n<p><strong>Arguments</strong></p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td>first_name <em>(Required)</em></td><td>First Name</td></tr>\n<tr><td>last_name <em>(Required)</em></td><td>Last Name</td></tr>\n<tr>\n<td>employee_type <em>(Required)</em></td>\n<td>\"Teacher\" or \"Staff\"</td>\n</tr>\n<tr>\n<td>include_as_teacher</td>\n<td>Set to true if employee_type is \"Staff\" and employee also teaches lessons.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>\"Active\", \"Inactive\" or \"Prospective\"</td>\n</tr>\n<tr><td>email</td><td>Email address used for notifications and user accounts</td></tr>\n<tr><td>mobile_phone</td><td>Mobile phone number</td></tr>\n<tr><td>home_phone</td><td>Home phone number</td></tr>\n<tr><td>address</td><td>Address</td></tr>\n<tr><td>address_2</td><td>Address line 2</td></tr>\n<tr><td>city</td><td>City</td></tr>\n<tr><td>state</td><td>State or Province</td></tr>\n<tr><td>zip</td><td>Zip or postal code</td></tr>\n<tr><td>country</td><td>Country</td></tr>\n<tr><td>additional_notes</td><td>Additional notes about the client</td></tr>\n<tr>\n<td>birth_date</td>\n<td>Birth date in YYYY-MM-DD format.</td>\n</tr>\n<tr>\n<td>hire_date</td>\n<td>Hire date in YYYY-MM-DD format.</td>\n</tr>\n<tr>\n<td>position</td>\n<td>Position or job title</td>\n</tr>\n<tr>\n<td>bio</td>\n<td>Biographical details that can be displayed in website plugins</td>\n</tr>\n<tr>\n<td>wage_type</td>\n<td>Method for calculating wage for lessons. \"Employee Wage\" or \"Service List Wage\". <br />Defaults to \"Service List Wage\".</td>\n</tr>\n<tr>\n<td>employee_wage</td>\n<td>Wage per hour for lessons if wage_type set to \"Employee Wage\".</td>\n</tr>\n<tr>\n<td>wage_tier_id</td>\n<td>ID of Wage Tier if wage_type is \"Service List Wage\" and Wage Tiers are enabled.</td>\n</tr>\n<tr>\n<td>work_wage_type</td>\n<td>Method for calculating wage for non-teaching work. \"Employee Wage\" or \"Work List Wage\". <br />Defaults to \"Work List Wage\".</td>\n</tr>\n<tr>\n<td>work_wage</td>\n<td>Wage per hour for non-teaching work if wage_type set to \"Employee Wage\".</td>\n</tr>\n<tr>\n<td>calendar_default_view</td>\n<td>Default calendar view of \"month\",\"agendaWeek\", or \"agendaDay\".<br />Defaults to \"month\".</td>\n</tr>\n<tr>\n<td>calendar_color_by</td>\n<td>Color-code calendar events by \"teacher\",\"student\" or \"location\".<br />Defaults to \"student\".</td>\n</tr>\n<tr>\n<td>calendar_color</td>\n<td>Hex code for events belonging to employee.</td>\n</tr>\n<tr>\n<td>subject_ids</td>\n<td>Array of IDs of subjects for employee.</td>\n</tr>\n<tr><td>email_lesson_reminders</td><td>Set to true to enable email lesson reminders. Email address required if enabled.</td></tr>\n<tr><td>sms_lesson_reminders</td><td>Set to true to enable SMS lesson reminders. Mobile phone required if enabled.</td></tr>\n\n<tr><td>unviewed</td><td>Set to true to mark family profile as \"New\" in Teachworks</td></tr>\n<tr>\n<td>welcome_email</td>\n<td>Set to true to send welcome email to employee.</td>\n</tr>\n<tr>\n<td>enable_user_account</td>\n<td>Set to true to enable user account for employee.</td>\n</tr>\n<tr>\n<th>Teacher User Permissions</th><th></th>\n</tr>\n<tr>\n<td>p_events</td>\n<td>Calendar events permission. <br />Select one of \"view\", \"complete\", \"manage\". <br />Default: \"complete\".</td>\n</tr>\n<tr>\n<td>p_event_cost</td>\n<td>Event Cost permission. <br />Select one of \"off\", \"view\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_events_others</td>\n<td>Other teacher lesson permission. <br />Select one of \"off\", \"view\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_events_duration</td>\n<td>Change duration permission when p_events is set to \"complete\". <br />Select one of \"view\", \"manage\". <br />Default: \"view\".</td>\n</tr>\n<tr>\n<td>p_student_contact</td>\n<td>Student contact information permission. <br />Select one of \"off\", \"view\". <br />Default: \"view\".</td>\n</tr>\n<tr>\n<td>p_send_notes</td>\n<td>Permission for emailing lesson notes. <br />Select one of \"off\", \"on\". <br />Default: \"on\".</td>\n</tr>\n<tr>\n<td>p_documents</td>\n<td>Permission if Profile Attachments add-on enabled. <br />Select one of \"off\", \"on\". <br />Default: \"on\".</td>\n</tr>\n<tr>\n<th>Staff User Permissions</th><th></th>\n</tr>\n<tr>\n<td>p_staff</td>\n<td>Staff permission. <br />Select one of \"off\", \"view\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_teachers</td>\n<td>Teacher permission. <br />Select one of \"off\", \"view\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_students</td>\n<td>Student &amp; Family permission. <br />Select one of \"off\", \"view\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_accounting</td>\n<td>Accounting permission. <br />Select one of \"off\", \"view\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_payroll</td>\n<td>Payroll permission. <br />Select one of \"off\", \"view\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_services</td>\n<td>Services permission. <br />Select one of \"off\", \"view\", \"manage\". <br />Default: \"view\".</td>\n</tr>\n<tr>\n<td>p_locations</td>\n<td>Locations permission. <br />Select one of \"off\", \"view\", \"manage\". <br />Default: \"view\".</td>\n</tr>\n<tr>\n<td>p_events</td>\n<td>Calendar events permission. <br />Select one of \"off\", \"view\", \"complete\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_event_cost</td>\n<td>Calendar event cost permission. <br />Select one of \"off\", \"view\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_event_wage</td>\n<td>Calendar event wage (other employees) permission. <br />Select one of \"off\", \"view\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_events_duration</td>\n<td>Change duration permission when p_events is set to \"complete\". <br />Select one of \"view\", \"manage\". <br />Default: \"view\".</td>\n</tr>\n<tr>\n<td>p_reports</td>\n<td>Reports &amp; analytics permission. <br />Select one of \"off\", \"view\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_tasks</td>\n<td>Tasks add-on permission. <br />Select one of \"off\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_settings</td>\n<td>Account Settings permission. <br />Select one of \"off\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_subscription</td>\n<td>Subscription permission. <br />Select one of \"off\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_integrations</td>\n<td>Integration settings permission. <br />Select one of \"off\", \"manage\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_documents</td>\n<td>Permission if Profile Attachments add-on enabled. <br />Select one of \"off\", \"on\". <br />Default: \"on\".</td>\n</tr>\n<tr>\n<td>p_email</td>\n<td>Email &amp; Schedule Confirmation add-on permission. <br />Select one of \"off\", \"on\". <br />Default: \"off\".</td>\n</tr>\n<tr>\n<td>p_send_notes</td>\n<td>Permission for emailing lesson notes. <br />Select one of \"off\", \"on\". <br />Default: \"on\".</td>\n</tr>\n</tbody></table>","urlObject":{"path":["employees",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":null,"key":"id"}]}},"response":[{"id":"fe2facf8-3e84-4f26-90ff-cde8b4654995","name":"Update an Employee","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"employee\": {\n        \"first_name\": \"Tim\",\n        \"last_name\": \"Patowski\",\n        \"employee_type\": \"Staff\",\n        \"include_as_teacher\": true,\n        \"email\": \"tpatowski@teachworks.com\",\n        \"mobile_phone\": \"123-1234\",\n        \"email_lesson_reminders\": true,\n        \"sms_lesson_reminders\": true,\n        \"p_teachers\": \"manage\",\n        \"p_students\": \"manage\",\n        \"p_events\": \"manage\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/employees/:id","host":["{{base_url}}"],"path":["employees",":id"],"variable":[{"key":"id","value":null}]}},"status":"Created ","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120132842"},{"key":"X-Request-Id","value":"76729a91e487488fc27fa45cefa27065"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"1.602484"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 18:28:43 GMT"},{"key":"Content-Length","value":"706"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n\t\"id\": 7196,\n\t\"first_name\": \"Tim\",\n\t\"last_name\": \"Patowski\",\n\t\"employee_type\": \"Staff\",\n\t\"include_as_teacher\": 1,\n\t\"status\": \"Active\",\n\t\"email\": \"tpatowski@teachworks.com\",\n\t\"mobile_phone\": \"123-1234\",\n\t\"home_phone\": null,\n\t\"address\": null,\n\t\"address_2\": null,\n\t\"city\": null,\n\t\"state\": null,\n\t\"zip\": null,\n\t\"country\": null,\n\t\"time_zone\": null,\n\t\"additional_notes\": null,\n\t\"birth_date\": null,\n\t\"hire_date\": \"2022-01-23\",\n\t\"position\": null,\n\t\"bio\": null,\n\t\"bio_drafted_at\": null,\n\t\"bio_approved\": null,\n\t\"bio_approved_at\": null,\n\t\"wage_type\": \"Service List Wage\",\n\t\"employee_wage\": null,\n\t\"wage_tier_id\": null,\n\t\"work_wage_type\": \"Work List Wage\",\n\t\"work_wage\": null,\n\t\"calendar_default_view\": \"month\",\n\t\"calendar_color\": \"#e29fb1\",\n\t\"calendar_color_by\": \"student\",\n\t\"subjects\": null,\n\t\"photo\": \"\",\n\t\"email_lesson_reminders\": 1,\n\t\"sms_lesson_reminders\": 1,\n\t\"user_account\": null,\n\t\"unviewed\": false,\n\t\"p_staff\": \"off\",\n\t\"p_teachers\": \"manage\",\n\t\"p_students\": \"manage\",\n\t\"p_student_contact\": \"off\",\n\t\"p_accounting\": \"off\",\n\t\"p_payroll\": \"off\",\n\t\"p_services\": \"view\",\n\t\"p_locations\": \"view\",\n\t\"p_events\": \"manage\",\n\t\"p_event_cost\": \"off\",\n\t\"p_event_wage\": \"view\",\n\t\"p_events_others\": \"off\",\n\t\"p_events_duration\": \"view\",\n\t\"p_reports\": \"off\",\n\t\"p_tasks\": \"off\",\n\t\"p_settings\": \"off\",\n\t\"p_subscription\": \"off\",\n\t\"p_integrations\": \"off\",\n\t\"p_documents\": \"on\",\n\t\"p_email\": \"off\",\n\t\"p_send_notes\": \"on\",\n\t\"welcome_sent_at\": null,\n\t\"created_at\": \"2022-06-17T15:55:46.000Z\",\n\t\"updated_at\": \"2022-06-17T16:03:24.000Z\",\n\t\"custom_fields\": []\n}"}],"_postman_id":"9803f211-a5bb-4ba6-be26-8d91e5771472"},{"name":"Set Employee Status","id":"d1b339b8-8695-4f98-b7f3-8b61afba04e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{base_url}}/employees/:id/set_status","description":"<p>Set's the status of the employee. Valid statuses are \"Prospective\", \"Active\" and \"Inactive\".</p>\n","urlObject":{"path":["employees",":id","set_status"],"host":["{{base_url}}"],"query":[],"variable":[{"id":"ef949c2b-181e-43ec-bb31-7737887735b9","type":"string","value":"","key":"id"}]}},"response":[{"id":"44f09270-09b8-49ee-b2df-d644d09a2cb3","name":"Set Employee Status","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"employee\": \n    {\n\t    \"status\": \"Inactive\"\n\t}\n}"},"url":{"raw":"{{base_url}}/employees/:id/set_status","host":["{{base_url}}"],"path":["employees",":id","set_status"],"variable":[{"key":"id","value":"7099"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120112807"},{"key":"X-Request-Id","value":"7a86ec3958f01cf77d1ca9db181ff189"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.072297"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:28:06 GMT"},{"key":"Content-Length","value":"1399"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 7099,\n    \"employee_type\": \"Teacher\",\n    \"include_as_teacher\": 0,\n    \"first_name\": \"Angela\",\n    \"last_name\": \"DeKorne\",\n    \"email\": \"adk@teachworks.com\",\n    \"mobile_phone\": \"123-123-1234\",\n    \"home_phone\": \"\",\n    \"address\": \"12 Main Street\",\n    \"address_2\": \"\",\n    \"city\": \"Kitchener\",\n    \"state\": \"ON\",\n    \"zip\": \"N2G5P4\",\n    \"country\": \"Canada\",\n    \"birth_date\": \"1999-12-24\",\n    \"hire_date\": \"2020-01-08\",\n    \"position\": \"Teacher\",\n    \"additional_notes\": \"\",\n    \"subjects\": \"English,Biology\",\n    \"status\": \"Inactive\",\n    \"time_zone\": null,\n    \"wage_type\": \"Service List Wage\",\n    \"employee_wage\": null,\n    \"wage_tier_id\": null,\n    \"work_wage_type\": \"Work List Wage\",\n    \"work_wage\": null,\n    \"bio\": \"\",\n    \"bio_drafted_at\": null,\n    \"bio_approved\": \"\",\n    \"bio_approved_at\": \"2020-01-28T16:24:54Z\",\n    \"photo\": \"\",\n    \"email_lesson_reminders\": 0,\n    \"sms_lesson_reminders\": 0,\n    \"calendar_default_view\": \"month\",\n    \"calendar_color\": \"#ED8BF8\",\n    \"calendar_color_by\": \"student\",\n    \"user_account\": 0,\n    \"unviewed\": false,\n    \"p_employees\": \"off\",\n    \"p_students\": \"off\",\n    \"p_services\": \"view\",\n    \"p_events\": \"complete\",\n    \"p_event_cost\": \"off\",\n    \"p_accounting\": \"off\",\n    \"p_reports\": \"off\",\n    \"p_settings\": \"off\",\n    \"p_subscription\": \"off\",\n    \"p_student_contact\": \"view\",\n    \"p_events_others\": \"off\",\n    \"p_events_duration\": \"view\",\n    \"p_locations\": \"view\",\n    \"p_send_notes\": \"on\",\n    \"p_teachers\": \"off\",\n    \"p_staff\": \"off\",\n    \"p_tasks\": \"off\",\n    \"p_event_wage\": \"view\",\n    \"p_payroll\": \"off\",\n    \"p_documents\": \"on\",\n    \"p_integrations\": \"off\",\n    \"p_email\": \"off\",\n    \"welcome_sent_at\": null,\n    \"created_at\": \"2020-01-28T16:24:54Z\",\n    \"updated_at\": \"2020-01-28T16:24:54Z\",\n    \"custom_fields\": []\n}"}],"_postman_id":"d1b339b8-8695-4f98-b7f3-8b61afba04e5"},{"name":"Set Custom Field Values Copy","id":"dfd7e7d1-1e6d-4f41-93f7-854a68a34902","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{base_url}}/employees/:id/custom_fields","description":"<p>The \"Custom Profile Fields\" add-on in Teachworks allows companies to create custom fields for all of their employees. When an employee is created, custom field records are auto-generated with empty values. After an employee has been created you can update the custom field values using this endpoint.</p>\n<p>You can get the field_id for each custom field from the employee object returned after creating, updating or retrieving an employee.</p>\n<p>This endpoint allows you to set the values for up to 10 custom fields at once.</p>\n<p>The JSON response includes an array with any errors for specific records, and an array of updated records.</p>\n<p>You should refer to the settings for this add-on in Teachworks to determine the accepted values for certain custom fields (ie. for select menus, radio buttons, etc.).</p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td><strong>custom_fields</strong></td><td>Array containing list of hashes with the following attributes</td></tr>\n<tr><td>» field_id</td><td>ID of the custom field</td></tr>\n<tr><td>» value</td><td>Value of the custom field<br />For mulit-select values, submit as a comma separated array (ie. [\"value1\",\"value2\"]).</td></tr>\n</tbody>\n</table>","urlObject":{"path":["employees",":id","custom_fields"],"host":["{{base_url}}"],"query":[],"variable":[{"id":"d3f162db-e719-4341-ae4d-2382b3fd291c","type":"string","value":"","key":"id"}]}},"response":[{"id":"9cb9ffe5-2fd2-4e74-bfad-3964048ad313","name":"Set Custom Field Values","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"custom_fields\": \n [\n\t {\"field_id\": 39, \"value\": \"Yes\"}\n ]\n}"},"url":{"raw":"{{base_url}}/employees/:id/custom_fields","host":["{{base_url}}"],"path":["employees",":id","custom_fields"],"variable":[{"key":"id","value":"1365"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120135554"},{"key":"X-Request-Id","value":"8f8cf77c2a5380f525d71c68ac162766"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.117498"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 18:55:53 GMT"},{"key":"Content-Length","value":"189"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"updated\": [\n        {\n            \"field_id\": 39,\n            \"employee_id\": 1365,\n            \"name\": \"Can Drive?\",\n            \"value\": \"Yes\",\n            \"created_at\": \"2020-01-28T18:50:23Z\",\n            \"updated_at\": \"2020-01-28T18:55:53Z\"\n        }\n    ]\n}"}],"_postman_id":"dfd7e7d1-1e6d-4f41-93f7-854a68a34902"}],"id":"d43b601e-614e-48d4-9cf4-3764aca3a1b1","description":"<p>Endpoint for viewing teachers &amp; administrative staff</p>\n","_postman_id":"d43b601e-614e-48d4-9cf4-3764aca3a1b1"},{"name":"Customers","item":[{"name":"Retrieve a Customer","id":"cf4c823b-8fb9-495f-9798-2ac86b1c1dbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/customers/:id","description":"<p>Retrieve a single customer profile (ie. family or independent student). Note: Use the List Students endpoint to retrieve student profiles.</p>\n","urlObject":{"path":["customers",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"3f78bcaa-d9ba-4e6c-b0b2-2b0f8304582e","name":"Retrieve a Customer","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/customers/:id","host":["{{base_url}}"],"path":["customers",":id"],"variable":[{"key":"id","value":"13652"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120113641"},{"key":"X-Request-Id","value":"88a339914f99eee55e9bc07c058f1069"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.036316"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:36:40 GMT"},{"key":"Content-Length","value":"740"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 13652,\n    \"customer_type\": \"family\",\n    \"salutation\": \"\",\n    \"first_name\": \"Frank & Tina\",\n    \"last_name\": \"Vanderwier\",\n    \"email\": \"ftv@teachworks.com\",\n    \"additional_email\": \"\",\n    \"home_phone\": \"123-123-1234\",\n    \"mobile_phone\": \"123-1234\",\n    \"work_phone\": \"\",\n    \"address\": \"5 River Street\",\n    \"address_2\": \"\",\n    \"city\": \"Kitchener\",\n    \"state\": \"ON\",\n    \"zip\": \"N3B 4S7\",\n    \"country\": \"Canada\",\n    \"additional_notes\": \"\",\n    \"status\": \"Active\",\n    \"time_zone\": null,\n    \"email_lesson_reminders\": 1,\n    \"email_lesson_notes\": 1,\n    \"sms_lesson_reminders\": 0,\n    \"user_account\": 0,\n    \"stripe_id\": null,\n    \"unviewed\": false,\n    \"is_family_contact\": false,\n    \"family_customer_id\": null,\n    \"last_invoice_date\": null,\n    \"welcome_sent_at\": null,\n    \"created_at\": \"2020-01-28T16:33:19Z\",\n    \"updated_at\": \"2020-01-28T16:33:19Z\",\n    \"custom_fields\": [],\n    \"students_attributes\": {}\n}"}],"_postman_id":"cf4c823b-8fb9-495f-9798-2ac86b1c1dbf"},{"name":"List all Customers","id":"6b4944e1-3428-4c73-885e-55eea1dae479","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/customers","description":"<p>Returns a list of customer profiles (family and independent student) that match the search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>first_name</td>\n<td>search by first name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>search by last name</td>\n</tr>\n<tr>\n<td>email</td>\n<td>search by email</td>\n</tr>\n<tr>\n<td>phone_number</td>\n<td>search by phone number</td>\n</tr>\n<tr>\n<td>city</td>\n<td>search by city</td>\n</tr>\n<tr>\n<td>state</td>\n<td>search by state</td>\n</tr>\n<tr>\n<td>zip</td>\n<td>search by zip</td>\n</tr>\n<tr>\n<td>country</td>\n<td>search by country</td>\n</tr>\n<tr>\n<td>type</td>\n<td>search by customer type (family or independent)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>search by status (Active, Inactive, Prospective)</td>\n</tr>\n<tr><td>id[gt]</td><td>search where id is greater than</td></tr>\n<tr><td>id[lt]</td><td>search where id is less than</td></tr>\n<tr><td>id[gte]</td><td>search where id is equal to or greater than</td></tr>\n<tr><td>id[lte]</td><td>search where id is equal to or less than</td></tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["customers"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"06f1771f-307c-4518-a2b6-355ec155f65e","name":"List all Customers","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/customers"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120113605"},{"key":"X-Request-Id","value":"74fe304860e6a98e1609e9023726bd13"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.122811"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:36:04 GMT"},{"key":"Content-Length","value":"2183"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 13652,\n        \"customer_type\": \"family\",\n        \"salutation\": \"\",\n        \"first_name\": \"Frank & Tina\",\n        \"last_name\": \"Vanderwier\",\n        \"email\": \"ftv@teachworks.com\",\n        \"additional_email\": \"\",\n        \"home_phone\": \"123-123-1234\",\n        \"mobile_phone\": \"123-1234\",\n        \"work_phone\": \"\",\n        \"address\": \"5 River Street\",\n        \"address_2\": \"\",\n        \"city\": \"Kitchener\",\n        \"state\": \"ON\",\n        \"zip\": \"N3B 4S7\",\n        \"country\": \"Canada\",\n        \"additional_notes\": \"\",\n        \"status\": \"Active\",\n        \"time_zone\": null,\n        \"email_lesson_reminders\": 1,\n        \"email_lesson_notes\": 1,\n        \"sms_lesson_reminders\": 0,\n        \"user_account\": 0,\n        \"stripe_id\": null,\n        \"unviewed\": false,\n        \"is_family_contact\": false,\n        \"family_customer_id\": null,\n        \"last_invoice_date\": null,\n        \"welcome_sent_at\": null,\n        \"created_at\": \"2020-01-28T16:33:19Z\",\n        \"updated_at\": \"2020-01-28T16:33:19Z\",\n        \"custom_fields\": [],\n        \"students_attributes\": {}\n    },\n    {\n        \"id\": 13653,\n        \"customer_type\": \"individual\",\n        \"salutation\": \"\",\n        \"first_name\": \"Jordan\",\n        \"last_name\": \"Ericson\",\n        \"email\": \"j.ericson@teachworks.com\",\n        \"additional_email\": \"\",\n        \"home_phone\": \"\",\n        \"mobile_phone\": \"123-456-7891\",\n        \"work_phone\": \"\",\n        \"address\": \"\",\n        \"address_2\": \"\",\n        \"city\": \"\",\n        \"state\": \"\",\n        \"zip\": \"\",\n        \"country\": \"\",\n        \"additional_notes\": null,\n        \"status\": \"Active\",\n        \"time_zone\": null,\n        \"email_lesson_reminders\": 0,\n        \"email_lesson_notes\": 0,\n        \"sms_lesson_reminders\": 0,\n        \"user_account\": 0,\n        \"stripe_id\": null,\n        \"unviewed\": false,\n        \"is_family_contact\": false,\n        \"family_customer_id\": null,\n        \"last_invoice_date\": null,\n        \"welcome_sent_at\": null,\n        \"created_at\": \"2020-01-28T16:35:58Z\",\n        \"updated_at\": \"2020-01-28T16:35:58Z\",\n        \"custom_fields\": [],\n        \"students_attributes\": {\n            \"id\": 11387,\n            \"customer_id\": 13653,\n            \"student_type\": \"individual\",\n            \"first_name\": \"Jordan\",\n            \"last_name\": \"Ericson\",\n            \"email\": \"j.ericson@teachworks.com\",\n            \"additional_email\": null,\n            \"home_phone\": \"\",\n            \"mobile_phone\": \"123-456-7891\",\n            \"birth_date\": null,\n            \"start_date\": null,\n            \"school\": \"\",\n            \"grade\": \"\",\n            \"additional_notes\": \"\",\n            \"calendar_color\": \"#F9F17F\",\n            \"default_location_id\": null,\n            \"subjects\": \"Biology\",\n            \"status\": \"Active\",\n            \"time_zone\": null,\n            \"billing_method\": \"Service List Cost\",\n            \"student_cost\": null,\n            \"cost_premium_id\": null,\n            \"discount_rate\": \"5.0\",\n            \"email_lesson_reminders\": 0,\n            \"email_lesson_notes\": 0,\n            \"sms_lesson_reminders\": 0,\n            \"user_account\": null,\n            \"unviewed\": false,\n            \"welcome_sent_at\": null,\n            \"created_at\": \"2020-01-28T16:35:58Z\",\n            \"updated_at\": \"2020-01-28T16:35:58Z\",\n            \"custom_fields\": [],\n            \"default_teachers\": []\n        }\n    }\n]"}],"_postman_id":"6b4944e1-3428-4c73-885e-55eea1dae479"},{"name":"Retrieve Customer Lesson Totals","id":"4514506a-3402-41fb-a362-1138799647d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/customers/:id/lesson_totals","description":"<p>Can return one of the following measures for a customer's lessons: total duration in minutes or total count. The response will include the customer id, total, and total for each status. The filters listed below can be applied.</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>measure</td>\n<td>the type of result to measure. Can be duration or count. Default is \"count\".</td>\n</tr>\n<tr>\n<td>status</td>\n<td>filter by lesson status (Scheduled, Attended, Cancelled, Missed).</td>\n</tr>\n<tr>\n<td>status[]</td>\n<td>filter by multiple lesson statuses (Scheduled, Attended, Cancelled, Missed).Pass in a separate \"status[]\" parameter for each status.</td>\n</tr>\n<tr>\n<td>date</td>\n<td>filter by date the lesson starts on. Use YYYY-MM-DD format for dates.\n</td></tr>\n<tr><td>date[gt]</td><td>filter where date is greater than</td></tr>\n<tr><td>date[lt]</td><td>filter where date is less than</td></tr>\n<tr><td>date[gte]</td><td>filter where date is equal to or greater than</td></tr>\n<tr><td>date[lte]</td><td>filter where date is equal to or less than</td></tr>\n<tr></tr></tbody></table>","urlObject":{"path":["customers",":id","lesson_totals"],"host":["{{base_url}}"],"query":[],"variable":[{"id":"e9207bd1-d2b8-4526-9e96-b18a3181c032","type":"string","value":"","key":"id"}]}},"response":[{"id":"b4ff685f-c442-4913-a7e9-ef538ea81c6b","name":"Retrieve Student Lesson Totals","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/customers/:id/lesson_totals","host":["{{base_url}}"],"path":["customers",":id","lesson_totals"],"variable":[{"key":"id","value":"7099"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120112807"},{"key":"X-Request-Id","value":"7a86ec3958f01cf77d1ca9db181ff189"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.072297"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:28:06 GMT"},{"key":"Content-Length","value":"1399"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n  \"customer_id\": 8,\n  \"count\": 256,\n  \"Attended\": 248,\n  \"Cancelled\": 2,\n  \"Scheduled\": 6\n}"}],"_postman_id":"4514506a-3402-41fb-a362-1138799647d2"},{"name":"Create a Family","id":"23020786-388b-496a-80d6-9465788b9f0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/customers/family","description":"<p>Use this endpoint to create a family. Families are customers that have child students and are billed for the fees associated with their students.</p>\n<p><strong>Arguments</strong></p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td>salutation</td><td>Accepted values: 'Mr.', 'Mrs.', 'Ms.', 'Miss', 'Mr. &amp; Mrs.', 'Dr.'</td></tr>\n<tr><td>first_name <em>(Required)</em></td><td>First Name</td></tr>\n<tr><td>last_name <em>(Required)</em></td><td>Last Name</td></tr>\n<tr><td>email</td><td>Primary email address used for notifications and user accounts</td></tr>\n<tr><td>additional_email</td><td>Additional email addresses. Comma separate for multiple addresses.</td></tr>\n<tr><td>home_phone</td><td>Home phone number</td></tr>\n<tr><td>mobile_phone</td><td>Mobile phone number</td></tr>\n<tr><td>work_phone</td><td>Work phone number</td></tr>\n<tr><td>address</td><td>Address</td></tr>\n<tr><td>address_2</td><td>Address line 2</td></tr>\n<tr><td>city</td><td>City</td></tr>\n<tr><td>state</td><td>State or Province</td></tr>\n<tr><td>zip</td><td>Zip or postal code</td></tr>\n<tr><td>country</td><td>Country</td></tr>\n<tr><td>additional_notes</td><td>Additional notes about the client</td></tr>\n<tr><td>status</td><td>Active, Inactive or Prospective</td></tr>\n<tr><td>email_lesson_reminders</td><td>Set to true to enable email lesson reminders. Email address required if enabled.</td></tr>\n<tr><td>email_lesson_notes</td><td>Set to true to enable email lesson notes. Email address required if enabled.</td></tr>\n<tr><td>sms_lesson_reminders</td><td>Set to true to enable SMS lesson reminders. Mobile phone required if enabled.</td></tr>\n<tr><td>stripe_id</td><td>Stripe customer ID for payment processing</td></tr>\n<tr><td>unviewed</td><td>Set to true to mark family profile as \"New\" in Teachworks</td></tr>\n</tbody></table>","urlObject":{"path":["customers","family"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"cc2d4252-14aa-41a1-b143-df27df81f1fd","name":"Create a Family","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"customer\": \n {\t\t\t\n\t \"first_name\": \"Kathy\",\t\t\n\t \"last_name\": \"Peterson\",\n\t \"customer_type\": \"Family\",\n\t \"email\": \"kpeterson@teachworks.com\",\n\t \"email_lesson_reminders\": true,\n\t \"sms_lesson_reminders\": true,\n\t \"mobile_phone\": \"123-1234\",\n\t \"unviewed\": true\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/customers/family"},"status":"Created ","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120132842"},{"key":"X-Request-Id","value":"76729a91e487488fc27fa45cefa27065"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"1.602484"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 18:28:43 GMT"},{"key":"Content-Length","value":"706"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 13655,\n    \"customer_type\": \"family\",\n    \"salutation\": null,\n    \"first_name\": \"Kathy\",\n    \"last_name\": \"Peterson\",\n    \"email\": \"kpeterson@teachworks.com\",\n    \"additional_email\": null,\n    \"home_phone\": null,\n    \"mobile_phone\": \"123-1234\",\n    \"work_phone\": null,\n    \"address\": null,\n    \"address_2\": null,\n    \"city\": null,\n    \"state\": null,\n    \"zip\": null,\n    \"country\": null,\n    \"additional_notes\": null,\n    \"status\": \"Active\",\n    \"time_zone\": null,\n    \"email_lesson_reminders\": 1,\n    \"email_lesson_notes\": 0,\n    \"sms_lesson_reminders\": 1,\n    \"user_account\": null,\n    \"stripe_id\": null,\n    \"unviewed\": true,\n    \"is_family_contact\": false,\n    \"family_customer_id\": null,\n    \"last_invoice_date\": null,\n    \"welcome_sent_at\": null,\n    \"created_at\": \"2020-01-28T18:28:42Z\",\n    \"updated_at\": \"2020-01-28T18:28:42Z\",\n    \"custom_fields\": [],\n    \"students_attributes\": {}\n}"}],"_postman_id":"23020786-388b-496a-80d6-9465788b9f0e"},{"name":"Create an Independent Student","id":"c31f640a-c592-4963-8966-27b086cc3321","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/customers/independent_student","description":"<p>Use this endpoint to create an independent student. Independent students are students that are billed directly.</p>\n<p>Creating an independent student will create a customer record and an associated student record.</p>\n<p><strong>Arguments</strong></p>\n<table><tbody><tr><th>Argument</th><th>Description</th></tr><tr><td><div>salutation</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Accepted values: 'Mr.', 'Mrs.', 'Ms.', 'Miss', 'Mr. &amp; Mrs.', 'Dr.'</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>first_name <i>(Required)</i></div><div><div><div><div></div></div></div><div></div></div></td><td><div>First Name</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>last_name <i>(Required)</i></div><div><div><div><div></div></div></div><div></div></div></td><td><div>Last Name</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>email</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Primary email address used for notifications and user accounts</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>additional_email</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Additional email addresses. Comma separate for multiple addresses.</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>home_phone</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Home phone number</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>mobile_phone</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Mobile phone number</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>work_phone</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Work phone number</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>address</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Address</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>address_2</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Address line 2</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>city</div><div><div><div><div></div></div></div><div></div></div></td><td><div>City</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>state</div><div><div><div><div></div></div></div><div></div></div></td><td><div>State or Province</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>zip</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Zip or postal code</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>country</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Country</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>additional_notes</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Additional notes about the client</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>status</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Active, Inactive or Prospective</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>stripe_id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Stripe customer ID for payment processing</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>unviewed</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Set to true to mark family profile as \"New\" in Teachworks</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><b>students_attributes</b></div><div><div><div><div></div></div></div><div></div></div></td><td><div>Array with hash of the following:</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>» school</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Student's school</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>» grade</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Student's grade level</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>» calendar_color</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Hex color code (ie. #800B00) for student's lessons on calendar. Will be set automatically if no value is entered.</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>» birth_date</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Student birth date in YYYY-MM-DD format.</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>» start_date</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Student start date in YYYY-MM-DD format</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>» billing_method</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Student billing method. Options: 'Service List Cost','Student Cost','Package', 'Flat Fee'</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>» student_cost</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Student cost per hour (if billing_method set to 'Student Cost')</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>» cost_premium_id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>ID of cost premium applied to student lessons</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>» discount_rate</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Discount rate percentage applied to student lessons (Accepted values: 0 – 100)</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>» email_lesson_reminders</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Set to true to enable email lesson reminders. Email address required if enabled.</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>» email_lesson_notes</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Set to true to enable email lesson notes. Email address required if enabled.</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>» sms_lesson_reminders</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Set to true to enable SMS lesson reminders. Mobile phone required if enabled.</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>» standard_subject_ids</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Array of IDs of subjects for student</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>» default_location_id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>ID of default location for student</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>» default_teacher_ids</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Array of IDs of default teachers for student</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>» default_service_ids</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Array of IDs of default services for student</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>» student_group_ids</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Array of IDs of student groups</div><div><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>","urlObject":{"path":["customers","independent_student"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"7504f3cc-308b-4001-9225-ac10dcb2fe3a","name":"Create an Independent Student","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"customer\": \n {\t\t\t\n\t \"first_name\":\"Jesse\",\t\t\n\t \"last_name\": \"Eigen\",\n\t \"email\": \"jesse@teachworks.com\",\n\t \"mobile_phone\": \"123-1234\",\n\t \"status\": \"Prospective\",\n\t \"additional_notes\": \"Needs help with SAT test preparation.\",\n\t \"students_attributes\": [\n              {\n                \"start_date\": \"2020-02-16\",\n                \"billing_method\": \"Student Cost\",\n                \"student_cost\": 25.50,\n                \"default_teacher_ids\": [1]\n              }\n            ]\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/customers/independent_student"},"status":"Created ","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120133328"},{"key":"X-Request-Id","value":"a97f2959deecc2b9f8e4d895f3479357"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.590306"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 18:33:27 GMT"},{"key":"Content-Length","value":"1525"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 13656,\n    \"customer_type\": \"individual\",\n    \"salutation\": null,\n    \"first_name\": \"Jesse\",\n    \"last_name\": \"Eigen\",\n    \"email\": \"jesse@teachworks.com\",\n    \"additional_email\": null,\n    \"home_phone\": null,\n    \"mobile_phone\": \"123-1234\",\n    \"work_phone\": null,\n    \"address\": null,\n    \"address_2\": null,\n    \"city\": null,\n    \"state\": null,\n    \"zip\": null,\n    \"country\": null,\n    \"additional_notes\": \"Needs help with SAT test preparation.\",\n    \"status\": \"Prospective\",\n    \"time_zone\": null,\n    \"email_lesson_reminders\": 0,\n    \"email_lesson_notes\": 0,\n    \"sms_lesson_reminders\": 0,\n    \"user_account\": null,\n    \"stripe_id\": null,\n    \"unviewed\": false,\n    \"is_family_contact\": false,\n    \"family_customer_id\": null,\n    \"last_invoice_date\": null,\n    \"welcome_sent_at\": null,\n    \"created_at\": \"2020-01-28T18:33:27Z\",\n    \"updated_at\": \"2020-01-28T18:33:27Z\",\n    \"custom_fields\": [],\n    \"students_attributes\": {\n        \"id\": 11389,\n        \"customer_id\": 13656,\n        \"student_type\": \"individual\",\n        \"first_name\": \"Jesse\",\n        \"last_name\": \"Eigen\",\n        \"email\": \"jesse@teachworks.com\",\n        \"additional_email\": null,\n        \"home_phone\": null,\n        \"mobile_phone\": \"123-1234\",\n        \"birth_date\": null,\n        \"start_date\": \"2020-02-16\",\n        \"school\": null,\n        \"grade\": null,\n        \"additional_notes\": \"Needs help with SAT test preparation.\",\n        \"calendar_color\": \"#3D04E1\",\n        \"default_location_id\": null,\n        \"subjects\": null,\n        \"status\": \"Prospective\",\n        \"time_zone\": null,\n        \"billing_method\": \"Student Cost\",\n        \"student_cost\": \"25.5\",\n        \"cost_premium_id\": 0,\n        \"discount_rate\": null,\n        \"email_lesson_reminders\": 0,\n        \"email_lesson_notes\": 0,\n        \"sms_lesson_reminders\": 0,\n        \"user_account\": null,\n        \"unviewed\": false,\n        \"welcome_sent_at\": null,\n        \"created_at\": \"2020-01-28T18:33:27Z\",\n        \"updated_at\": \"2020-01-28T18:33:27Z\",\n        \"custom_fields\": [],\n        \"default_teachers\": [\n            {\n            \"id\": 1,\n            \"first_name\": \"Mary\",\n            \"last_name\": \"Wilton\"\n            }\n        ]\n    }\n}"}],"_postman_id":"c31f640a-c592-4963-8966-27b086cc3321"},{"name":"Set Custom Field Values","id":"4e95e3ac-79a9-4d4a-99fb-c6d5af69d93b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{base_url}}/customers/:id/custom_fields","description":"<p>The \"Custom Profile Fields\" add-on in Teachworks allows companies to create custom fields for all of their customers. When a customer is created, custom field records are auto-generated with empty values. After a customer has been created you can update the custom field values using this endpoint.</p>\n<p>You can get the field_id for each custom field from the customer object returned after creating, updating or retrieving a student.</p>\n<p>This endpoint allows you to set the values for up to 10 custom fields at once.</p>\n<p>The JSON response includes an array with any errors for specific records, and an array of updated records.</p>\n<p>You should refer to the settings for this add-on in Teachworks to determine the accepted values for certain custom fields (ie. for select menus, radio buttons, etc.).</p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td><strong>custom_fields</strong></td><td>Array containing list of hashes with the following attributes</td></tr>\n<tr><td>» field_id</td><td>ID of the custom field</td></tr>\n<tr><td>» value</td><td>Value of the custom field<br />For mulit-select values, submit as a comma separated array (ie. [\"value1\",\"value2\"]).</td></tr>\n</tbody>\n</table>","urlObject":{"path":["customers",":id","custom_fields"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"075c462a-ec2f-4a7e-9249-a0a01a3d481a","name":"Set Custom Field Values Copy","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"custom_fields\": \n [\n\t {\"field_id\": 38, \"value\": \"Credit Card\"}\n ]\n}"},"url":{"raw":"{{base_url}}/customers/:id/custom_fields","host":["{{base_url}}"],"path":["customers",":id","custom_fields"],"variable":[{"key":"id","value":"13656"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120135554"},{"key":"X-Request-Id","value":"8f8cf77c2a5380f525d71c68ac162766"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.117498"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 18:55:53 GMT"},{"key":"Content-Length","value":"189"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"updated\": [\n        {\n            \"field_id\": 38,\n            \"customer_id\": 13656,\n            \"name\": \"Preferred Payment Method\",\n            \"value\": \"Credit Card\",\n            \"created_at\": \"2020-01-28T18:50:23Z\",\n            \"updated_at\": \"2020-01-28T18:55:53Z\"\n        }\n    ]\n}"}],"_postman_id":"4e95e3ac-79a9-4d4a-99fb-c6d5af69d93b"},{"name":"Update a Family","id":"0b010fec-f4b4-4a23-80f2-d9ff6c06ca6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/customers/:id","description":"<p>Update an existing family.</p>\n<p><strong>Arguments</strong></p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td>salutation</td><td>Accepted values: 'Mr.', 'Mrs.', 'Ms.', 'Miss', 'Mr. &amp; Mrs.', 'Dr.'</td></tr>\n<tr><td>first_name <em>(Required)</em></td><td>First Name</td></tr>\n<tr><td>last_name <em>(Required)</em></td><td>Last Name</td></tr>\n<tr><td>email</td><td>Primary email address used for notifications and user accounts</td></tr>\n<tr><td>additional_email</td><td>Additional email addresses. Comma separate for multiple addresses.</td></tr>\n<tr><td>home_phone</td><td>Home phone number</td></tr>\n<tr><td>mobile_phone</td><td>Mobile phone number</td></tr>\n<tr><td>work_phone</td><td>Work phone number</td></tr>\n<tr><td>address</td><td>Address</td></tr>\n<tr><td>address_2</td><td>Address line 2</td></tr>\n<tr><td>city</td><td>City</td></tr>\n<tr><td>state</td><td>State or Province</td></tr>\n<tr><td>zip</td><td>Zip or postal code</td></tr>\n<tr><td>country</td><td>Country</td></tr>\n<tr><td>additional_notes</td><td>Additional notes about the client</td></tr>\n<tr><td>status</td><td>Active, Inactive or Prospective</td></tr>\n<tr><td>email_lesson_reminders</td><td>Set to true to enable email lesson reminders. Email address required if enabled.</td></tr>\n<tr><td>email_lesson_notes</td><td>Set to true to enable email lesson notes. Email address required if enabled.</td></tr>\n<tr><td>sms_lesson_reminders</td><td>Set to true to enable SMS lesson reminders. Mobile phone required if enabled.</td></tr>\n<tr><td>stripe_id</td><td>Stripe customer ID for payment processing</td></tr>\n<tr><td>unviewed</td><td>Set to true to mark family profile as \"New\" in Teachworks</td></tr>\n</tbody></table>","urlObject":{"path":["customers",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"9210dfed-49b1-453b-bceb-6f155319b4ba","name":"Update a Family","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\"customer\": \n  {\t\t\t\n    \"status\": \"Active\",\n    \"email_lesson_notes\": 1\n   }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/customers/:id","host":["{{base_url}}"],"path":["customers",":id"],"variable":[{"key":"id","value":"13655"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120133856"},{"key":"X-Request-Id","value":"bbccb2db441a364bd2d38a1edc51b432"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.076800"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 18:38:55 GMT"},{"key":"Content-Length","value":"706"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 13655,\n    \"customer_type\": \"family\",\n    \"salutation\": null,\n    \"first_name\": \"Kathy\",\n    \"last_name\": \"Peterson\",\n    \"email\": \"kpeterson@teachworks.com\",\n    \"additional_email\": null,\n    \"home_phone\": null,\n    \"mobile_phone\": \"123-1234\",\n    \"work_phone\": null,\n    \"address\": null,\n    \"address_2\": null,\n    \"city\": null,\n    \"state\": null,\n    \"zip\": null,\n    \"country\": null,\n    \"additional_notes\": null,\n    \"status\": \"Active\",\n    \"time_zone\": null,\n    \"email_lesson_reminders\": 1,\n    \"email_lesson_notes\": 1,\n    \"sms_lesson_reminders\": 1,\n    \"user_account\": null,\n    \"stripe_id\": null,\n    \"unviewed\": true,\n    \"is_family_contact\": false,\n    \"family_customer_id\": null,\n    \"last_invoice_date\": null,\n    \"welcome_sent_at\": null,\n    \"created_at\": \"2020-01-28T18:28:42Z\",\n    \"updated_at\": \"2020-01-28T18:38:55Z\",\n    \"custom_fields\": [],\n    \"students_attributes\": {}\n}"}],"_postman_id":"0b010fec-f4b4-4a23-80f2-d9ff6c06ca6a"},{"name":"Update an Independent Student","id":"9bc3e7a4-a9a7-4ed3-9ac9-ce51e9d0ea76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/customers/:id","description":"<p>Update an existing independent student.</p>\n<p>This will update the customer record and associated student record.</p>\n<p><strong>Arguments</strong></p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td>salutation</td><td>Accepted values: 'Mr.', 'Mrs.', 'Ms.', 'Miss', 'Mr. &amp; Mrs.', 'Dr.'</td></tr>\n<tr><td>first_name <em>(Required)</em></td><td>First Name</td></tr>\n<tr><td>last_name <em>(Required)</em></td><td>Last Name</td></tr>\n<tr><td>email</td><td>Primary email address used for notifications and user accounts</td></tr>\n<tr><td>additional_email</td><td>Additional email addresses. Comma separate for multiple addresses.</td></tr>\n<tr><td>home_phone</td><td>Home phone number</td></tr>\n<tr><td>mobile_phone</td><td>Mobile phone number</td></tr>\n<tr><td>work_phone</td><td>Work phone number</td></tr>\n<tr><td>address</td><td>Address</td></tr>\n<tr><td>address_2</td><td>Address line 2</td></tr>\n<tr><td>city</td><td>City</td></tr>\n<tr><td>state</td><td>State or Province</td></tr>\n<tr><td>zip</td><td>Zip or postal code</td></tr>\n<tr><td>country</td><td>Country</td></tr>\n<tr><td>additional_notes</td><td>Additional notes about the client</td></tr>\n<tr><td>status</td><td>Active, Inactive or Prospective</td></tr>\n<tr><td>stripe_id</td><td>Stripe customer ID for payment processing</td></tr>\n<tr><td>unviewed</td><td>Set to true to mark family profile as \"New\" in Teachworks</td></tr>\n<tr><td><strong>students_attributes</strong></td><td>Array with hash of the following:</td></tr>\n<tr><td>» school</td><td>Student's school</td></tr>\n<tr><td>» grade</td><td>Student's grade level</td></tr>\n<tr><td>» calendar_color</td><td>Hex color code (ie. #800B00) for student's lessons on calendar. Will be set automatically if no value is entered.</td></tr>\n<tr><td>» birth_date</td><td>Student birth date in YYYY-MM-DD format.</td></tr>\n<tr><td>» start_date</td><td>Student start date in YYYY-MM-DD format</td></tr>\n<tr><td>» billing_method</td><td>Student billing method. Options: 'Service List Cost','Student Cost','Package', 'Flat Fee'</td></tr>\n<tr><td>» student_cost</td><td>Student cost per hour (if billing_method set to 'Student Cost')</td></tr>\n<tr><td>» cost_premium_id</td><td>ID of cost premium applied to student lessons</td></tr>\n<tr><td>» discount_rate</td><td>Discount rate percentage applied to student lessons (Accepted values: 0 – 100)</td></tr>\n<tr><td>» email_lesson_reminders</td><td>Set to true to enable email lesson reminders. Email address required if enabled.</td></tr>\n<tr><td>» email_lesson_notes</td><td>Set to true to enable email lesson notes. Email address required if enabled.</td></tr>\n<tr><td>» sms_lesson_reminders</td><td>Set to true to enable SMS lesson reminders. Mobile phone required if enabled.</td></tr>\n<tr><td>» standard_subject_ids</td><td>Array of IDs of subjects for student</td></tr>\n<tr><td>» default_location_id</td><td>ID of default location for student</td></tr>\n<tr><td>» default_teacher_ids</td><td>Array of IDs of default teachers for student</td></tr>\n<tr><td>» default_service_ids</td><td>Array of IDs of default services for student</td></tr>\n<tr><td>» student_group_ids</td><td>Array of IDs of student groups</td></tr>\n\n</tbody></table>","urlObject":{"path":["customers",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"f6236618-7f55-4b3b-94ed-e3e5f20c08b1","name":"Update an Independent Student","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"customer\": \n {\t\t\t\n\t \"status\": \"Active\",\n\t \"students_attributes\": [\n              {\n                \"start_date\": \"2018-04-16\",\n                \"billing_method\": \"Service List Cost\",\n                \"student_cost\": 0.0\n              }\n            ]\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/customers/:id","host":["{{base_url}}"],"path":["customers",":id"],"variable":[{"key":"id","value":"13656"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120134511"},{"key":"X-Request-Id","value":"94e703f180ecc9d18bbce10248c1379e"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.120416"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 18:45:10 GMT"},{"key":"Content-Length","value":"1519"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 13656,\n    \"customer_type\": \"individual\",\n    \"salutation\": null,\n    \"first_name\": \"Jesse\",\n    \"last_name\": \"Eigen\",\n    \"email\": \"jesse@teachworks.com\",\n    \"additional_email\": null,\n    \"home_phone\": null,\n    \"mobile_phone\": \"123-1234\",\n    \"work_phone\": null,\n    \"address\": null,\n    \"address_2\": null,\n    \"city\": null,\n    \"state\": null,\n    \"zip\": null,\n    \"country\": null,\n    \"additional_notes\": \"Needs help with SAT test preparation.\",\n    \"status\": \"Active\",\n    \"time_zone\": null,\n    \"email_lesson_reminders\": 0,\n    \"email_lesson_notes\": 0,\n    \"sms_lesson_reminders\": 0,\n    \"user_account\": null,\n    \"stripe_id\": null,\n    \"unviewed\": false,\n    \"is_family_contact\": false,\n    \"family_customer_id\": null,\n    \"last_invoice_date\": null,\n    \"welcome_sent_at\": null,\n    \"created_at\": \"2020-01-28T18:33:27Z\",\n    \"updated_at\": \"2020-01-28T18:45:10Z\",\n    \"custom_fields\": [],\n    \"students_attributes\": {\n        \"id\": 11389,\n        \"customer_id\": 13656,\n        \"student_type\": \"individual\",\n        \"first_name\": \"Jesse\",\n        \"last_name\": \"Eigen\",\n        \"email\": \"jesse@teachworks.com\",\n        \"additional_email\": null,\n        \"home_phone\": null,\n        \"mobile_phone\": \"123-1234\",\n        \"birth_date\": null,\n        \"start_date\": \"2018-04-16\",\n        \"school\": null,\n        \"grade\": null,\n        \"additional_notes\": \"Needs help with SAT test preparation.\",\n        \"calendar_color\": \"#3D04E1\",\n        \"default_location_id\": null,\n        \"subjects\": null,\n        \"status\": \"Active\",\n        \"time_zone\": null,\n        \"billing_method\": \"Service List Cost\",\n        \"student_cost\": \"0.0\",\n        \"cost_premium_id\": 0,\n        \"discount_rate\": null,\n        \"email_lesson_reminders\": 0,\n        \"email_lesson_notes\": 0,\n        \"sms_lesson_reminders\": 0,\n        \"user_account\": null,\n        \"unviewed\": false,\n        \"welcome_sent_at\": null,\n        \"created_at\": \"2020-01-28T18:33:27Z\",\n        \"updated_at\": \"2020-01-28T18:45:10Z\",\n        \"custom_fields\": [],\n        \"default_teachers\": [\n            {\n            \"id\": 1,\n            \"first_name\": \"Mary\",\n            \"last_name\": \"Wilton\"\n            }\n        ]\n    }\n}"}],"_postman_id":"9bc3e7a4-a9a7-4ed3-9ac9-ce51e9d0ea76"}],"id":"e3dba8ea-e7f4-4b1b-8963-36bc65acbbfa","description":"<p>Endpoint for viewing and managing customers. There are two types of customers in Teachworks: Families &amp; Independent Students.\nFamilies are customers that have child students and are billed for the fees associated with those students.\nIndependent students are students that are billed directly.</p>\n","_postman_id":"e3dba8ea-e7f4-4b1b-8963-36bc65acbbfa"},{"name":"Students","item":[{"name":"Retrieve a Student","id":"6caebee2-1df6-4dca-af55-d6f777fcf424","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/students/:id","description":"<p>Retrieves a single student</p>\n","urlObject":{"path":["students",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"22d7fb7e-a3ab-4a2d-8fac-e7491ee1517b","name":"Retrieve a Student","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/students/:id","host":["{{base_url}}"],"path":["students",":id"],"variable":[{"key":"id","value":"11386"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120113950"},{"key":"X-Request-Id","value":"5b430792f6c0ba2d19478bdd6154405b"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.078370"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:39:49 GMT"},{"key":"Content-Length","value":"792"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 11386,\n    \"customer_id\": 13652,\n    \"student_type\": \"child\",\n    \"first_name\": \"Anna\",\n    \"last_name\": \"Vanderwier\",\n    \"email\": \"\",\n    \"additional_email\": null,\n    \"home_phone\": \"\",\n    \"mobile_phone\": \"\",\n    \"birth_date\": \"2010-01-30\",\n    \"start_date\": \"2020-01-15\",\n    \"school\": \"Mapleview Elementary\",\n    \"grade\": \"\",\n    \"additional_notes\": \"\",\n    \"calendar_color\": \"#F5C6B1\",\n    \"default_location_id\": 95,\n    \"subjects\": \"Math\",\n    \"status\": \"Active\",\n    \"time_zone\": null,\n    \"billing_method\": \"Service List Cost\",\n    \"student_cost\": null,\n    \"cost_premium_id\": null,\n    \"discount_rate\": null,\n    \"email_lesson_reminders\": 0,\n    \"email_lesson_notes\": 0,\n    \"sms_lesson_reminders\": 0,\n    \"user_account\": 0,\n    \"unviewed\": false,\n    \"welcome_sent_at\": null,\n    \"created_at\": \"2020-01-28T16:34:21Z\",\n    \"updated_at\": \"2020-01-28T16:34:21Z\",\n    \"custom_fields\": [\n        {\n\t\t\t\"field_id\": 15199,\n\t\t\t\"name\": \"Learning Goals\",\n\t\t\t\"value\": \"Algebra proficiency\"\n\t\t}\n    ],\n    \"default_teachers\": [\n        {\n            \"id\": 7099,\n            \"first_name\": \"Angela\",\n            \"last_name\": \"DeKorne\"\n        }\n    ],\n    \"default_services\": [\n        {\n            \"id\": 1,\n            \"name\": \"Math Tutoring\"\n        }\n    ]\n}"}],"_postman_id":"6caebee2-1df6-4dca-af55-d6f777fcf424"},{"name":"Retrieve Student Lesson Totals","id":"41a05745-1b9b-4fc6-83c4-3bc734eabccd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/students/:id/lesson_totals","description":"<p>Can return one of the following measures for a student's lessons: total duration in minutes or total count. The response will include the student id, total, and total for each status. The filters listed below can be applied.</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>measure</td>\n<td>the type of result to measure. Can be duration or count. Default is \"count\".</td>\n</tr>\n<tr>\n<td>status</td>\n<td>filter by lesson status (Scheduled, Attended, Cancelled, Missed).</td>\n</tr>\n<tr>\n<td>status[]</td>\n<td>filter by multiple lesson statuses (Scheduled, Attended, Cancelled, Missed).Pass in a separate \"status[]\" parameter for each status.</td>\n</tr>\n<tr>\n<td>date</td>\n<td>filter by date the lesson starts on. Use YYYY-MM-DD format for dates.\n</td></tr>\n<tr><td>date[gt]</td><td>filter where date is greater than</td></tr>\n<tr><td>date[lt]</td><td>filter where date is less than</td></tr>\n<tr><td>date[gte]</td><td>filter where date is equal to or greater than</td></tr>\n<tr><td>date[lte]</td><td>filter where date is equal to or less than</td></tr>\n<tr></tr></tbody></table>","urlObject":{"path":["students",":id","lesson_totals"],"host":["{{base_url}}"],"query":[],"variable":[{"id":"e9207bd1-d2b8-4526-9e96-b18a3181c032","type":"string","value":"","key":"id"}]}},"response":[{"id":"3edd3678-ed2e-44ba-b7bf-5e9616b1b3a7","name":"Retrieve Student Lesson Totals","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/students/:id/lesson_totals","host":["{{base_url}}"],"path":["students",":id","lesson_totals"],"variable":[{"key":"id","value":"7099"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120112807"},{"key":"X-Request-Id","value":"7a86ec3958f01cf77d1ca9db181ff189"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.072297"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:28:06 GMT"},{"key":"Content-Length","value":"1399"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n  \"student_id\": 8,\n  \"count\": 256,\n  \"Attended\": 248,\n  \"Cancelled\": 2,\n  \"Scheduled\": 6\n}"}],"_postman_id":"41a05745-1b9b-4fc6-83c4-3bc734eabccd"},{"name":"List all Students","id":"cb509d22-7290-4eb6-b407-63366b2bfa5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/students","description":"<p>Returns a list of students that match the search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>customer_id</td>\n<td>search by customer id</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>search by first name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>search by last name</td>\n</tr>\n<tr>\n<td>email</td>\n<td>search by email</td>\n</tr>\n<tr>\n<td>phone_number</td>\n<td>search by phone number</td>\n</tr>\n<tr>\n<td>school</td>\n<td>search by school</td>\n</tr>\n<tr>\n<td>grade</td>\n<td>search by grade</td>\n</tr>\n<tr>\n<td>subject</td>\n<td>search by subject</td>\n</tr>\n<tr>\n<td>type</td>\n<td>search by customer type (family or independent)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>search by status (Active, Inactive, Prospective)</td>\n</tr>\n<tr><td>id[gt]</td><td>search where id is greater than</td></tr>\n<tr><td>id[lt]</td><td>search where id is less than</td></tr>\n<tr><td>id[gte]</td><td>search where id is equal to or greater than</td></tr>\n<tr><td>id[lte]</td><td>search where id is equal to or less than</td></tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["students"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"7eea8c1e-a66c-4ab1-9d6f-2b630709583e","name":"List all Students","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/students"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120113910"},{"key":"X-Request-Id","value":"42aed7598f11b700bc733d8ed4aa4b74"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.101308"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:39:09 GMT"},{"key":"Content-Length","value":"1545"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 11386,\n        \"customer_id\": 13652,\n        \"student_type\": \"child\",\n        \"first_name\": \"Anna\",\n        \"last_name\": \"Vanderwier\",\n        \"email\": \"\",\n        \"additional_email\": null,\n        \"home_phone\": \"\",\n        \"mobile_phone\": \"\",\n        \"birth_date\": \"2010-01-30\",\n        \"start_date\": \"2020-01-15\",\n        \"school\": \"Mapleview Elementary\",\n        \"grade\": \"\",\n        \"additional_notes\": \"\",\n        \"calendar_color\": \"#F5C6B1\",\n        \"default_location_id\": 95,\n        \"subjects\": \"Math\",\n        \"status\": \"Active\",\n        \"time_zone\": null,\n        \"billing_method\": \"Service List Cost\",\n        \"student_cost\": null,\n        \"cost_premium_id\": null,\n        \"discount_rate\": null,\n        \"email_lesson_reminders\": 0,\n        \"email_lesson_notes\": 0,\n        \"sms_lesson_reminders\": 0,\n        \"user_account\": 0,\n        \"unviewed\": false,\n        \"welcome_sent_at\": null,\n        \"created_at\": \"2020-01-28T16:34:21Z\",\n        \"updated_at\": \"2020-01-28T16:34:21Z\",\n        \"custom_fields\": [\n            {\n\t\t\t    \"field_id\": 15199,\n\t\t\t    \"name\": \"Learning Goals\",\n\t\t\t    \"value\": \"Algebra proficiency\"\n\t\t    }\n        ],\n        \"default_teachers\": [\n            {\n                \"id\": 7099,\n                \"first_name\": \"Angela\",\n                \"last_name\": \"DeKorne\"\n            }\n        ],\n        \"default_services\": [\n            {\n                \"id\": 1,\n                \"name\": \"Math Tutoring\"\n            }\n        ]\n    },\n    {\n        \"id\": 11387,\n        \"customer_id\": 13653,\n        \"student_type\": \"individual\",\n        \"first_name\": \"Jordan\",\n        \"last_name\": \"Ericson\",\n        \"email\": \"j.ericson@teachworks.com\",\n        \"additional_email\": null,\n        \"home_phone\": \"\",\n        \"mobile_phone\": \"123-456-7891\",\n        \"birth_date\": null,\n        \"start_date\": null,\n        \"school\": \"\",\n        \"grade\": \"\",\n        \"additional_notes\": \"\",\n        \"calendar_color\": \"#F9F17F\",\n        \"default_location_id\": null,\n        \"subjects\": \"Biology\",\n        \"status\": \"Active\",\n        \"time_zone\": null,\n        \"billing_method\": \"Service List Cost\",\n        \"student_cost\": null,\n        \"cost_premium_id\": null,\n        \"discount_rate\": \"5.0\",\n        \"email_lesson_reminders\": 0,\n        \"email_lesson_notes\": 0,\n        \"sms_lesson_reminders\": 0,\n        \"user_account\": null,\n        \"unviewed\": false,\n        \"welcome_sent_at\": null,\n        \"created_at\": \"2020-01-28T16:35:58Z\",\n        \"updated_at\": \"2020-01-28T16:35:58Z\",\n        \"custom_fields\": [],\n        \"default_teachers\": [],\n        \"default_services\": []\n    }\n]"}],"_postman_id":"cb509d22-7290-4eb6-b407-63366b2bfa5c"},{"name":"Create a Child Student","id":"01cd10b3-08ac-4b21-b6f0-a37bef2c6b32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/students","description":"<p>Use this endpoint to create a child student. Child students belong to a family their fees are billed to the family.</p>\n<p><strong>Arguments</strong></p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td>customer_id</td><td>ID of customer/family that the student belongs to</td></tr>\n<tr><td>first_name <em>(Required)</em></td><td>First Name</td></tr>\n<tr><td>last_name <em>(Required)</em></td><td>Last Name</td></tr>\n<tr><td>email</td><td>Primary email address used for notifications and user accounts</td></tr>\n<tr><td>home_phone</td><td>Home phone number</td></tr>\n<tr><td>mobile_phone</td><td>Mobile phone number</td></tr>\n<tr><td>additional_notes</td><td>Additional notes about the client</td></tr>\n<tr><td>status</td><td>Active, Inactive or Prospective</td></tr>\n<tr><td>school</td><td>Student's school</td></tr>\n<tr><td>grade</td><td>Student's grade level</td></tr>\n<tr><td>calendar_color</td><td>Hex color code (ie. #800B00) for student's lessons on calendar. Will be set automatically if no value is entered.</td></tr>\n<tr><td>birth_date</td><td>Student birth date in YYYY-MM-DD format.</td></tr>\n<tr><td>start_date</td><td>Student start date in YYYY-MM-DD format</td></tr>\n<tr><td>billing_method</td><td>Student billing method. Options: 'Service List Cost','Student Cost','Package', 'Flat Fee'</td></tr>\n<tr><td>student_cost</td><td>Student cost per hour (if billing_method set to 'Student Cost')</td></tr>\n<tr><td>cost_premium_id</td><td>ID of cost premium applied to student lessons</td></tr>\n<tr><td>discount_rate</td><td>Discount rate percentage applied to student lessons (Accepted values: 0 – 100)</td></tr>\n<tr><td>email_lesson_reminders</td><td>Set to true to enable email lesson reminders. Email address required if enabled.</td></tr>\n<tr><td>email_lesson_notes</td><td>Set to true to enable email lesson notes. Email address required if enabled.</td></tr>\n<tr><td>sms_lesson_reminders</td><td>Set to true to enable SMS lesson reminders. Mobile phone required if enabled.</td></tr>\n<tr><td>standard_subject_ids</td><td>Array of IDs of standard subjects for student</td></tr>\n<tr><td>default_location_id</td><td>ID of default location for student</td></tr>\n<tr><td>default_teacher_ids</td><td>Array of IDs of default teachers for student</td></tr>\n<tr><td>default_service_ids</td><td>Array of IDs of default services for student</td></tr>\n<tr><td>student_group_ids</td><td>Array of IDs of student groups</td></tr>\n<tr><td>unviewed</td><td>Set to true to mark family profile as \"New\" in Teachworks</td></tr>\n</tbody></table>","urlObject":{"path":["students"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"6c0d8523-10ee-40fb-ab64-309e574a0375","name":"Create a Child Student","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"student\": \n {\t\n\t\"customer_id\": 13655,\n\t\"first_name\": \"Andrea\",\n\t\"last_name\": \"Peterson\",\n\t\"birth_date\": \"2007-12-14\",\n\t\"billing_method\": \"Service List Cost\",\n\t\"status\": \"Active\",\n    \"default_teacher_ids\": [1]\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/students"},"status":"Created ","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120140316"},{"key":"X-Request-Id","value":"cd147282d3f819af365836136a6db676"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.249266"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 19:03:15 GMT"},{"key":"Content-Length","value":"771"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 11390,\n    \"customer_id\": 13655,\n    \"student_type\": \"child\",\n    \"first_name\": \"Andrea\",\n    \"last_name\": \"Peterson\",\n    \"email\": null,\n    \"additional_email\": null,\n    \"home_phone\": null,\n    \"mobile_phone\": null,\n    \"birth_date\": \"2007-12-14\",\n    \"start_date\": null,\n    \"school\": null,\n    \"grade\": null,\n    \"additional_notes\": null,\n    \"calendar_color\": \"#bf3c9c\",\n    \"default_location_id\": null,\n    \"subjects\": null,\n    \"status\": \"Active\",\n    \"time_zone\": null,\n    \"billing_method\": \"Service List Cost\",\n    \"student_cost\": null,\n    \"cost_premium_id\": 0,\n    \"discount_rate\": null,\n    \"email_lesson_reminders\": 0,\n    \"email_lesson_notes\": 0,\n    \"sms_lesson_reminders\": 0,\n    \"user_account\": null,\n    \"unviewed\": false,\n    \"welcome_sent_at\": null,\n    \"created_at\": \"2020-01-28T19:03:15Z\",\n    \"updated_at\": \"2020-01-28T19:03:15Z\",\n    \"custom_fields\": [\n        {\n            \"field_id\": 39,\n            \"name\": \"Starting GPA\",\n            \"value\": null\n        }\n    ],\n    \"default_teachers\": [\n        {\n        \"id\": 1,\n        \"first_name\": \"Mary\",\n        \"last_name\": \"Wilton\"\n        }\n    ],\n    \"default_services\": []\n}"}],"_postman_id":"01cd10b3-08ac-4b21-b6f0-a37bef2c6b32"},{"name":"Create an Independent Student","id":"cbf92a49-7328-47dd-8534-1312a1cbbcf1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"","description":"<p>Independent Students are added using the following Customers endpoint: <a href=\"#c31f640a-c592-4963-8966-27b086cc3321\">Create Independent Student</a></p>\n","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"cbf92a49-7328-47dd-8534-1312a1cbbcf1"},{"name":"Set Custom Field Values","id":"20359fe0-17d0-4ca8-8e17-e31680f91792","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{base_url}}/students/:id/custom_fields","description":"<p>The \"Custom Profile Fields\" add-on in Teachworks allows companies to create custom fields for all of their students. When a student is created, custom field records are auto-generated with empty values. After a student has been created you can update the custom field values using this endpoint.</p>\n<p>You can get the field_id for each custom field from the student object returned after creating, updating or retrieving a student.</p>\n<p>This endpoint allows you to set the values for up to 10 custom fields at once.</p>\n<p>The JSON response includes an array with any errors for specific records, and an array of updated records.</p>\n<p>You should refer to the settings for this add-on in Teachworks to determine the accepted values for certain fields (ie. for select menus, radio buttons, etc.).</p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td><strong>custom_fields</strong></td><td>Array containing list of hashes with the following attributes</td></tr>\n<tr><td>» field_id</td><td>ID of the custom field</td></tr>\n<tr><td>» value</td><td>Value of the custom field.<br />For mulit-select values, submit as a comma separated array (ie. [\"value1\",\"value2\"]).</td></tr>\n</tbody>\n</table>","urlObject":{"path":["students",":id","custom_fields"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"413beafa-42a0-45e3-bbc4-b8e806a4db77","name":"Set Custom Field Values","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"custom_fields\": \n [\n\t {\"field_id\": 38, \"value\": \"Credit Card\"},\n\t {\"field_id\": 39, \"value\": 3.72}\n ]\n}"},"url":{"raw":"{{base_url}}/students/:id/custom_fields","host":["{{base_url}}"],"path":["students",":id","custom_fields"],"variable":[{"key":"id","value":"11386"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120141149"},{"key":"X-Request-Id","value":"51c30b965f1dd8985951c4f17aab00b1"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.074314"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 19:11:48 GMT"},{"key":"Content-Length","value":"209"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        \"Custom value with field_id 38 not found.\"\n    ],\n    \"updated\": [\n        {\n            \"field_id\": 39,\n            \"student_id\": 11386,\n            \"name\": \"Starting GPA\",\n            \"value\": 3.72,\n            \"created_at\": \"2020-01-28T18:50:43Z\",\n            \"updated_at\": \"2020-01-28T19:11:48Z\"\n        }\n    ]\n}"}],"_postman_id":"20359fe0-17d0-4ca8-8e17-e31680f91792"},{"name":"Update a Child Student","id":"c3e4990d-dbe0-44a0-82c8-80ef894e12c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/students/:id","description":"<p>Use this endpoint to update an existing child student.</p>\n<p><strong>Arguments</strong></p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td>customer_id</td><td>ID of customer/family that the student belongs to</td></tr>\n<tr><td>first_name <em>(Required)</em></td><td>First Name</td></tr>\n<tr><td>last_name <em>(Required)</em></td><td>Last Name</td></tr>\n<tr><td>email</td><td>Primary email address used for notifications and user accounts</td></tr>\n<tr><td>home_phone</td><td>Home phone number</td></tr>\n<tr><td>mobile_phone</td><td>Mobile phone number</td></tr>\n<tr><td>additional_notes</td><td>Additional notes about the client</td></tr>\n<tr><td>status</td><td>Active, Inactive or Prospective</td></tr>\n<tr><td>school</td><td>Student's school</td></tr>\n<tr><td>grade</td><td>Student's grade level</td></tr>\n<tr><td>calendar_color</td><td>Hex color code (ie. #800B00) for student's lessons on calendar. Will be set automatically if no value is entered.</td></tr>\n<tr><td>birth_date</td><td>Student birth date in YYYY-MM-DD format.</td></tr>\n<tr><td>start_date</td><td>Student start date in YYYY-MM-DD format</td></tr>\n<tr><td>billing_method</td><td>Student billing method. Options: 'Service List Cost','Student Cost','Package', 'Flat Fee'</td></tr>\n<tr><td>student_cost</td><td>Student cost per hour (if billing_method set to 'Student Cost')</td></tr>\n<tr><td>cost_premium_id</td><td>ID of cost premium applied to student lessons</td></tr>\n<tr><td>discount_rate</td><td>Discount rate percentage applied to student lessons (Accepted values: 0 – 100)</td></tr>\n<tr><td>email_lesson_reminders</td><td>Set to true to enable email lesson reminders. Email address required if enabled.</td></tr>\n<tr><td>email_lesson_notes</td><td>Set to true to enable email lesson notes. Email address required if enabled.</td></tr>\n<tr><td>sms_lesson_reminders</td><td>Set to true to enable SMS lesson reminders. Mobile phone required if enabled.</td></tr>\n<tr><td>standard_subject_ids</td><td>Array of IDs of subjects for student</td></tr>\n<tr><td>default_location_id</td><td>ID of default location for student</td></tr>\n<tr><td>default_teacher_ids</td><td>Array of IDs of default teachers for student</td></tr>\n<tr><td>default_service_ids</td><td>Array of IDs of default services for student</td></tr>\n<tr><td>student_group_ids</td><td>Array of IDs of student groups</td></tr>\n<tr><td>unviewed</td><td>Set to true to mark family profile as \"New\" in Teachworks</td></tr>\n</tbody></table>","urlObject":{"path":["students",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"64c4be26-7099-49aa-9d8f-538560cff8ef","name":"Update a Child Student","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"student\": \n {\t\n\t \"email\": \"andrea.p@teachworks.com\",\n\t \"email_lesson_reminders\": true\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/students/:id","host":["{{base_url}}"],"path":["students",":id"],"variable":[{"key":"id","value":"11390"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120140609"},{"key":"X-Request-Id","value":"fbb5887c0d3b0114a6ddc1a013440a93"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.105229"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 19:06:08 GMT"},{"key":"Content-Length","value":"792"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 11390,\n    \"customer_id\": 13655,\n    \"student_type\": \"child\",\n    \"first_name\": \"Andrea\",\n    \"last_name\": \"Peterson\",\n    \"email\": \"andrea.p@teachworks.com\",\n    \"additional_email\": null,\n    \"home_phone\": null,\n    \"mobile_phone\": null,\n    \"birth_date\": \"2007-12-14\",\n    \"start_date\": null,\n    \"school\": null,\n    \"grade\": null,\n    \"additional_notes\": null,\n    \"calendar_color\": \"#bf3c9c\",\n    \"default_location_id\": null,\n    \"subjects\": null,\n    \"status\": \"Active\",\n    \"time_zone\": null,\n    \"billing_method\": \"Service List Cost\",\n    \"student_cost\": null,\n    \"cost_premium_id\": 0,\n    \"discount_rate\": null,\n    \"email_lesson_reminders\": 1,\n    \"email_lesson_notes\": 0,\n    \"sms_lesson_reminders\": 0,\n    \"user_account\": null,\n    \"unviewed\": false,\n    \"welcome_sent_at\": null,\n    \"created_at\": \"2020-01-28T19:03:15Z\",\n    \"updated_at\": \"2020-01-28T19:06:08Z\",\n    \"custom_fields\": [\n        {\n            \"field_id\": 39,\n            \"name\": \"Starting GPA\",\n            \"value\": null\n        }\n    ],\n    \"default_teachers\": [\n        {\n        \"id\": 1,\n        \"first_name\": \"Mary\",\n        \"last_name\": \"Wilton\"\n        }\n    ],\n    \"default_services\": [\n        {\n            \"id\": 1,\n            \"name\": \"Math Tutoring\"\n        }\n    ]\n}"}],"_postman_id":"c3e4990d-dbe0-44a0-82c8-80ef894e12c5"},{"name":"Update an Independent Student","id":"c3d6a792-f2c6-4a2d-9372-3ccb9c188dd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"","description":"<p>Independent Students are added using the following Customers endpoint: <a href=\"#9bc3e7a4-a9a7-4ed3-9ac9-ce51e9d0ea76\">Update Independent Student</a></p>\n","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"c3d6a792-f2c6-4a2d-9372-3ccb9c188dd7"}],"id":"72799a28-6914-489b-94e5-45c5d0e6c38a","description":"<p>Endpoint for viewing and managing students. In Teachworks students can be either Child Students or Independent Students. Child students belong to a family and the family is billed for their lesson fees. Independent students are billed directly and can be added throught the Customers endpoint.</p>\n","_postman_id":"72799a28-6914-489b-94e5-45c5d0e6c38a"},{"name":"Subjects","item":[{"name":"Retrieve a Subject","id":"e1933216-d3ab-45f7-9c2a-0b95d3e95e7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/subjects/:id","description":"<p>Retrieve a single standard subject by id</p>\n","urlObject":{"path":["subjects",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"8167846b-ba12-4334-9f50-6616f7f5d9dd","name":"Retrieve a Subject","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/subjects/:id","host":["{{base_url}}"],"path":["subjects",":id"],"variable":[{"key":"id","value":"89"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120105453"},{"key":"X-Request-Id","value":"f12374ad4e9cb246457b49b6df505d14"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.049591"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 15:54:52 GMT"},{"key":"Content-Length","value":"164"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 89,\n    \"name\": \"French\",\n    \"description\": null,\n    \"created_at\": \"2020-01-28T15:49:35Z\",\n    \"updated_at\": \"2020-01-28T15:49:35Z\"\n}"}],"_postman_id":"e1933216-d3ab-45f7-9c2a-0b95d3e95e7b"},{"name":"List all Subjects","id":"e6469a6b-66b4-4aa4-a6ae-d05c41fbb646","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/subjects","description":"<p>Get a list of all standard subjects matching your search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>name</td>\n<td>search by name (will return partial matches)</td>\n</tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["subjects"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"64f931e8-e4b6-4031-b87b-090a6dfb9516","name":"List all Subjects","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/subjects"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120105330"},{"key":"X-Request-Id","value":"799f2a90fd04f5585c1b3de5d9af0172"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.032748"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 15:53:29 GMT"},{"key":"Content-Length","value":"669"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 89,\n        \"name\": \"French\",\n        \"description\": null,\n        \"created_at\": \"2020-01-28T15:49:35Z\",\n        \"updated_at\": \"2020-01-28T15:49:35Z\"\n    },\n    {\n        \"id\": 90,\n        \"name\": \"English\",\n        \"description\": null,\n        \"created_at\": \"2020-01-28T15:49:48Z\",\n        \"updated_at\": \"2020-01-28T15:49:48Z\"\n    },\n    {\n        \"id\": 91,\n        \"name\": \"Physics\",\n        \"description\": null,\n        \"created_at\": \"2020-01-28T15:50:09Z\",\n        \"updated_at\": \"2020-01-28T15:50:09Z\"\n    },\n    {\n        \"id\": 92,\n        \"name\": \"Calculus\",\n        \"description\": null,\n        \"created_at\": \"2020-01-28T15:50:26Z\",\n        \"updated_at\": \"2020-01-28T15:50:26Z\"\n    }\n]"}],"_postman_id":"e6469a6b-66b4-4aa4-a6ae-d05c41fbb646"}],"id":"d9520eb4-92a5-4b18-af32-f934bc0a1278","description":"<p>Endpoint for viewing subjects.</p>\n","event":[{"listen":"prerequest","script":{"id":"ca35ed30-7b36-481a-9276-8c213555c267","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cc27203d-4f3b-4f9c-9bb8-5a920c708320","type":"text/javascript","exec":[""]}}],"_postman_id":"d9520eb4-92a5-4b18-af32-f934bc0a1278"},{"name":"Student Groups","item":[{"name":"Retrieve a Student Group","id":"34c4447b-ed96-4044-a664-74083d9205e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/student_groups/:id","description":"<p>Retrieve a single standard subject by id</p>\n","urlObject":{"path":["student_groups",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"1b4e25c9-c93d-4f8c-95fb-46c6fae210a8","name":"Retrieve a Student Group","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/student_groups/:id","host":["{{base_url}}"],"path":["student_groups",":id"],"variable":[{"key":"id","value":"89"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120105453"},{"key":"X-Request-Id","value":"f12374ad4e9cb246457b49b6df505d14"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.049591"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 15:54:52 GMT"},{"key":"Content-Length","value":"164"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 12,\n    \"name\": \"SAT Bootcamp\",\n    \"created_at\": \"2021-01-28T15:49:35Z\",\n    \"updated_at\": \"2021-01-28T15:49:35Z\"\n}"}],"_postman_id":"34c4447b-ed96-4044-a664-74083d9205e9"},{"name":"List all Student Groups","id":"bbe3efd9-f1d8-4a38-95d9-2be8f4494aa5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/student_groups","description":"<p>Get a list of all student groups matching your search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>name</td>\n<td>search by name (will return partial matches)</td>\n</tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["student_groups"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"9f4f7aaf-78f0-49f6-bc8f-7d465d871888","name":"List all Student Groups","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/student_groups"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120105330"},{"key":"X-Request-Id","value":"799f2a90fd04f5585c1b3de5d9af0172"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.032748"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 15:53:29 GMT"},{"key":"Content-Length","value":"669"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 12,\n        \"name\": \"SAT Bootcamp\",\n        \"created_at\": \"2021-01-28T15:49:35Z\",\n        \"updated_at\": \"2021-01-28T15:49:35Z\"\n    },\n    {\n        \"id\": 15,\n        \"name\": \"ACT Monthly\",\n        \"created_at\": \"2021-01-28T15:49:48Z\",\n        \"updated_at\": \"2021-01-28T15:49:48Z\"\n    }\n]"}],"_postman_id":"bbe3efd9-f1d8-4a38-95d9-2be8f4494aa5"}],"id":"6336ff76-4e1f-4a65-90b2-014414d1a21c","description":"<p>Endpoint for viewing student groups from the Student Groups add-on.</p>\n","event":[{"listen":"prerequest","script":{"id":"9ada2970-275c-448e-b786-07dcea7743e8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d7123799-fbe7-4980-9e7a-8257499ae611","type":"text/javascript","exec":[""]}}],"_postman_id":"6336ff76-4e1f-4a65-90b2-014414d1a21c"},{"name":"Lessons","item":[{"name":"Retrieve a Lesson","id":"6dc0b822-d294-4145-be58-39cc6d42f3f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/lessons/:id","description":"<p>Retrieve a single lesson response</p>\n","urlObject":{"path":["lessons",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"1fd8643f-eb0a-4575-acbc-5ee7f36b7033","name":"Retrieve a Lesson","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Token token={{api_key}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{base_url}}/lessons/:id","host":["{{base_url}}"],"path":["lessons",":id"],"variable":[{"key":"id","value":"6385"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120114558"},{"key":"X-Request-Id","value":"13679d89d56b6c6d34f40485b7113e85"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.073963"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:45:57 GMT"},{"key":"Content-Length","value":"2064"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6385,\n    \"name\": \"Math Tutoring\",\n    \"description\": \"\",\n    \"series_id\": 556,\n    \"location_name\": \"Waterloo Location\",\n    \"location_id\": 96,\n    \"parent_location_name\": null,\n    \"parent_location_id\": null,\n    \"employee_name\": \"DeKorne, Angela\",\n    \"employee_id\": 7099,\n    \"service_name\": \"Math Tutoring\",\n    \"service_id\": 89,\n    \"spaces\": null,\n    \"joinable\": null,\n    \"from_date\": \"2020-01-31\",\n    \"from_time\": \"12:00:00\",\n    \"to_date\": \"2020-01-31\",\n    \"to_time\": \"13:00:00\",\n    \"time_zone\": \"Eastern Time (US & Canada)\",\n    \"from_datetime\": \"2020-01-31T17:00:00Z\",\n    \"to_datetime\": \"2020-01-31T18:00:00Z\",\n    \"duration_minutes\": 60,\n    \"status\": \"Scheduled\",\n    \"custom_status\": null,\n    \"wage\": \"15.0\",\n    \"wage_payment_id\": null,\n    \"cost_override\": null,\n    \"override_method\": \"\",\n    \"override_value\": null,\n    \"request_comments\": null,\n    \"requested_at\": null,\n    \"request_customer_id\": null,\n    \"request_student_id\": null,\n    \"vehicle_id\": null,\n    \"sms_sent_at\": null,\n    \"reminder_sent_at\": null,\n    \"cancelled_sent_at\": null,\n    \"completed_at\": null,\n    \"created_at\": \"2020-01-28T16:43:51Z\",\n    \"updated_at\": \"2020-01-28T16:45:11Z\",\n    \"participants\": [\n        {\n            \"id\": 12355,\n            \"lesson_id\": 6385,\n            \"student_name\": \"Vanderwier, Anna\",\n            \"student_id\": 11386,\n            \"description\": null,\n            \"status\": \"Scheduled\",\n            \"custom_status\": null,\n            \"unit_price\": \"25.0\",\n            \"cost_premium_included\": \"0.0\",\n            \"discount_rate\": null,\n            \"amount\": \"25.0\",\n            \"cost_override_method\": null,\n            \"public_notes\": null,\n            \"private_notes\": null,\n            \"invoice_id\": null,\n            \"student_reminder_sent_at\": null,\n            \"family_reminder_sent_at\": null,\n            \"student_sms_sent_at\": null,\n            \"family_sms_sent_at\": null,\n            \"cancelled_sent_at\": null,\n            \"notes_sent_at\": null,\n            \"completed_at\": null,\n            \"created_at\": \"2020-01-28T16:43:51Z\",\n            \"updated_at\": \"2020-01-28T16:43:51Z\"\n        },\n        {\n            \"id\": 12356,\n            \"lesson_id\": 6385,\n            \"student_name\": \"Elkman, Michael\",\n            \"student_id\": 11388,\n            \"description\": null,\n            \"status\": \"Scheduled\",\n            \"custom_status\": null,\n            \"unit_price\": \"25.0\",\n            \"cost_premium_included\": \"0.0\",\n            \"discount_rate\": null,\n            \"amount\": \"25.0\",\n            \"cost_override_method\": null,\n            \"public_notes\": null,\n            \"private_notes\": null,\n            \"invoice_id\": null,\n            \"student_reminder_sent_at\": null,\n            \"family_reminder_sent_at\": null,\n            \"student_sms_sent_at\": null,\n            \"family_sms_sent_at\": null,\n            \"cancelled_sent_at\": null,\n            \"notes_sent_at\": null,\n            \"completed_at\": null,\n            \"created_at\": \"2020-01-28T16:43:51Z\",\n            \"updated_at\": \"2020-01-28T16:43:51Z\"\n        }\n    ]\n}"}],"_postman_id":"6dc0b822-d294-4145-be58-39cc6d42f3f3"},{"name":"List all Lessons","id":"15f6a642-1e6f-47f8-aa6e-b43a8e2e8636","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/lessons","description":"<p>Returns a list of lessons matching the search parameters</p>\n<table><tbody><tr><th>Parameter</th><th>Description</th></tr><tr><td><div>name</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by name</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>series_id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by series id for repeating lessons</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>location_id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by location id</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>location_or_parent_location_id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by location or parent location id (ie. if lesson location is a sub-location, this will match on the sub-location or parent location)</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>employee_id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by teacher id</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>service_id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by service id</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>student_id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by student id</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>status</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by status</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>custom_status</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by custom status</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>from_date</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by date the lesson starts on. Use YYYY-MM-DD format.<br /></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>from_date[gt]</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search where start date is greater than</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>from_date[lt]</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search where start date is less than</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>from_date[gte]</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search where start date is equal to or greater than</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>from_date[lte]</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search where start date is equal to or less than</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>to_date</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search by date the lesson ends on. Use YYYY-MM-DD format.</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>to_date[gt]</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search where lesson end date is greater than</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>to_date[lt]</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search where lesson end date is less than</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>to_date[gte]</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search where lesson end date is equal to or greater than</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>to_date[lte]</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search where lesson end date is equal to or less than</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search lesson id</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>id[gt]</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search where id is greater than</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>id[lt]</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search where id is less than</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>id[gte]</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search where id is equal to or greater than</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>id[lte]</div><div><div><div><div></div></div></div><div></div></div></td><td><div>search where id is equal to or less than</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>joinable</div><div><div><div><div></div></div></div><div></div></div></td><td><div>set to true to only list lessons marked as joinable</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>page</div><div><div><div><div></div></div></div><div></div></div></td><td><div>pass an optional page number for pagination, defaults to page 1</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>per_page</div><div><div><div><div></div></div></div><div></div></div></td><td><div>number of records to display per each page, defaults to 20, maximum 50</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>direction</div><div><div><div><div></div></div></div><div></div></div></td><td><div>direction to sort by primary id (asc, desc), defaults to asc</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>include_deleted</div><div><div><div><div></div></div></div><div></div></div></td><td><div>set to true to include deleted lessons in the API response</div><div><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>","urlObject":{"path":["lessons"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"7a125f8f-3860-427d-b885-8d1e692b452d","name":"List all Lessons","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/lessons"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120114521"},{"key":"X-Request-Id","value":"5171a4bace14d31d48d61a17bb417027"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.291113"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:45:20 GMT"},{"key":"Content-Length","value":"6196"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 6384,\n        \"name\": \"Math Tutoring\",\n        \"description\": \"\",\n        \"series_id\": 556,\n        \"location_name\": \"Waterloo Location\",\n        \"location_id\": 96,\n        \"parent_location_name\": null,\n        \"parent_location_id\": null,\n        \"employee_name\": \"DeKorne, Angela\",\n        \"employee_id\": 7099,\n        \"service_name\": \"Math Tutoring\",\n        \"service_id\": 89,\n        \"spaces\": null,\n        \"joinable\": null,\n        \"from_date\": \"2020-01-29\",\n        \"from_time\": \"12:00:00\",\n        \"to_date\": \"2020-01-29\",\n        \"to_time\": \"13:00:00\",\n        \"time_zone\": \"Eastern Time (US & Canada)\",\n        \"from_datetime\": \"2020-01-29T17:00:00Z\",\n        \"to_datetime\": \"2020-01-29T18:00:00Z\",\n        \"duration_minutes\": 60,\n        \"status\": \"Scheduled\",\n        \"custom_status\": null,\n        \"wage\": \"15.0\",\n        \"wage_payment_id\": null,\n        \"cost_override\": null,\n        \"override_method\": \"\",\n        \"override_value\": null,\n        \"request_comments\": null,\n        \"requested_at\": null,\n        \"request_customer_id\": null,\n        \"request_student_id\": null,\n        \"vehicle_id\": null,\n        \"sms_sent_at\": null,\n        \"reminder_sent_at\": null,\n        \"cancelled_sent_at\": null,\n        \"completed_at\": null,\n        \"created_at\": \"2020-01-28T16:43:51Z\",\n        \"updated_at\": \"2020-01-28T16:45:11Z\",\n        \"participants\": [\n            {\n                \"id\": 12353,\n                \"lesson_id\": 6384,\n                \"student_name\": \"Vanderwier, Anna\",\n                \"student_id\": 11386,\n                \"description\": null,\n                \"status\": \"Scheduled\",\n                \"custom_status\": null,\n                \"unit_price\": \"25.0\",\n                \"cost_premium_included\": \"0.0\",\n                \"discount_rate\": null,\n                \"amount\": \"25.0\",\n                \"cost_override_method\": null,\n                \"public_notes\": null,\n                \"private_notes\": null,\n                \"invoice_id\": null,\n                \"student_reminder_sent_at\": null,\n                \"family_reminder_sent_at\": null,\n                \"student_sms_sent_at\": null,\n                \"family_sms_sent_at\": null,\n                \"cancelled_sent_at\": null,\n                \"notes_sent_at\": null,\n                \"completed_at\": null,\n                \"created_at\": \"2020-01-28T16:43:51Z\",\n                \"updated_at\": \"2020-01-28T16:43:51Z\"\n            },\n            {\n                \"id\": 12354,\n                \"lesson_id\": 6384,\n                \"student_name\": \"Elkman, Michael\",\n                \"student_id\": 11388,\n                \"description\": null,\n                \"status\": \"Scheduled\",\n                \"custom_status\": null,\n                \"unit_price\": \"25.0\",\n                \"cost_premium_included\": \"0.0\",\n                \"discount_rate\": null,\n                \"amount\": \"25.0\",\n                \"cost_override_method\": null,\n                \"public_notes\": null,\n                \"private_notes\": null,\n                \"invoice_id\": null,\n                \"student_reminder_sent_at\": null,\n                \"family_reminder_sent_at\": null,\n                \"student_sms_sent_at\": null,\n                \"family_sms_sent_at\": null,\n                \"cancelled_sent_at\": null,\n                \"notes_sent_at\": null,\n                \"completed_at\": null,\n                \"created_at\": \"2020-01-28T16:43:51Z\",\n                \"updated_at\": \"2020-01-28T16:43:51Z\"\n            }\n        ]\n    },\n    {\n        \"id\": 6385,\n        \"name\": \"Math Tutoring\",\n        \"description\": \"\",\n        \"series_id\": 556,\n        \"location_name\": \"Waterloo Location\",\n        \"location_id\": 96,\n        \"employee_name\": \"DeKorne, Angela\",\n        \"employee_id\": 7099,\n        \"service_name\": \"Math Tutoring\",\n        \"service_id\": 89,\n        \"spaces\": null,\n        \"joinable\": null,\n        \"from_date\": \"2020-01-31\",\n        \"from_time\": \"12:00:00\",\n        \"to_date\": \"2020-01-31\",\n        \"to_time\": \"13:00:00\",\n        \"time_zone\": \"Eastern Time (US & Canada)\",\n        \"from_datetime\": \"2020-01-31T17:00:00Z\",\n        \"to_datetime\": \"2020-01-31T18:00:00Z\",\n        \"duration_minutes\": 60,\n        \"status\": \"Scheduled\",\n        \"custom_status\": null,\n        \"wage\": \"15.0\",\n        \"wage_payment_id\": null,\n        \"cost_override\": null,\n        \"override_method\": \"\",\n        \"override_value\": null,\n        \"request_comments\": null,\n        \"requested_at\": null,\n        \"request_customer_id\": null,\n        \"request_student_id\": null,\n        \"vehicle_id\": null,\n        \"sms_sent_at\": null,\n        \"reminder_sent_at\": null,\n        \"cancelled_sent_at\": null,\n        \"completed_at\": null,\n        \"created_at\": \"2020-01-28T16:43:51Z\",\n        \"updated_at\": \"2020-01-28T16:45:11Z\",\n        \"participants\": [\n            {\n                \"id\": 12355,\n                \"lesson_id\": 6385,\n                \"student_name\": \"Vanderwier, Anna\",\n                \"student_id\": 11386,\n                \"description\": null,\n                \"status\": \"Scheduled\",\n                \"custom_status\": null,\n                \"unit_price\": \"25.0\",\n                \"cost_premium_included\": \"0.0\",\n                \"discount_rate\": null,\n                \"amount\": \"25.0\",\n                \"cost_override_method\": null,\n                \"public_notes\": null,\n                \"private_notes\": null,\n                \"invoice_id\": null,\n                \"student_reminder_sent_at\": null,\n                \"family_reminder_sent_at\": null,\n                \"student_sms_sent_at\": null,\n                \"family_sms_sent_at\": null,\n                \"cancelled_sent_at\": null,\n                \"notes_sent_at\": null,\n                \"completed_at\": null,\n                \"created_at\": \"2020-01-28T16:43:51Z\",\n                \"updated_at\": \"2020-01-28T16:43:51Z\"\n            },\n            {\n                \"id\": 12356,\n                \"lesson_id\": 6385,\n                \"student_name\": \"Elkman, Michael\",\n                \"student_id\": 11388,\n                \"description\": null,\n                \"status\": \"Scheduled\",\n                \"custom_status\": null,\n                \"unit_price\": \"25.0\",\n                \"cost_premium_included\": \"0.0\",\n                \"discount_rate\": null,\n                \"amount\": \"25.0\",\n                \"cost_override_method\": null,\n                \"public_notes\": null,\n                \"private_notes\": null,\n                \"invoice_id\": null,\n                \"student_reminder_sent_at\": null,\n                \"family_reminder_sent_at\": null,\n                \"student_sms_sent_at\": null,\n                \"family_sms_sent_at\": null,\n                \"cancelled_sent_at\": null,\n                \"notes_sent_at\": null,\n                \"completed_at\": null,\n                \"created_at\": \"2020-01-28T16:43:51Z\",\n                \"updated_at\": \"2020-01-28T16:43:51Z\"\n            }\n        ]\n    },\n    {\n        \"id\": 6386,\n        \"name\": \"Math Tutoring\",\n        \"description\": \"\",\n        \"series_id\": 556,\n        \"location_name\": \"Waterloo Location\",\n        \"location_id\": 96,\n        \"employee_name\": \"DeKorne, Angela\",\n        \"employee_id\": 7099,\n        \"service_name\": \"Math Tutoring\",\n        \"service_id\": 89,\n        \"spaces\": null,\n        \"joinable\": null,\n        \"from_date\": \"2020-02-03\",\n        \"from_time\": \"12:00:00\",\n        \"to_date\": \"2020-02-03\",\n        \"to_time\": \"13:00:00\",\n        \"time_zone\": \"Eastern Time (US & Canada)\",\n        \"from_datetime\": \"2020-02-03T17:00:00Z\",\n        \"to_datetime\": \"2020-02-03T18:00:00Z\",\n        \"duration_minutes\": 60,\n        \"status\": \"Scheduled\",\n        \"custom_status\": null,\n        \"wage\": \"15.0\",\n        \"wage_payment_id\": null,\n        \"cost_override\": null,\n        \"override_method\": \"\",\n        \"override_value\": null,\n        \"request_comments\": null,\n        \"requested_at\": null,\n        \"request_customer_id\": null,\n        \"request_student_id\": null,\n        \"vehicle_id\": null,\n        \"sms_sent_at\": null,\n        \"reminder_sent_at\": null,\n        \"cancelled_sent_at\": null,\n        \"completed_at\": null,\n        \"created_at\": \"2020-01-28T16:43:51Z\",\n        \"updated_at\": \"2020-01-28T16:45:11Z\",\n        \"participants\": [\n            {\n                \"id\": 12357,\n                \"lesson_id\": 6386,\n                \"student_name\": \"Vanderwier, Anna\",\n                \"student_id\": 11386,\n                \"description\": null,\n                \"status\": \"Scheduled\",\n                \"custom_status\": null,\n                \"unit_price\": \"25.0\",\n                \"cost_premium_included\": \"0.0\",\n                \"discount_rate\": null,\n                \"amount\": \"25.0\",\n                \"cost_override_method\": null,\n                \"public_notes\": null,\n                \"private_notes\": null,\n                \"invoice_id\": null,\n                \"student_reminder_sent_at\": null,\n                \"family_reminder_sent_at\": null,\n                \"student_sms_sent_at\": null,\n                \"family_sms_sent_at\": null,\n                \"cancelled_sent_at\": null,\n                \"notes_sent_at\": null,\n                \"completed_at\": null,\n                \"created_at\": \"2020-01-28T16:43:51Z\",\n                \"updated_at\": \"2020-01-28T16:43:51Z\"\n            },\n            {\n                \"id\": 12358,\n                \"lesson_id\": 6386,\n                \"student_name\": \"Elkman, Michael\",\n                \"student_id\": 11388,\n                \"description\": null,\n                \"status\": \"Scheduled\",\n                \"custom_status\": null,\n                \"unit_price\": \"25.0\",\n                \"cost_premium_included\": \"0.0\",\n                \"discount_rate\": null,\n                \"amount\": \"25.0\",\n                \"cost_override_method\": null,\n                \"public_notes\": null,\n                \"private_notes\": null,\n                \"invoice_id\": null,\n                \"student_reminder_sent_at\": null,\n                \"family_reminder_sent_at\": null,\n                \"student_sms_sent_at\": null,\n                \"family_sms_sent_at\": null,\n                \"cancelled_sent_at\": null,\n                \"notes_sent_at\": null,\n                \"completed_at\": null,\n                \"created_at\": \"2020-01-28T16:43:51Z\",\n                \"updated_at\": \"2020-01-28T16:43:51Z\"\n            }\n        ]\n    }\n]"}],"_postman_id":"15f6a642-1e6f-47f8-aa6e-b43a8e2e8636"},{"name":"Create a Lesson","id":"8376d9ed-855f-48b7-9086-1e6cbddd3b48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":" {\t\"lesson\": {\n\t\t\"student_ids\": [12165, 12154, 12156], \n\t\t\"name\": \"Art Class\", \n\t\t\"description\": \"\", \n\t\t\"employee_id\": 7238, \n\t\t\"service_id\": 140, \n\t\t\"location_id\": 197, \n\t\t\"spaces\": \"\", \n\t\t\"joinable\": false, \n\t\t\"vehicle_id\": \"\", \n\t\t\"from_date\": \"2026-1-1\", \n\t\t\"from_time\": \"9:00\", \n\t\t\"to_time\": \"10:00\", \n\t\t\"to_date\": \"2026-1-1\", \n\t\t\"time_zone\": \"Eastern Time (US & Canada)\"}\n\t}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/lessons","description":"<p>Create a single lesson.</p>\n<p><strong>Arguments</strong></p>\n<table><tbody><tr><th>Argument</th><th>Description</th></tr><tr><td><div>name</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Lesson name</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>description</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Description</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>employee_id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Teacher ID</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>student_ids[]</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Array of student IDs</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>service_id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Service ID</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>location_id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Location ID</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>spaces</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Number of student spaces</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>from_date</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Start date of the lesson in YYYY-MM-DD format.</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>from_time</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Start time of the lesson in HH:MM:SS format.</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>to_date</div><div><div><div><div></div></div></div><div></div></div></td><td><div>End date of the lesson in YYYY-MM-DD format.</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>to_time</div><div><div><div><div></div></div></div><div></div></div></td><td><div>End time of the lesson in HH:MM:SS format.</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>override</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Overide default cost calculation (Boolean)</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>override_method</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Method for cost calculation. Accepted values: \"Service List Cost\", \"Student Cost\", \"Custom Adjusted\", and \"Custom Unadjusted\".</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>override_value</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Custom override cost if using \"Custom Adjusted\" or \"Custom Unadjusted\" override method.</div><div><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>","urlObject":{"path":["lessons"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"4dde859f-db74-47c9-8eda-eda2d73e8950","name":"Create a Lesson","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"lesson\":\n{\t\n\t\t\"student_ids\": [258], \n\t\t\"name\": \"Tim Andersen\", \n\t\t\"description\": \"\", \n\t\t\"employee_id\": 10, \n\t\t\"service_id\": 37, \n\t\t\"location_id\": 2, \n\t\t\"spaces\": \"\", \n\t\t\"joinable\": false, \n\t\t\"vehicle_id\": \"\", \n\t\t\"from_date\": \"2020-09-11\", \n\t\t\"from_time\": \"16:00\", \n\t\t\"to_time\": \"17:00\", \n\t\t\"to_date\": \"2020-09-11\", \n\t\t\"time_zone\": \"Eastern Time (US & Canada)\"\n\t}\n}"},"url":"{{base_url}}/lessons"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"290120150305"},{"key":"X-Request-Id","value":"a36cd15667c585b81c4e5dcb7952446e"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.080598"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Wed, 29 Jan 2020 20:03:04 GMT"},{"key":"Content-Length","value":"2193"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 7794,\n  \"name\": \"Tim Andersen\",\n  \"description\": \"\",\n  \"series_id\": null,\n  \"location_name\": \"Burlington North\",\n  \"location_id\": 2,\n  \"employee_name\": \"Baker, Grace\",\n  \"employee_id\": 10,\n  \"service_name\": \"Math Tutoring\",\n  \"service_id\": 37,\n  \"spaces\": null,\n  \"joinable\": false,\n  \"from_date\": \"2020-09-11\",\n  \"from_time\": \"16:00:00\",\n  \"to_date\": \"2020-09-11\",\n  \"to_time\": \"17:00:00\",\n  \"time_zone\": \"Eastern Time (US & Canada)\",\n  \"from_datetime\": \"2020-09-11T20:00:00Z\",\n  \"to_datetime\": \"2020-09-11T21:00:00Z\",\n  \"duration_minutes\": 60,\n  \"status\": \"Scheduled\",\n  \"custom_status\": null,\n  \"wage\": \"20.0\",\n  \"wage_payment_id\": null,\n  \"cost_override\": null,\n  \"override_method\": null,\n  \"override_value\": null,\n  \"request_comments\": null,\n  \"requested_at\": null,\n  \"request_customer_id\": null,\n  \"request_student_id\": null,\n  \"vehicle_id\": null,\n  \"sms_sent_at\": null,\n  \"reminder_sent_at\": null,\n  \"cancelled_sent_at\": null,\n  \"completed_at\": null,\n  \"created_at\": \"2020-09-13T01:36:27Z\",\n  \"updated_at\": \"2020-09-13T01:36:27Z\",\n  \"participants\": [\n    {\n      \"id\": 14130,\n      \"lesson_id\": 7794,\n      \"student_name\": \"Andersen, Tim\",\n      \"student_id\": 258,\n      \"description\": null,\n      \"status\": \"Scheduled\",\n      \"custom_status\": null,\n      \"unit_price\": \"33.0\",\n      \"cost_premium_included\": \"0.0\",\n      \"discount_rate\": \"15.0\",\n      \"amount\": \"28.05\",\n      \"cost_override_method\": null,\n      \"public_notes\": null,\n      \"private_notes\": null,\n      \"invoice_id\": null,\n      \"student_reminder_sent_at\": null,\n      \"family_reminder_sent_at\": null,\n      \"student_sms_sent_at\": null,\n      \"family_sms_sent_at\": null,\n      \"cancelled_sent_at\": null,\n      \"notes_sent_at\": null,\n      \"completed_at\": null,\n      \"created_at\": \"2020-09-13T01:36:27Z\",\n      \"updated_at\": \"2020-09-13T01:36:27Z\"\n    }\n  ]\n}"}],"_postman_id":"8376d9ed-855f-48b7-9086-1e6cbddd3b48"},{"name":"Add Student to Lesson","id":"3b143bd5-50c3-49ad-bec7-b76f581a9579","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/lessons/:id/add_student","description":"<p>Add a student to an existing lesson. \nNote: Students can only be added to lessons with a status of \"Scheduled\".</p>\n<p><strong>Arguments</strong></p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td>student_id</td><td>ID of student</td></tr>\n</tbody>\n</table>","urlObject":{"path":["lessons",":id","add_student"],"host":["{{base_url}}"],"query":[],"variable":[{"id":"76326766-3cdd-43c1-b421-89fcad7b6eeb","type":"string","value":"","key":"id"}]}},"response":[{"id":"99f25da1-b533-4cff-b45a-06aee4b76f3c","name":"Add Student","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\n    \"student_id\": 11389\n}"},"url":{"raw":"{{base_url}}/lessons/:id/add_student","host":["{{base_url}}"],"path":["lessons",":id","add_student"],"variable":[{"key":"id","value":"6388"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"290120150305"},{"key":"X-Request-Id","value":"a36cd15667c585b81c4e5dcb7952446e"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.080598"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Wed, 29 Jan 2020 20:03:04 GMT"},{"key":"Content-Length","value":"2193"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6388,\n    \"name\": \"Math Bootcamp\",\n    \"description\": \"\",\n    \"series_id\": null,\n    \"location_name\": \"Waterloo Location\",\n    \"location_id\": 96,\n    \"employee_name\": \"DeKorne, Angela\",\n    \"employee_id\": 7099,\n    \"service_name\": \"Math Tutoring\",\n    \"service_id\": 89,\n    \"spaces\": null,\n    \"joinable\": null,\n    \"from_date\": \"2020-02-01\",\n    \"from_time\": \"15:00:00\",\n    \"to_date\": \"2020-02-01\",\n    \"to_time\": \"16:00:00\",\n    \"time_zone\": \"Eastern Time (US & Canada)\",\n    \"from_datetime\": \"2020-02-01T20:00:00Z\",\n    \"to_datetime\": \"2020-02-01T21:00:00Z\",\n    \"duration_minutes\": 60,\n    \"status\": \"Attended\",\n    \"custom_status\": null,\n    \"wage\": \"15.0\",\n    \"wage_payment_id\": null,\n    \"cost_override\": null,\n    \"override_method\": \"\",\n    \"override_value\": null,\n    \"request_comments\": null,\n    \"requested_at\": null,\n    \"request_customer_id\": null,\n    \"request_student_id\": null,\n    \"vehicle_id\": null,\n    \"sms_sent_at\": null,\n    \"reminder_sent_at\": null,\n    \"cancelled_sent_at\": null,\n    \"completed_at\": null,\n    \"created_at\": \"2020-01-29T19:58:40Z\",\n    \"updated_at\": \"2020-01-29T20:00:13Z\",\n    \"participants\": [\n        {\n            \"id\": 12366,\n            \"lesson_id\": 6388,\n            \"student_name\": \"Eigen, Jesse\",\n            \"student_id\": 11389,\n            \"description\": null,\n            \"status\": \"Scheduled\",\n            \"custom_status\": null,\n            \"unit_price\": \"25.0\",\n            \"cost_premium_included\": \"0.0\",\n            \"discount_rate\": null,\n            \"amount\": \"25.0\",\n            \"cost_override_method\": null,\n            \"public_notes\": null,\n            \"private_notes\": null,\n            \"invoice_id\": null,\n            \"student_reminder_sent_at\": null,\n            \"family_reminder_sent_at\": null,\n            \"student_sms_sent_at\": null,\n            \"family_sms_sent_at\": null,\n            \"cancelled_sent_at\": null,\n            \"notes_sent_at\": null,\n            \"completed_at\": null,\n            \"created_at\": \"2020-01-29T20:51:40Z\",\n            \"updated_at\": \"2020-01-29T20:51:40Z\"\n        }\n    ]\n}"}],"_postman_id":"3b143bd5-50c3-49ad-bec7-b76f581a9579"},{"name":"Complete a Lesson","id":"1122f430-271d-4941-95b3-4fe88b70bb80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/lessons/:id/complete","description":"<p>Complete a lesson -- set attendance status, enter lesson notes, etc.</p>\n<p><em>Notes About Custom Statuses</em>\n<br />The custom_status parameter is only valid if the account has the Custom Statuses Add-on enabled. \n<br />The custom_status parameter overrides the status parameter if both are present.</p>\n<p><strong>Arguments</strong></p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td>name</td><td>Lesson name</td></tr>\n<tr><td>wage</td><td>Teacher wage</td></tr>\n<tr><td>from_date</td><td>Start date of the lesson in YYYY-MM-DD format.</td></tr>\n<tr><td>from_time</td><td>Start time of the lesson in HH:MM:SS format.</td></tr>\n<tr><td>to_date</td><td>End date of the lesson in YYYY-MM-DD format.</td></tr>\n<tr><td>to_time</td><td>End time of the lesson in HH:MM:SS format.</td></tr>\n<tr><td>status</td><td>Status of lesson if no participants in lesson. Scheduled, Attended, Missed, or Cancelled.</td></tr>\n<tr><td>custom_status</td><td>Custom status of lesson if no participants in lesson. Only valid if Custom Statuses Add-on enabled in account.</td></tr>\n<tr><td><strong>participants_attributes</strong></td><td>Attributes related to each participant in a lesson</td></tr>\n<tr><td>» id</td><td>ID of the participant record</td></tr>\n<tr><td>» status</td><td>Participant status. Scheduled, Attended, Missed, or Cancelled.</td></tr>\n<tr><td>» custom_status</td><td>Participant custom_status. Only valid if Custom Statuses Add-on enabled in account.</td></tr>\n<tr><td>» amount</td><td>Amount charged for participant</td></tr>\n<tr><td>» public_notes</td><td>Lesson notes shared with client or student.</td></tr>\n<tr><td>» private_notes</td><td>Lesson notes visible only to teacher and administrators.</td></tr>\n</tbody>\n</table>","urlObject":{"path":["lessons",":id","complete"],"host":["{{base_url}}"],"query":[],"variable":[{"id":"76326766-3cdd-43c1-b421-89fcad7b6eeb","type":"string","value":"","key":"id"}]}},"response":[{"id":"77b83f68-7ba9-400d-9eab-c22afd2a4381","name":"Complete a Lesson","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"lesson\": \n {\t\n\t \"participants_attributes\": [\n\t\t {\n\t\t\t \"id\": 12366,\n\t\t\t \"status\": \"Attended\",\n\t\t\t \"public_notes\": \"Completed Chapter 4 exercises and homework assignment.\",\n\t\t\t \"private_notes\": \"Review long-division at beginning of next session.\"\n\t\t },\n\t\t {\n\t\t\t \"id\": 12367,\n\t\t\t \"status\": \"Cancelled\",\n\t\t\t \"amount\": 0\n\t\t }\n\t ]\n\t}\n}"},"url":{"raw":"{{base_url}}/lessons/:id/complete","host":["{{base_url}}"],"path":["lessons",":id","complete"],"variable":[{"key":"id","value":"6388"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"290120150305"},{"key":"X-Request-Id","value":"a36cd15667c585b81c4e5dcb7952446e"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.080598"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Wed, 29 Jan 2020 20:03:04 GMT"},{"key":"Content-Length","value":"2193"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6388,\n    \"name\": \"Math Bootcamp\",\n    \"description\": \"\",\n    \"series_id\": null,\n    \"location_name\": \"Waterloo Location\",\n    \"location_id\": 96,\n    \"employee_name\": \"DeKorne, Angela\",\n    \"employee_id\": 7099,\n    \"service_name\": \"Math Tutoring\",\n    \"service_id\": 89,\n    \"spaces\": null,\n    \"joinable\": null,\n    \"from_date\": \"2020-02-01\",\n    \"from_time\": \"15:00:00\",\n    \"to_date\": \"2020-02-01\",\n    \"to_time\": \"16:00:00\",\n    \"time_zone\": \"Eastern Time (US & Canada)\",\n    \"from_datetime\": \"2020-02-01T20:00:00Z\",\n    \"to_datetime\": \"2020-02-01T21:00:00Z\",\n    \"duration_minutes\": 60,\n    \"status\": \"Attended\",\n    \"custom_status\": null,\n    \"wage\": \"15.0\",\n    \"wage_payment_id\": null,\n    \"cost_override\": null,\n    \"override_method\": \"\",\n    \"override_value\": null,\n    \"request_comments\": null,\n    \"requested_at\": null,\n    \"request_customer_id\": null,\n    \"request_student_id\": null,\n    \"vehicle_id\": null,\n    \"sms_sent_at\": null,\n    \"reminder_sent_at\": null,\n    \"cancelled_sent_at\": null,\n    \"completed_at\": null,\n    \"created_at\": \"2020-01-29T19:58:40Z\",\n    \"updated_at\": \"2020-01-29T20:00:13Z\",\n    \"participants\": [\n        {\n            \"id\": 12366,\n            \"lesson_id\": 6388,\n            \"student_name\": \"Eigen, Jesse\",\n            \"student_id\": 11389,\n            \"description\": null,\n            \"status\": \"Attended\",\n            \"custom_status\": null,\n            \"unit_price\": \"25.0\",\n            \"cost_premium_included\": \"0.0\",\n            \"discount_rate\": null,\n            \"amount\": \"25.0\",\n            \"cost_override_method\": null,\n            \"public_notes\": \"Completed Chapter 4 exercises and homework assignment.\",\n            \"private_notes\": \"Review long-division at beginning of next session.\",\n            \"invoice_id\": null,\n            \"student_reminder_sent_at\": null,\n            \"family_reminder_sent_at\": null,\n            \"student_sms_sent_at\": null,\n            \"family_sms_sent_at\": null,\n            \"cancelled_sent_at\": null,\n            \"notes_sent_at\": null,\n            \"completed_at\": \"2020-01-29T20:00:13Z\",\n            \"created_at\": \"2020-01-29T19:58:40Z\",\n            \"updated_at\": \"2020-01-29T20:00:13Z\"\n        },\n        {\n            \"id\": 12367,\n            \"lesson_id\": 6388,\n            \"student_name\": \"Elkman, Michael\",\n            \"student_id\": 11388,\n            \"description\": null,\n            \"status\": \"Cancelled\",\n            \"custom_status\": null,\n            \"unit_price\": \"0.0\",\n            \"cost_premium_included\": \"0.0\",\n            \"discount_rate\": null,\n            \"amount\": \"0.0\",\n            \"cost_override_method\": null,\n            \"public_notes\": null,\n            \"private_notes\": null,\n            \"invoice_id\": null,\n            \"student_reminder_sent_at\": null,\n            \"family_reminder_sent_at\": null,\n            \"student_sms_sent_at\": null,\n            \"family_sms_sent_at\": null,\n            \"cancelled_sent_at\": null,\n            \"notes_sent_at\": null,\n            \"completed_at\": \"2020-01-29T20:00:13Z\",\n            \"created_at\": \"2020-01-29T19:58:40Z\",\n            \"updated_at\": \"2020-01-29T20:03:04Z\"\n        }\n    ]\n}"}],"_postman_id":"1122f430-271d-4941-95b3-4fe88b70bb80"}],"id":"8b58bff8-524a-4751-b28e-7faa12ab99fc","description":"<p>Retrieve or list lessons</p>\n","_postman_id":"8b58bff8-524a-4751-b28e-7faa12ab99fc"},{"name":"Lesson Participants","item":[{"name":"Retrieve a Lesson Participant","id":"5977666d-fc31-4464-b642-ebbf7e6ea08e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/lesson_participants/:id","description":"<p>Retrieve a single lesson participant</p>\n","urlObject":{"path":["lesson_participants",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"15f2b61f-bc2d-4d8f-ae34-3c829514e77a","name":"Retrieve a Lesson Participant","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/lesson_participants/:id","host":["{{base_url}}"],"path":["lesson_participants",":id"],"variable":[{"key":"id","value":"12353"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120114756"},{"key":"X-Request-Id","value":"a6b3f225c1e862b2647fa816038a2a4e"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.075358"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:47:55 GMT"},{"key":"Content-Length","value":"571"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 12353,\n    \"lesson_id\": 6384,\n    \"student_name\": \"Vanderwier, Anna\",\n    \"student_id\": 11386,\n    \"description\": null,\n    \"status\": \"Scheduled\",\n    \"custom_status\": null,\n    \"unit_price\": \"25.0\",\n    \"cost_premium_included\": \"0.0\",\n    \"discount_rate\": null,\n    \"amount\": \"25.0\",\n    \"cost_override_method\": null,\n    \"public_notes\": null,\n    \"private_notes\": null,\n    \"invoice_id\": null,\n    \"student_reminder_sent_at\": null,\n    \"family_reminder_sent_at\": null,\n    \"student_sms_sent_at\": null,\n    \"family_sms_sent_at\": null,\n    \"cancelled_sent_at\": null,\n    \"notes_sent_at\": null,\n    \"completed_at\": null,\n    \"created_at\": \"2020-01-28T16:43:51Z\",\n    \"updated_at\": \"2020-01-28T16:43:51Z\"\n}"}],"_postman_id":"5977666d-fc31-4464-b642-ebbf7e6ea08e"},{"name":"List all Lesson Participants","id":"7280fc28-2511-4590-abbf-854c73e05d51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/lesson_participants","description":"<p>Returns a list of lesson participants that match the search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>status</td>\n<td>search by lesson status</td>\n</tr>\n<tr>\n<td>custom_status</td>\n<td>search by lesson custom status</td>\n</tr>\n<tr>\n<td>student_id</td>\n<td>search by student id</td>\n</tr>\n<tr>\n<td>lesson_id</td>\n<td>search by lesson id</td>\n</tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["lesson_participants"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"51a03efb-983d-49a4-a7ac-6463e117c799","name":"List all Lesson Participants","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/lesson_participants"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120114716"},{"key":"X-Request-Id","value":"9945eefcb6da624097b77806a300ca55"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.094258"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:47:15 GMT"},{"key":"Content-Length","value":"3430"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 12353,\n        \"lesson_id\": 6384,\n        \"student_name\": \"Vanderwier, Anna\",\n        \"student_id\": 11386,\n        \"description\": null,\n        \"status\": \"Scheduled\",\n        \"custom_status\": null,\n        \"unit_price\": \"25.0\",\n        \"cost_premium_included\": \"0.0\",\n        \"discount_rate\": null,\n        \"amount\": \"25.0\",\n        \"cost_override_method\": null,\n        \"public_notes\": null,\n        \"private_notes\": null,\n        \"invoice_id\": null,\n        \"student_reminder_sent_at\": null,\n        \"family_reminder_sent_at\": null,\n        \"student_sms_sent_at\": null,\n        \"family_sms_sent_at\": null,\n        \"cancelled_sent_at\": null,\n        \"notes_sent_at\": null,\n        \"completed_at\": null,\n        \"created_at\": \"2020-01-28T16:43:51Z\",\n        \"updated_at\": \"2020-01-28T16:43:51Z\"\n    },\n    {\n        \"id\": 12354,\n        \"lesson_id\": 6384,\n        \"student_name\": \"Elkman, Michael\",\n        \"student_id\": 11388,\n        \"description\": null,\n        \"status\": \"Scheduled\",\n        \"custom_status\": null,\n        \"unit_price\": \"25.0\",\n        \"cost_premium_included\": \"0.0\",\n        \"discount_rate\": null,\n        \"amount\": \"25.0\",\n        \"cost_override_method\": null,\n        \"public_notes\": null,\n        \"private_notes\": null,\n        \"invoice_id\": null,\n        \"student_reminder_sent_at\": null,\n        \"family_reminder_sent_at\": null,\n        \"student_sms_sent_at\": null,\n        \"family_sms_sent_at\": null,\n        \"cancelled_sent_at\": null,\n        \"notes_sent_at\": null,\n        \"completed_at\": null,\n        \"created_at\": \"2020-01-28T16:43:51Z\",\n        \"updated_at\": \"2020-01-28T16:43:51Z\"\n    },\n    {\n        \"id\": 12355,\n        \"lesson_id\": 6385,\n        \"student_name\": \"Vanderwier, Anna\",\n        \"student_id\": 11386,\n        \"description\": null,\n        \"status\": \"Scheduled\",\n        \"custom_status\": null,\n        \"unit_price\": \"25.0\",\n        \"cost_premium_included\": \"0.0\",\n        \"discount_rate\": null,\n        \"amount\": \"25.0\",\n        \"cost_override_method\": null,\n        \"public_notes\": null,\n        \"private_notes\": null,\n        \"invoice_id\": null,\n        \"student_reminder_sent_at\": null,\n        \"family_reminder_sent_at\": null,\n        \"student_sms_sent_at\": null,\n        \"family_sms_sent_at\": null,\n        \"cancelled_sent_at\": null,\n        \"notes_sent_at\": null,\n        \"completed_at\": null,\n        \"created_at\": \"2020-01-28T16:43:51Z\",\n        \"updated_at\": \"2020-01-28T16:43:51Z\"\n    },\n    {\n        \"id\": 12356,\n        \"lesson_id\": 6385,\n        \"student_name\": \"Elkman, Michael\",\n        \"student_id\": 11388,\n        \"description\": null,\n        \"status\": \"Scheduled\",\n        \"custom_status\": null,\n        \"unit_price\": \"25.0\",\n        \"cost_premium_included\": \"0.0\",\n        \"discount_rate\": null,\n        \"amount\": \"25.0\",\n        \"cost_override_method\": null,\n        \"public_notes\": null,\n        \"private_notes\": null,\n        \"invoice_id\": null,\n        \"student_reminder_sent_at\": null,\n        \"family_reminder_sent_at\": null,\n        \"student_sms_sent_at\": null,\n        \"family_sms_sent_at\": null,\n        \"cancelled_sent_at\": null,\n        \"notes_sent_at\": null,\n        \"completed_at\": null,\n        \"created_at\": \"2020-01-28T16:43:51Z\",\n        \"updated_at\": \"2020-01-28T16:43:51Z\"\n    },\n    {\n        \"id\": 12357,\n        \"lesson_id\": 6386,\n        \"student_name\": \"Vanderwier, Anna\",\n        \"student_id\": 11386,\n        \"description\": null,\n        \"status\": \"Scheduled\",\n        \"custom_status\": null,\n        \"unit_price\": \"25.0\",\n        \"cost_premium_included\": \"0.0\",\n        \"discount_rate\": null,\n        \"amount\": \"25.0\",\n        \"cost_override_method\": null,\n        \"public_notes\": null,\n        \"private_notes\": null,\n        \"invoice_id\": null,\n        \"student_reminder_sent_at\": null,\n        \"family_reminder_sent_at\": null,\n        \"student_sms_sent_at\": null,\n        \"family_sms_sent_at\": null,\n        \"cancelled_sent_at\": null,\n        \"notes_sent_at\": null,\n        \"completed_at\": null,\n        \"created_at\": \"2020-01-28T16:43:51Z\",\n        \"updated_at\": \"2020-01-28T16:43:51Z\"\n    },\n    {\n        \"id\": 12358,\n        \"lesson_id\": 6386,\n        \"student_name\": \"Elkman, Michael\",\n        \"student_id\": 11388,\n        \"description\": null,\n        \"status\": \"Scheduled\",\n        \"custom_status\": null,\n        \"unit_price\": \"25.0\",\n        \"cost_premium_included\": \"0.0\",\n        \"discount_rate\": null,\n        \"amount\": \"25.0\",\n        \"cost_override_method\": null,\n        \"public_notes\": null,\n        \"private_notes\": null,\n        \"invoice_id\": null,\n        \"student_reminder_sent_at\": null,\n        \"family_reminder_sent_at\": null,\n        \"student_sms_sent_at\": null,\n        \"family_sms_sent_at\": null,\n        \"cancelled_sent_at\": null,\n        \"notes_sent_at\": null,\n        \"completed_at\": null,\n        \"created_at\": \"2020-01-28T16:43:51Z\",\n        \"updated_at\": \"2020-01-28T16:43:51Z\"\n    }\n]"}],"_postman_id":"7280fc28-2511-4590-abbf-854c73e05d51"}],"id":"2c84aa31-cc18-4462-ad8b-d2dc56bd185d","description":"<p>Endpoint for viewing lesson participants. Lesson participants are students that are enrolled in a lesson.</p>\n","_postman_id":"2c84aa31-cc18-4462-ad8b-d2dc56bd185d"},{"name":"Other Events","item":[{"name":"Retrieve an Other Event","id":"29f2f751-f2bf-4e1a-97ee-49595e6dabae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/other_events/:id","description":"<p>Retrieve a single other event</p>\n","urlObject":{"path":["other_events",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"c3233f2f-1694-4ee4-8d47-ad9e354e69cd","name":"Retrieve an Other Event","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/other_events/:id","host":["{{base_url}}"],"path":["other_events",":id"],"variable":[{"key":"id","value":"862"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120115000"},{"key":"X-Request-Id","value":"27424af330988483ca8106b4c0388c1a"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.058149"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:49:59 GMT"},{"key":"Content-Length","value":"528"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 862,\n    \"name\": \"Winter Open House\",\n    \"description\": \"Join us for information and food at our Winter Open House.\",\n    \"audience\": \"Everyone\",\n    \"series_id\": null,\n    \"job_id\": null,\n    \"location_id\": 96,\n    \"from_date\": \"2020-01-30\",\n    \"from_time\": \"17:00:00\",\n    \"to_date\": \"2020-01-30\",\n    \"to_time\": \"20:00:00\",\n    \"time_zone\": \"Eastern Time (US & Canada)\",\n    \"from_datetime\": \"2020-01-30T22:00:00Z\",\n    \"to_datetime\": \"2020-01-31T01:00:00Z\",\n    \"duration_minutes\": 180,\n    \"is_all_day\": false,\n    \"created_at\": \"2020-01-28T16:49:27Z\",\n    \"updated_at\": \"2020-01-28T16:49:27Z\",\n    \"participants\": []\n}"}],"_postman_id":"29f2f751-f2bf-4e1a-97ee-49595e6dabae"},{"name":"List all Other Events","id":"47f7b2a9-55a0-426f-8be2-79a8480fc270","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/other_events","description":"<p>Returns a list of other events that match the search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>series_id</td>\n<td>search by series id for repeating events</td>\n</tr>\n<tr>\n<td>location_id</td>\n<td>search by location id</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>search by employee id</td>\n</tr>\n<tr>\n<td>from_date</td>\n<td>search by date the event starts on. Use YYYY-MM-DD format.\n</td></tr>\n<tr><td>from_date[gt]</td><td>search where date is greater than</td></tr>\n<tr><td>from_date[lt]</td><td>search where date is less than</td></tr>\n<tr><td>from_date[gte]</td><td>search where date is equal to or greater than</td></tr>\n<tr><td>from_date[lte]</td><td>search where date is equal to or less than</td></tr>\n<tr>\n<td>to_date</td>\n<td>search by date the event ends on. Use YYYY-MM-DD format.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["other_events"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ad17ab97-39e5-4b60-acea-0b9426edfeca","name":"List all Other Events","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/other_events"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120114941"},{"key":"X-Request-Id","value":"a1adfc6062173e7de0372f502579809c"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.251594"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:49:40 GMT"},{"key":"Content-Length","value":"530"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 862,\n        \"name\": \"Winter Open House\",\n        \"description\": \"Join us for information and food at our Winter Open House.\",\n        \"audience\": \"Everyone\",\n        \"series_id\": null,\n        \"job_id\": null,\n        \"location_id\": 96,\n        \"from_date\": \"2020-01-30\",\n        \"from_time\": \"17:00:00\",\n        \"to_date\": \"2020-01-30\",\n        \"to_time\": \"20:00:00\",\n        \"time_zone\": \"Eastern Time (US & Canada)\",\n        \"from_datetime\": \"2020-01-30T22:00:00Z\",\n        \"to_datetime\": \"2020-01-31T01:00:00Z\",\n        \"duration_minutes\": 180,\n        \"is_all_day\": false,\n        \"created_at\": \"2020-01-28T16:49:27Z\",\n        \"updated_at\": \"2020-01-28T16:49:27Z\",\n        \"participants\": []\n    }\n]"}],"_postman_id":"47f7b2a9-55a0-426f-8be2-79a8480fc270"}],"id":"518d7e7f-8b49-4610-8835-34c6c0ef2a00","description":"<p>Endpoint for viewing other events. Other events can be general events or events that track an employee's non-teaching hours.</p>\n","_postman_id":"518d7e7f-8b49-4610-8835-34c6c0ef2a00"},{"name":"Availabilities","item":[{"name":"Retrieve an Availability","id":"967b496d-5219-4bea-b4ea-8e76d9fd5f7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/availabilities/:id","description":"<p>Retrieve a single availability</p>\n","urlObject":{"path":["availabilities",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"43fe991d-a2af-43fe-9bad-ddb6bfc68be7","name":"Retrieve an Availability","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/availabilities/:id","host":["{{base_url}}"],"path":["availabilities",":id"],"variable":[{"key":"id","value":"22"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120115210"},{"key":"X-Request-Id","value":"0d80a1b64010ce18b010d0347760c018"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.077401"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:52:09 GMT"},{"key":"Content-Length","value":"173"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 22,\n    \"employee_id\": 7099,\n    \"day\": \"1\",\n    \"start_time\": \"17:00:00\",\n    \"end_time\": \"22:00:00\",\n    \"description\": \"\",\n    \"created_at\": \"2020-01-28T16:51:32Z\",\n    \"updated_at\": \"2020-01-28T16:51:32Z\"\n}"}],"_postman_id":"967b496d-5219-4bea-b4ea-8e76d9fd5f7c"},{"name":"List all Availabilities","id":"78a704b1-8a2c-4d4f-a1d0-ff7832ae333d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/availabilities","description":"<p>Returns a list of availabilities that match the search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>employee_id</td>\n<td>search by employee id</td>\n</tr>\n<tr>\n<td>day</td>\n<td>search by day of week (Sunday = 0)</td>\n</tr>\n<tr>\n<td>start time</td>\n<td>search by start time (HH:MM:SS)</td>\n</tr>\n<tr>\n<td>end_time</td>\n<td>search by end time (HH:MM:SS)</td>\n</tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["availabilities"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"e25ace6e-25de-4735-8485-4e2de33e46e8","name":"List all Availabilities","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/availabilities"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120115151"},{"key":"X-Request-Id","value":"f4819612b69e3f174434974328f54c4b"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.236580"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:51:50 GMT"},{"key":"Content-Length","value":"523"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 22,\n        \"employee_id\": 7099,\n        \"day\": \"1\",\n        \"start_time\": \"17:00:00\",\n        \"end_time\": \"22:00:00\",\n        \"description\": \"\",\n        \"created_at\": \"2020-01-28T16:51:32Z\",\n        \"updated_at\": \"2020-01-28T16:51:32Z\"\n    },\n    {\n        \"id\": 23,\n        \"employee_id\": 7099,\n        \"day\": \"3\",\n        \"start_time\": \"17:00:00\",\n        \"end_time\": \"20:00:00\",\n        \"description\": \"\",\n        \"created_at\": \"2020-01-28T16:51:32Z\",\n        \"updated_at\": \"2020-01-28T16:51:32Z\"\n    },\n    {\n        \"id\": 24,\n        \"employee_id\": 7099,\n        \"day\": \"6\",\n        \"start_time\": \"11:00:00\",\n        \"end_time\": \"18:00:00\",\n        \"description\": \"\",\n        \"created_at\": \"2020-01-28T16:51:32Z\",\n        \"updated_at\": \"2020-01-28T16:51:32Z\"\n    }\n]"}],"_postman_id":"78a704b1-8a2c-4d4f-a1d0-ff7832ae333d"}],"id":"a6a92173-fd97-4783-90ff-f51b8bbede1a","description":"<p>Endpoint for viewing availabilities. Availabilities are the days of the week and times that teachers are available.</p>\n","_postman_id":"a6a92173-fd97-4783-90ff-f51b8bbede1a"},{"name":"Unavailabilities","item":[{"name":"Retrieve an Unavailability","id":"f0441e9c-8b9b-4002-9a9a-94e7a72adb07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/unavailabilities/:id","description":"<p>Retrieve a single unavailability</p>\n","urlObject":{"path":["unavailabilities",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"b846338d-67af-4506-a6ac-17c16b5da81b","name":"Retrieve an Unavailability","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/unavailabilities/:id","host":["{{base_url}}"],"path":["unavailabilities",":id"],"variable":[{"key":"id","value":"2492"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120115354"},{"key":"X-Request-Id","value":"3e7fc231a82f6aae4a65e859dec8289b"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.071922"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:53:53 GMT"},{"key":"Content-Length","value":"358"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2492,\n    \"series_id\": null,\n    \"employee_id\": 7099,\n    \"description\": \"Vacation\",\n    \"from_date\": \"2020-02-03\",\n    \"from_time\": \"00:00:00\",\n    \"to_date\": \"2020-02-08\",\n    \"to_time\": \"00:00:00\",\n    \"time_zone\": \"Eastern Time (US & Canada)\",\n    \"from_datetime\": \"2020-02-03T05:00:00Z\",\n    \"to_datetime\": \"2020-02-08T05:00:00Z\",\n    \"created_at\": \"2020-01-28T16:53:17Z\",\n    \"updated_at\": \"2020-01-28T16:53:17Z\"\n}"}],"_postman_id":"f0441e9c-8b9b-4002-9a9a-94e7a72adb07"},{"name":"List all Unavailabilities","id":"b48255a6-58e4-4976-b80d-8866d0235070","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/unavailabilities","description":"<p>Returns a list of unavailabilities that match the search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>employee_id</td>\n<td>search by employee id</td>\n</tr>\n<tr>\n<td>series_id</td>\n<td>search by series id for repeating lessons</td>\n</tr>\n<tr>\n<td>from_date</td>\n<td>search by date the unavailability starts on. Use YYYY-MM-DD format.\n</td></tr>\n<tr><td>from_date[gt]</td><td>search where start date is greater than</td></tr>\n<tr><td>from_date[lt]</td><td>search where start date is less than</td></tr>\n<tr><td>from_date[gte]</td><td>search where start date is equal to or greater than</td></tr>\n<tr><td>from_date[lte]</td><td>search where start date is equal to or less than</td></tr>\n<tr>\n<td>to_date</td>\n<td>search by date the unavailability ends on. Use YYYY-MM-DD format.</td>\n</tr>\n<tr><td>to_date[gt]</td><td>search where end date is greater than</td></tr>\n<tr><td>to_date[lt]</td><td>search where end date is less than</td></tr>\n<tr><td>to_date[gte]</td><td>search where end date is equal to or greater than</td></tr>\n<tr><td>to_date[lte]</td><td>search where end date is equal to or less than</td></tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["unavailabilities"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"d1e2c162-4bb5-4f9b-80a5-a318d77525d1","name":"List all Unavailabilities","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/unavailabilities"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120115331"},{"key":"X-Request-Id","value":"7c2459e005ce324f64f42d141a5f8df2"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.282682"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:53:30 GMT"},{"key":"Content-Length","value":"360"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 2492,\n        \"series_id\": null,\n        \"employee_id\": 7099,\n        \"description\": \"Vacation\",\n        \"from_date\": \"2020-02-03\",\n        \"from_time\": \"00:00:00\",\n        \"to_date\": \"2020-02-08\",\n        \"to_time\": \"00:00:00\",\n        \"time_zone\": \"Eastern Time (US & Canada)\",\n        \"from_datetime\": \"2020-02-03T05:00:00Z\",\n        \"to_datetime\": \"2020-02-08T05:00:00Z\",\n        \"created_at\": \"2020-01-28T16:53:17Z\",\n        \"updated_at\": \"2020-01-28T16:53:17Z\"\n    }\n]"}],"_postman_id":"b48255a6-58e4-4976-b80d-8866d0235070"}],"id":"1503426e-ec00-42f3-821b-4cf475602b3d","description":"<p>Endpoint for viewing unavailabilities. Unavailabilties are specific dates and times that an employee is unavailable.</p>\n","_postman_id":"1503426e-ec00-42f3-821b-4cf475602b3d"},{"name":"Invoices","item":[{"name":"Retrieve an Invoice","id":"cf9d8052-59b7-4b13-906a-932e892ae175","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/invoices/:id","description":"<p>Retrieve a single invoice</p>\n","urlObject":{"path":["invoices",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"0917d7c1-f1c2-4762-bdd0-ef1ed4b86b26","name":"Retrieve an Invoice","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/invoices/:id","host":["{{base_url}}"],"path":["invoices",":id"],"variable":[{"key":"id","value":"548"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120115648"},{"key":"X-Request-Id","value":"52d162979866fe9ae89b759d92db982a"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.067505"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:56:47 GMT"},{"key":"Content-Length","value":"1175"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 548,\n    \"customer_id\": 13652,\n    \"customer_first_name\": \"Frank & Tina\",\n    \"customer_last_name\": \"Vanderwier\",\n    \"invoice_type\": \"invoice\",\n    \"number\": 2,\n    \"date\": \"2020-01-28\",\n    \"due_date\": \"2020-01-28\",\n    \"reference\": \"\",\n    \"tax_treatment\": \"Tax Exclusive\",\n    \"status\": \"Approved\",\n    \"start_date\": \"2020-01-26\",\n    \"end_date\": \"2020-02-01\",\n    \"lesson_status\": \"All\",\n    \"terms_text\": null,\n    \"subtotal\": \"50.0\",\n    \"sales_tax_total\": \"0.0\",\n    \"total\": \"50.0\",\n    \"hide_flags\": false,\n    \"sent_at\": null,\n    \"reminder_sent_at\": null,\n    \"created_at\": \"2020-01-28T16:56:01Z\",\n    \"updated_at\": \"2020-01-28T16:56:01Z\",\n    \"lessons\": [\n        {\n            \"id\": 12353,\n            \"student_id\": 11386,\n            \"employee_id\": 11,\n            \"service_id\": 12,\n            \"description\": \"Math Tutoring - Scheduled\\r\\n2020-01-29 12:00 PM - 01:00 PM\",\n            \"status\": \"Scheduled\",\n            \"custom_status\": null,\n            \"invoice_unit_price\": \"25.0\",\n            \"invoice_discount_rate\": null,\n            \"invoice_amount\": \"25.0\",\n            \"created_at\": \"2020-01-28T16:43:51Z\",\n            \"updated_at\": \"2020-01-28T16:56:01Z\"\n        },\n        {\n            \"id\": 12355,\n            \"student_id\": 11386,\n            \"service_id\": 12,\n            \"description\": \"Math Tutoring - Scheduled\\r\\n2020-01-31 12:00 PM - 01:00 PM\",\n            \"status\": \"Scheduled\",\n            \"custom_status\": null,\n            \"invoice_unit_price\": \"25.0\",\n            \"invoice_discount_rate\": null,\n            \"invoice_amount\": \"25.0\",\n            \"created_at\": \"2020-01-28T16:43:51Z\",\n            \"updated_at\": \"2020-01-28T16:56:01Z\"\n        }\n    ],\n    \"charges\": [],\n    \"packages\": []\n}"}],"_postman_id":"cf9d8052-59b7-4b13-906a-932e892ae175"},{"name":"List all Invoices","id":"5ecadc7b-4c2e-4600-a03a-a04b469428f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/invoices","description":"<p>Returns a list of invoices that match the search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>customer_id</td>\n<td>search by customer id</td>\n</tr>\n<tr>\n<td>number</td>\n<td>search by invoice number</td>\n</tr>\n<tr>\n<td>status</td>\n<td>search by status (Saved, Approved, Paid, Void)\n</td></tr>\n<tr>\n<td>date</td>\n<td>search by invoice date.  Use YYYY-MM-DD format.\n</td></tr>\n<tr><td>date[gt]</td><td>search where date is greater than</td></tr>\n<tr><td>date[lt]</td><td>search where date is less than</td></tr>\n<tr><td>date[gte]</td><td>search where date is equal to or greater than</td></tr>\n<tr><td>date[lte]</td><td>search where date is equal to or less than</td></tr>\n<tr>\n<td>due_date</td>\n<td>search by due date</td>\n</tr>\n<tr><td>due_date[gt]</td><td>search where date is greater than</td></tr>\n<tr><td>due_date[lt]</td><td>search where date is less than</td></tr>\n<tr><td>due_date[gte]</td><td>search where date is equal to or greater than</td></tr>\n<tr><td>due_date[lte]</td><td>search where date is equal to or less than</td></tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["invoices"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"5233fcb9-1a5d-4240-961b-faae483f1b56","name":"List all Invoices","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/invoices"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120115616"},{"key":"X-Request-Id","value":"9fdc71d762d1bb213a78e8c6eb899e86"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.192451"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:56:15 GMT"},{"key":"Content-Length","value":"2384"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 547,\n        \"customer_id\": 13654,\n        \"customer_first_name\": \"Brandon & Janine\",\n        \"customer_last_name\": \"Elkman\",\n        \"invoice_type\": \"invoice\",\n        \"number\": 1,\n        \"date\": \"2020-01-28\",\n        \"due_date\": \"2020-01-28\",\n        \"reference\": \"\",\n        \"tax_treatment\": \"Tax Exclusive\",\n        \"status\": \"Approved\",\n        \"start_date\": \"2020-01-26\",\n        \"end_date\": \"2020-02-01\",\n        \"lesson_status\": \"All\",\n        \"terms_text\": \"Please pay online by credit card.\",\n        \"subtotal\": \"50.0\",\n        \"sales_tax_total\": \"0.0\",\n        \"total\": \"50.0\",\n        \"hide_flags\": false,\n        \"sent_at\": null,\n        \"reminder_sent_at\": null,\n        \"created_at\": \"2020-01-28T16:55:46Z\",\n        \"updated_at\": \"2020-01-28T16:55:46Z\",\n        \"lessons\": [\n            {\n                \"id\": 12354,\n                \"student_id\": 11388,\n                \"service_id\": 12,\n                \"description\": \"Math Tutoring - Scheduled\\r\\n2020-01-29 12:00 PM - 01:00 PM\",\n                \"status\": \"Scheduled\",\n                \"custom_status\": null,\n                \"invoice_unit_price\": \"25.0\",\n                \"invoice_discount_rate\": null,\n                \"invoice_amount\": \"25.0\",\n                \"created_at\": \"2020-01-28T16:43:51Z\",\n                \"updated_at\": \"2020-01-28T16:55:46Z\"\n            },\n            {\n                \"id\": 12356,\n                \"student_id\": 11388,\n                \"service_id\": 12,\n                \"description\": \"Math Tutoring - Scheduled\\r\\n2020-01-31 12:00 PM - 01:00 PM\",\n                \"status\": \"Scheduled\",\n                \"custom_status\": null,\n                \"invoice_unit_price\": \"25.0\",\n                \"invoice_discount_rate\": null,\n                \"invoice_amount\": \"25.0\",\n                \"created_at\": \"2020-01-28T16:43:51Z\",\n                \"updated_at\": \"2020-01-28T16:55:46Z\"\n            }\n        ],\n        \"charges\": [],\n        \"packages\": []\n    },\n    {\n        \"id\": 548,\n        \"customer_id\": 13652,\n        \"customer_first_name\": \"Frank & Tina\",\n        \"customer_last_name\": \"Vanderwier\",\n        \"invoice_type\": \"invoice\",\n        \"number\": 2,\n        \"date\": \"2020-01-28\",\n        \"due_date\": \"2020-01-28\",\n        \"reference\": \"\",\n        \"tax_treatment\": \"Tax Exclusive\",\n        \"status\": \"Approved\",\n        \"start_date\": \"2020-01-26\",\n        \"end_date\": \"2020-02-01\",\n        \"lesson_status\": \"All\",\n        \"terms_text\": null,\n        \"subtotal\": \"50.0\",\n        \"sales_tax_total\": \"0.0\",\n        \"total\": \"50.0\",\n        \"hide_flags\": false,\n        \"sent_at\": null,\n        \"reminder_sent_at\": null,\n        \"created_at\": \"2020-01-28T16:56:01Z\",\n        \"updated_at\": \"2020-01-28T16:56:01Z\",\n        \"lessons\": [\n            {\n                \"id\": 12353,\n                \"student_id\": 11386,\n                \"service_id\": 12,\n                \"description\": \"Math Tutoring - Scheduled\\r\\n2020-01-29 12:00 PM - 01:00 PM\",\n                \"status\": \"Scheduled\",\n                \"custom_status\": null,\n                \"invoice_unit_price\": \"25.0\",\n                \"invoice_discount_rate\": null,\n                \"invoice_amount\": \"25.0\",\n                \"created_at\": \"2020-01-28T16:43:51Z\",\n                \"updated_at\": \"2020-01-28T16:56:01Z\"\n            },\n            {\n                \"id\": 12355,\n                \"student_id\": 11386,\n                \"service_id\": 12,\n                \"description\": \"Math Tutoring - Scheduled\\r\\n2020-01-31 12:00 PM - 01:00 PM\",\n                \"status\": \"Scheduled\",\n                \"custom_status\": null,\n                \"invoice_unit_price\": \"25.0\",\n                \"invoice_discount_rate\": null,\n                \"invoice_amount\": \"25.0\",\n                \"created_at\": \"2020-01-28T16:43:51Z\",\n                \"updated_at\": \"2020-01-28T16:56:01Z\"\n            }\n        ],\n        \"charges\": [],\n        \"packages\": []\n    }\n]"}],"_postman_id":"5ecadc7b-4c2e-4600-a03a-a04b469428f1"}],"id":"2c8a38b9-0dd1-4f77-9951-de3fd68dfe65","description":"<p>Endpoint for viewing customer invoices and credit notes</p>\n","_postman_id":"2c8a38b9-0dd1-4f77-9951-de3fd68dfe65"},{"name":"Payments","item":[{"name":"Retrieve a Payment","id":"f8f1a281-a274-42dd-8e59-5c89c8b3d316","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/payments/:id","description":"<p>Retrieve a single payment</p>\n","urlObject":{"path":["payments",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"9942dbad-ff9d-42a8-a7eb-f1b8822786a1","name":"Retrieve a Payment","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/payments/:id","host":["{{base_url}}"],"path":["payments",":id"],"variable":[{"key":"id","value":"456"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120115908"},{"key":"X-Request-Id","value":"74643c8dd5fc13c5091202947a2f47be"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.070836"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:59:07 GMT"},{"key":"Content-Length","value":"497"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 456,\n    \"customer_id\": 13654,\n    \"customer_first_name\": \"Brandon & Janine\",\n    \"customer_last_name\": \"Elkman\",\n    \"date\": \"2020-01-29\",\n    \"description\": \"INV-0001\",\n    \"amount\": \"50.0\",\n    \"type\": \"payment\",\n    \"payment_method\": \"Cash\",\n    \"stripe_transaction_id\": null,\n    \"sent_at\": null,\n    \"created_at\": \"2020-01-28T16:58:03Z\",\n    \"updated_at\": \"2020-01-28T16:58:03Z\",\n    \"refunds\": [],\n    \"payment_allocations\": [\n        {\n            \"id\": 340,\n            \"date\": \"2020-01-28\",\n            \"amount\": \"50.0\",\n            \"invoice_id\": 547,\n            \"created_at\": \"2020-01-28T16:58:03Z\",\n            \"updated_at\": \"2020-01-28T16:58:03Z\"\n        }\n    ]\n}"}],"_postman_id":"f8f1a281-a274-42dd-8e59-5c89c8b3d316"},{"name":"List all Payments","id":"d667e339-9352-4826-9b27-2263296968bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/payments","description":"<p>Returns a list of payments that match the search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>customer_id</td>\n<td>search by customer id</td>\n</tr>\n<tr>\n<td>date</td>\n<td>search by payment date. Use YYYY-MM-DD format.\n</td></tr>\n<tr><td>date[gt]</td><td>search where date is greater than</td></tr>\n<tr><td>date[lt]</td><td>search where date is less than</td></tr>\n<tr><td>date[gte]</td><td>search where date is equal to or greater than</td></tr>\n<tr><td>date[lte]</td><td>search where date is equal to or less than</td></tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["payments"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"2f5e147c-b8ba-4b0f-b771-b20c74bdf77f","name":"List all Payments","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/payments"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120115827"},{"key":"X-Request-Id","value":"ca224388ad3ff97550ba69eac5cf6dbf"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.104166"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 16:58:26 GMT"},{"key":"Content-Length","value":"1004"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 455,\n        \"customer_id\": 13652,\n        \"customer_first_name\": \"Frank & Tina\",\n        \"customer_last_name\": \"Vanderwier\",\n        \"date\": \"2020-01-28\",\n        \"description\": \"INV-0002\",\n        \"amount\": \"50.0\",\n        \"type\": \"payment\",\n        \"payment_method\": \"Credit Card\",\n        \"stripe_transaction_id\": null,\n        \"sent_at\": null,\n        \"created_at\": \"2020-01-28T16:57:37Z\",\n        \"updated_at\": \"2020-01-28T16:57:37Z\",\n        \"refunds\": [],\n        \"payment_allocations\": [\n            {\n                \"id\": 339,\n                \"date\": \"2020-01-28\",\n                \"amount\": \"50.0\",\n                \"invoice_id\": 548,\n                \"created_at\": \"2020-01-28T16:57:37Z\",\n                \"updated_at\": \"2020-01-28T16:57:37Z\"\n            }\n        ]\n    },\n    {\n        \"id\": 456,\n        \"customer_id\": 13654,\n        \"customer_first_name\": \"Brandon & Janine\",\n        \"customer_last_name\": \"Elkman\",\n        \"date\": \"2020-01-29\",\n        \"description\": \"INV-0001\",\n        \"amount\": \"50.0\",\n        \"type\": \"payment\",\n        \"payment_method\": \"Cash\",\n        \"stripe_transaction_id\": null,\n        \"sent_at\": null,\n        \"created_at\": \"2020-01-28T16:58:03Z\",\n        \"updated_at\": \"2020-01-28T16:58:03Z\",\n        \"refunds\": [],\n        \"payment_allocations\": [\n            {\n                \"id\": 340,\n                \"date\": \"2020-01-28\",\n                \"amount\": \"50.0\",\n                \"invoice_id\": 547,\n                \"created_at\": \"2020-01-28T16:58:03Z\",\n                \"updated_at\": \"2020-01-28T16:58:03Z\"\n            }\n        ]\n    }\n]"}],"_postman_id":"d667e339-9352-4826-9b27-2263296968bc"},{"name":"Create a Payment","id":"801349b2-13a2-4cc3-8ae9-a690c36ed8cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/payments","description":"<p>Use this endpoint to create a payment.</p>\n\n<p><strong>Arguments</strong></p>\n<table><tbody><tr><th>Argument</th><th>Description</th></tr><tr><td><div>customer_id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>ID of customer that made the payment</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>date</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Date</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>amount</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Amount</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>description</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Details or description of payment</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>payment_method</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Method of payment. Valid options are Cash, Check, Credit Card, Debit Card, Bank Transfer, PayPal, Other</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>stripe_transaction_id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Transaction ID if processed through Stripe</div><div><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>","urlObject":{"path":["payments"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"da516531-4f1e-41c2-9301-02d7269eb3fa","name":"Create Payment","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"payment\": \n {\t\t\t\n\t \"date\": \"2020-01-16\",\t\t\n\t \"customer_id\": 13652,\n\t \"amount\": 250.50,\n\t \"payment_method\": \"Credit Card\",\n\t \"description\": \"Payment for INV-0216\"\n\t}\n}"},"url":"{{base_url}}/payments"},"status":"Created ","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"030220145617"},{"key":"X-Request-Id","value":"272e453ada4f972b0a4949052f45e005"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"1.914688"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Mon, 03 Feb 2020 19:56:18 GMT"},{"key":"Content-Length","value":"382"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 457,\n    \"customer_id\": 13652,\n    \"customer_first_name\": \"Frank & Tina\",\n    \"customer_last_name\": \"Vanderwier\",\n    \"date\": \"2020-01-16\",\n    \"description\": \"Payment for INV-0216\",\n    \"amount\": \"250.5\",\n    \"type\": \"payment\",\n    \"payment_method\": \"Credit Card\",\n    \"stripe_transaction_id\": null,\n    \"sent_at\": null,\n    \"created_at\": \"2020-02-03T19:56:18Z\",\n    \"updated_at\": \"2020-02-03T19:56:18Z\",\n    \"refunds\": [],\n    \"payment_allocations\": []\n}"}],"_postman_id":"801349b2-13a2-4cc3-8ae9-a690c36ed8cc"},{"name":"Update a Payment","id":"ad5eb556-1347-4aa9-a91b-11453af4ddbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/payments/:id","description":"<p>Use this endpoint to update a payment.</p>\n<p><strong>Arguments</strong></p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td>customer_id</td><td>ID of customer that made the payment</td></tr>\n<tr><td>date</td><td>Date</td></tr>\n<tr><td>amount</td><td>Amount</td></tr>\n<tr><td>description</td><td>Details or description of payment</td></tr>\n<tr><td>payment_method</td><td>Method of payment. Valid options are Cash, Check, Credit Card, Debit Card, Bank Transfer, PayPal, Other</td></tr>\n<tr><td>stripe_transaction_id</td><td>Transaction ID if processed through Stripe</td></tr>\n</tbody>\n</table>","urlObject":{"path":["payments",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"675c54cd-6bf4-43a4-9223-26d920ba2ed1","name":"Update Payment","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"payment\": \n {\t\t\t\n\t \"date\": \"2020-01-16\",\t\t\n\t \"customer_id\": 13652,\n\t \"amount\": 260.50,\n\t \"payment_method\": \"Credit Card\"\n\t}\n}"},"url":{"raw":"{{base_url}}/payments/:id","host":["{{base_url}}"],"path":["payments",":id"],"variable":[{"key":"id","value":"457"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"030220150152"},{"key":"X-Request-Id","value":"0e6096a76ba037bf9212812cb6f89827"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.121682"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Mon, 03 Feb 2020 20:01:51 GMT"},{"key":"Content-Length","value":"382"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 457,\n    \"customer_id\": 13652,\n    \"customer_first_name\": \"Frank & Tina\",\n    \"customer_last_name\": \"Vanderwier\",\n    \"date\": \"2020-01-16\",\n    \"description\": \"Payment for INV-0216\",\n    \"amount\": \"260.5\",\n    \"type\": \"payment\",\n    \"payment_method\": \"Credit Card\",\n    \"stripe_transaction_id\": null,\n    \"sent_at\": null,\n    \"created_at\": \"2020-02-03T19:56:18Z\",\n    \"updated_at\": \"2020-02-03T20:01:51Z\",\n    \"refunds\": [],\n    \"payment_allocations\": []\n}"}],"_postman_id":"ad5eb556-1347-4aa9-a91b-11453af4ddbb"}],"id":"0d36520f-93c1-4e2e-9ecb-c5870e0377e1","description":"<p>Endpoint for viewing customer payments and refunds</p>\n","_postman_id":"0d36520f-93c1-4e2e-9ecb-c5870e0377e1"},{"name":"Payment Allocations","item":[{"name":"Retrieve a Payment Allocation","id":"b9f6daa9-e2a7-4ddf-99ba-bba99bb34e93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/payment_allocations/:id","description":"<p>Retrieve a single payment allocation</p>\n","urlObject":{"path":["payment_allocations",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"18c9abe9-ba99-4d8f-850f-fc47ddb57fc1","name":"Retrieve a Payment Allocation","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/payment_allocations/339"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"130720104624"},{"key":"X-Request-Id","value":"6feea3dcbe01a5b163687a895b5fbbfc"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.030893"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Mon, 13 Jul 2020 14:46:23 GMT"},{"key":"Content-Length","value":"152"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 339,\n    \"date\": \"2020-01-28\",\n    \"amount\": \"50.0\",\n    \"payment_id\": 455,\n    \"invoice_id\": 548,\n    \"created_at\": \"2020-01-28T16:57:37Z\",\n    \"updated_at\": \"2020-01-28T16:57:37Z\"\n}"}],"_postman_id":"b9f6daa9-e2a7-4ddf-99ba-bba99bb34e93"},{"name":"List all Payment Allocations","id":"5e1c1092-c3b6-42a9-9f22-21e7af936eb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/payment_allocations","description":"<p>Returns a list of payments that match the search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>payment_id</td>\n<td>search by payment id</td>\n</tr>\n<tr>\n<td>invoice_id</td>\n<td>search by invoice id</td>\n</tr>\n<tr>\n<td>date</td>\n<td>search by payment date. Use YYYY-MM-DD format.\n</td></tr>\n<tr><td>date[gt]</td><td>search where date is greater than</td></tr>\n<tr><td>date[lt]</td><td>search where date is less than</td></tr>\n<tr><td>date[gte]</td><td>search where date is equal to or greater than</td></tr>\n<tr><td>date[lte]</td><td>search where date is equal to or less than</td></tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["payment_allocations"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"359d2c25-b899-455e-acea-d672987874ed","name":"List all Payment Allocations","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/payment_allocations"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"130720104914"},{"key":"X-Request-Id","value":"f73f29b32621e11bfd4454b1bf76dedd"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.046841"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Mon, 13 Jul 2020 14:49:13 GMT"},{"key":"Content-Length","value":"307"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 339,\n        \"date\": \"2020-01-28\",\n        \"amount\": \"50.0\",\n        \"payment_id\": 455,\n        \"invoice_id\": 548,\n        \"created_at\": \"2020-01-28T16:57:37Z\",\n        \"updated_at\": \"2020-01-28T16:57:37Z\"\n    },\n    {\n        \"id\": 340,\n        \"date\": \"2020-01-28\",\n        \"amount\": \"50.0\",\n        \"payment_id\": 456,\n        \"invoice_id\": 547,\n        \"created_at\": \"2020-01-28T16:58:03Z\",\n        \"updated_at\": \"2020-01-28T16:58:03Z\"\n    }\n]"}],"_postman_id":"5e1c1092-c3b6-42a9-9f22-21e7af936eb1"},{"name":"Create a Payment Allocation","id":"1add451b-e227-48af-a711-ebdef85b6d19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/payment_allocations","description":"<p>Use this endpoint to create a payment allocation.</p>\n\n<p><strong>Arguments</strong></p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td>payment_id</td><td>ID of payment that is being allocated</td></tr>\n<tr><td>invoice_id</td><td>ID of invoice that payment is being allocated to</td></tr>\n<tr><td>date</td><td>Date</td></tr>\n<tr><td>amount</td><td>Amount being allocated</td></tr>\n</tbody>\n</table>","urlObject":{"path":["payment_allocations"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"6a0ac188-6e13-4624-8d31-69f252ba9c55","name":"Create Payment Allocation","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"payment_allocation\": \n {\t\t\t\n\t \"date\": \"2020-01-16\",\t\t\n\t \"payment_id\": 501,\n\t \"invoice_id\": 278,\n\t \"amount\": 100.00\n\t}\n}"},"url":"{{base_url}}/payment_allocations"},"status":"Created ","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"030220145617"},{"key":"X-Request-Id","value":"272e453ada4f972b0a4949052f45e005"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"1.914688"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Mon, 03 Feb 2020 19:56:18 GMT"},{"key":"Content-Length","value":"382"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 342,\n    \"date\": \"2020-01-28\",\n    \"amount\": \"100.0\",\n    \"payment_id\": 455,\n    \"invoice_id\": 548,\n    \"created_at\": \"2020-01-28T16:57:37Z\",\n    \"updated_at\": \"2020-01-28T16:57:37Z\"\n}"}],"_postman_id":"1add451b-e227-48af-a711-ebdef85b6d19"}],"id":"51dbe75b-f89d-4e46-90f5-5b125032659c","description":"<p>Endpoint for allocating payments to invoices.</p>\n","event":[{"listen":"prerequest","script":{"id":"3fb2f93d-4376-450e-929b-580315302202","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2ff71275-adc8-4f66-a8a9-4a24d6464e9d","type":"text/javascript","exec":[""]}}],"_postman_id":"51dbe75b-f89d-4e46-90f5-5b125032659c"},{"name":"Credit Note Allocations","item":[{"name":"Retrieve a Credit Note Allocation","id":"db94274f-1364-4642-b978-7bf9453addde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/credit_note_allocations/:id","description":"<p>Retrieve a single credit note allocation</p>\n","urlObject":{"path":["credit_note_allocations",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"0b51f07c-7adf-489a-b1ef-9d3a6a0a9165","name":"Retrieve a Credit Note Allocation","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/credit_note_allocations/339"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"130720104624"},{"key":"X-Request-Id","value":"6feea3dcbe01a5b163687a895b5fbbfc"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.030893"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Mon, 13 Jul 2020 14:46:23 GMT"},{"key":"Content-Length","value":"152"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 339,\n    \"date\": \"2020-01-28\",\n    \"amount\": \"50.0\",\n    \"credit_note_id\": 455,\n    \"invoice_id\": 548,\n    \"created_at\": \"2020-01-28T16:57:37Z\",\n    \"updated_at\": \"2020-01-28T16:57:37Z\"\n}"}],"_postman_id":"db94274f-1364-4642-b978-7bf9453addde"},{"name":"List all Credit Note Allocations","id":"f18fc6fb-b56d-49fe-8415-2bf00b79255c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/credit_note_allocations","description":"<p>Returns a list of payments that match the search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>credit_note_id</td>\n<td>search by credit note id</td>\n</tr>\n<tr>\n<td>invoice_id</td>\n<td>search by invoice id</td>\n</tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["credit_note_allocations"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"379cc86e-9144-4f08-8366-62ca6f51e76f","name":"List all Credit Note Allocations","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/credit_note_allocations"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"130720104914"},{"key":"X-Request-Id","value":"f73f29b32621e11bfd4454b1bf76dedd"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.046841"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Mon, 13 Jul 2020 14:49:13 GMT"},{"key":"Content-Length","value":"307"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 339,\n        \"date\": \"2020-01-28\",\n        \"amount\": \"50.0\",\n        \"credit_note_id\": 455,\n        \"invoice_id\": 548,\n        \"created_at\": \"2020-01-28T16:57:37Z\",\n        \"updated_at\": \"2020-01-28T16:57:37Z\"\n    },\n    {\n        \"id\": 340,\n        \"date\": \"2020-01-28\",\n        \"amount\": \"50.0\",\n        \"credit_note_id\": 456,\n        \"invoice_id\": 547,\n        \"created_at\": \"2020-01-28T16:58:03Z\",\n        \"updated_at\": \"2020-01-28T16:58:03Z\"\n    }\n]"}],"_postman_id":"f18fc6fb-b56d-49fe-8415-2bf00b79255c"}],"id":"8952ee51-342e-44b8-97c0-54115c5b3540","description":"<p>Endpoint for credit note allocations to invoices.</p>\n","event":[{"listen":"prerequest","script":{"id":"8c9f40c2-448b-4741-bd69-2272383a7958","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"86a0efa4-2852-4483-a21f-ce2f8d6a00bd","type":"text/javascript","exec":[""]}}],"_postman_id":"8952ee51-342e-44b8-97c0-54115c5b3540"},{"name":"Other Compensation","item":[{"name":"Retrieve Compensation","id":"f8c5642a-aa36-4405-af0b-b5901e2816d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/other_compensation/:id","description":"<p>Retrieve a single compensation record</p>\n","urlObject":{"path":["other_compensation",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"id":"d5beb102-8a8d-4e8f-8bc7-31e6dd5b6002","type":"string","value":"","key":"id"}]}},"response":[{"id":"c5749265-0d6a-493a-940a-4894725ae996","name":"Retrieve Compensation","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/other_compensation/:id","host":["{{base_url}}"],"path":["other_compensation",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 30 Mar 2020 13:09:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"must-revalidate, no-cache, no-store, private, max-age=0"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"x-RateLimit-Limit","value":"1"},{"key":"x-RateLimit-Remaining","value":"0"},{"key":"x-RateLimit-Reset","value":"300320130912"},{"key":"X-Request-Id","value":"4e70a6d87507bacca9337e39c892670e"},{"key":"X-UA-Compatible","value":"IE=Edge,chrome=1"},{"key":"X-Runtime","value":"0.023574"},{"key":"X-Rack-Cache","value":"miss"},{"key":"Vary","value":"Origin"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 20278,\n    \"employee_id\": 851,\n    \"employee_first_name\": \"Sandra\",\n    \"employee_last_name\": \"Ackman\",\n    \"date\": \"2020-03-17\",\n    \"description\": \"Reimbursement for supplies\",\n    \"amount\": \"100.0\",\n    \"wage_payment_id\": null,\n    \"created_at\": \"2020-03-18T00:02:14.000Z\",\n    \"updated_at\": \"2020-03-18T00:02:14.000Z\"\n  }"}],"_postman_id":"f8c5642a-aa36-4405-af0b-b5901e2816d6"},{"name":"List all Compensation","id":"6188cfef-e723-4c4e-ba6f-962e9c565c8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/other_compensation","description":"<p>Returns a list of wage payments that match the search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>employee_id</td>\n<td>search by employee id</td>\n</tr>\n<tr>\n<td>date</td>\n<td>search by compensation date. Use YYYY-MM-DD format.\n</td></tr>\n<tr><td>date[gt]</td><td>search where date is greater than</td></tr>\n<tr><td>date[lt]</td><td>search where date is less than</td></tr>\n<tr><td>date[gte]</td><td>search where date is equal to or greater than</td></tr>\n<tr><td>date[lte]</td><td>search where date is equal to or less than</td></tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["other_compensation"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"1fb9cb42-6a7d-4a0c-ae8c-ba7f8d9cee45","name":"List all Compensation","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/other_compensation","host":["{{base_url}}"],"path":["other_compensation"],"query":[{"key":"direction","value":"desc","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 30 Mar 2020 13:06:36 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"must-revalidate, no-cache, no-store, private, max-age=0"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"x-RateLimit-Limit","value":"1"},{"key":"x-RateLimit-Remaining","value":"0"},{"key":"x-RateLimit-Reset","value":"300320130637"},{"key":"X-Request-Id","value":"672d3b1b5afabc3d2b37b4f4849758db"},{"key":"X-UA-Compatible","value":"IE=Edge,chrome=1"},{"key":"X-Runtime","value":"0.033559"},{"key":"X-Rack-Cache","value":"miss"},{"key":"Vary","value":"Origin"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n    \"id\": 20278,\n    \"employee_id\": 851,\n    \"employee_first_name\": \"Sandra\",\n    \"employee_last_name\": \"Ackman\",\n    \"date\": \"2021-03-17\",\n    \"description\": \"Reimbursement for supplies\",\n    \"amount\": \"100.0\",\n    \"wage_payment_id\": null,\n    \"created_at\": \"2020-03-18T00:02:14.000Z\",\n    \"updated_at\": \"2020-03-18T00:02:14.000Z\"\n  },\n  {\n    \"id\": 2984,\n    \"employee_id\": 1,\n    \"employee_first_name\": \"Janine\",\n    \"employee_last_name\": \"O'Neil\",\n    \"date\": \"2020-02-19\",\n    \"description\": \"Referral Bonus\",\n    \"amount\": \"50.0\",\n    \"wage_payment_id\": null,\n    \"created_at\": \"2017-02-19T16:37:09.000Z\",\n    \"updated_at\": \"2017-02-19T16:37:09.000Z\"\n  }\n]"}],"_postman_id":"6188cfef-e723-4c4e-ba6f-962e9c565c8d"},{"name":"Create a Other Compensation","id":"cc454aed-1175-4367-a708-cc3fb66cafc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/other_compensation","description":"<p>Use this endpoint to create other compensation. All fields are required.</p>\n\n<p><strong>Arguments</strong></p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td>employee_id</td><td>ID of employee the payment is for</td></tr>\n<tr><td>date</td><td>Date</td></tr>\n<tr><td>amount</td><td>Amount</td></tr>\n<tr><td>description</td><td>Details or description of payment</td></tr>\n</tbody>\n</table>","urlObject":{"path":["other_compensation"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"2c0a2f34-e319-4777-86d6-b5adc90eeff0","name":"Create Other Compensation","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"other_compensation\": {\n        \"date\": \"2022-07-16\",\n        \"employee_id\": 12,\n        \"amount\": 250.55,\n        \"description\": \"Wage Payment for period ending July 15, 2022\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/other_compensation"},"status":"Created ","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"030220145617"},{"key":"X-Request-Id","value":"272e453ada4f972b0a4949052f45e005"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"1.914688"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Mon, 03 Feb 2020 19:56:18 GMT"},{"key":"Content-Length","value":"382"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n\t\"id\": 29,\n\t\"employee_id\": 12,\n\t\"employee_first_name\": \"Kathy\",\n\t\"employee_last_name\": \"O'Brien\",\n\t\"date\": \"2021-07-16\",\n\t\"description\": \"Wage Payment for period ending July 15, 2022\",\n\t\"amount\": \"250.55\",\n\t\"wage_payment_id\": null,\n\t\"created_at\": \"2022-07-18T19:12:03.000Z\",\n\t\"updated_at\": \"2022-07-18T19:12:03.000Z\"\n}"}],"_postman_id":"cc454aed-1175-4367-a708-cc3fb66cafc9"}],"id":"81630c22-7f64-4a2b-9800-ac71831ee0ba","description":"<p>Endpoint for viewing non-hourly compensation for employees</p>\n","_postman_id":"81630c22-7f64-4a2b-9800-ac71831ee0ba"},{"name":"Wage Payments","item":[{"name":"Retrieve a Wage Payment","id":"faf2848f-6d40-4483-8d33-9acb093382ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/wage_payments/:id","description":"<p>Retrieve a single wage payment</p>\n","urlObject":{"path":["wage_payments",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"5184e448-f84f-4a1a-8ab9-13657b18906a","name":"Retrieve a Wage Payment","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/wage_payments/:id","host":["{{base_url}}"],"path":["wage_payments",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 30 Mar 2020 13:09:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"must-revalidate, no-cache, no-store, private, max-age=0"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"x-RateLimit-Limit","value":"1"},{"key":"x-RateLimit-Remaining","value":"0"},{"key":"x-RateLimit-Reset","value":"300320130912"},{"key":"X-Request-Id","value":"4e70a6d87507bacca9337e39c892670e"},{"key":"X-UA-Compatible","value":"IE=Edge,chrome=1"},{"key":"X-Runtime","value":"0.023574"},{"key":"X-Rack-Cache","value":"miss"},{"key":"Vary","value":"Origin"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 187422,\n    \"employee_id\": 851,\n    \"employee_first_name\": \"Sandra\",\n    \"employee_last_name\": \"Ackman\",\n    \"date\": \"2020-03-01\",\n    \"description\": \"\",\n    \"amount\": \"90.0\",\n    \"sent_at\": null,\n    \"created_at\": \"2020-03-01T15:29:24Z\",\n    \"updated_at\": \"2020-03-01T15:29:24Z\"\n}"}],"_postman_id":"faf2848f-6d40-4483-8d33-9acb093382ba"},{"name":"List all Wage Payments","id":"dc1e6997-93e0-45e4-9c02-f7e64c19e77e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/wage_payments","description":"<p>Returns a list of wage payments that match the search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>employee_id</td>\n<td>search by employee id</td>\n</tr>\n<tr>\n<td>date</td>\n<td>search by wage payment date. Use YYYY-MM-DD format.\n</td></tr>\n<tr><td>date[gt]</td><td>search where date is greater than</td></tr>\n<tr><td>date[lt]</td><td>search where date is less than</td></tr>\n<tr><td>date[gte]</td><td>search where date is equal to or greater than</td></tr>\n<tr><td>date[lte]</td><td>search where date is equal to or less than</td></tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["wage_payments"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"46e1163c-cc93-4e87-a220-4aa75aa24b71","name":"List all Wage Payments","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/wage_payments","host":["{{base_url}}"],"path":["wage_payments"],"query":[{"key":"direction","value":"desc","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 30 Mar 2020 13:06:36 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"must-revalidate, no-cache, no-store, private, max-age=0"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"x-RateLimit-Limit","value":"1"},{"key":"x-RateLimit-Remaining","value":"0"},{"key":"x-RateLimit-Reset","value":"300320130637"},{"key":"X-Request-Id","value":"672d3b1b5afabc3d2b37b4f4849758db"},{"key":"X-UA-Compatible","value":"IE=Edge,chrome=1"},{"key":"X-Runtime","value":"0.033559"},{"key":"X-Rack-Cache","value":"miss"},{"key":"Vary","value":"Origin"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 187422,\n        \"employee_id\": 851,\n        \"employee_first_name\": \"Sandra\",\n        \"employee_last_name\": \"Ackman\",\n        \"date\": \"2020-03-01\",\n        \"description\": \"\",\n        \"amount\": \"90.0\",\n        \"sent_at\": null,\n        \"created_at\": \"2020-03-01T15:29:24Z\",\n        \"updated_at\": \"2020-03-01T15:29:24Z\"\n    },\n    {\n        \"id\": 187421,\n        \"employee_id\": 1,\n        \"employee_first_name\": \"Janine\",\n        \"employee_last_name\": \"O'Neil\",\n        \"date\": \"2020-03-01\",\n        \"description\": \"\",\n        \"amount\": \"37.5\",\n        \"sent_at\": null,\n        \"created_at\": \"2020-03-01T15:29:23Z\",\n        \"updated_at\": \"2020-03-01T15:29:23Z\"\n    }\n]"}],"_postman_id":"dc1e6997-93e0-45e4-9c02-f7e64c19e77e"},{"name":"Create a Wage Payment","id":"536823c4-3e8e-4938-94c8-719f2b5c450d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/wage_payments","description":"<p>Use this endpoint to create a wage payment.</p>\n\n<p><strong>Arguments</strong></p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td>employee_id</td><td>ID of employee the payment is for</td></tr>\n<tr><td>date</td><td>Date</td></tr>\n<tr><td>amount</td><td>Amount</td></tr>\n<tr><td>description</td><td>Details or description of payment</td></tr>\n</tbody>\n</table>","urlObject":{"path":["wage_payments"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"f0c0b12c-0aaf-49d1-8de2-792139450bbd","name":"Create Wage Payment","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"wage_payment\": \n {\t\t\t\n\t \"date\": \"2021-10-07\",\t\t\n\t \"employee_id\": 12,\n\t \"amount\": 250.50,\n\t \"description\": \"Payment for earnings in September 2021\"\n\t}\n}"},"url":"{{base_url}}/wage_payments"},"status":"Created ","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"030220145617"},{"key":"X-Request-Id","value":"272e453ada4f972b0a4949052f45e005"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"1.914688"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Mon, 03 Feb 2020 19:56:18 GMT"},{"key":"Content-Length","value":"382"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 151,\n  \"employee_id\": 12,\n  \"employee_first_name\": \"Ashley\",\n  \"employee_last_name\": \"Kovacs\",\n  \"date\": \"2021-10-07\",\n  \"description\": \"Payment for earnings in September 2021\",\n  \"amount\": \"250.5\",\n  \"sent_at\": null,\n  \"created_at\": \"2021-09-30T16:19:42.170Z\",\n  \"updated_at\": \"2021-09-30T16:19:42.170Z\"\n}"}],"_postman_id":"536823c4-3e8e-4938-94c8-719f2b5c450d"},{"name":"Update a Wage Payment","id":"fe537219-372a-4a5b-8369-c9c3b8b15021","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/wage_payments/:id","description":"<p>Use this endpoint to update a wage payment.</p>\n\n<p><strong>Arguments</strong></p>\n<table><thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr><td>employee_id</td><td>ID of employee the payment is for</td></tr>\n<tr><td>date</td><td>Date</td></tr>\n<tr><td>amount</td><td>Amount</td></tr>\n<tr><td>description</td><td>Details or description of payment</td></tr>\n</tbody>\n</table>","urlObject":{"path":["wage_payments",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"13088aac-4f08-414c-b70c-cf383a364bfc","name":"Update Wage Payment","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"wage_payment\": \n {\t\t\t\n\t \"date\": \"2021-10-07\",\t\t\n\t \"employee_id\": 12,\n\t \"amount\": 260.50,\n\t \"description\": \"Payment for earnings in September 2021 (with correction)\"\n\t}\n}"},"url":{"raw":"{{base_url}}/wage_payments/:id","host":["{{base_url}}"],"path":["wage_payments",":id"],"variable":[{"key":"id","value":"457"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"030220150152"},{"key":"X-Request-Id","value":"0e6096a76ba037bf9212812cb6f89827"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.121682"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Mon, 03 Feb 2020 20:01:51 GMT"},{"key":"Content-Length","value":"382"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 151,\n  \"employee_id\": 12,\n  \"employee_first_name\": \"Ashley\",\n  \"employee_last_name\": \"Kovacs\",\n  \"date\": \"2021-10-07\",\n  \"description\": \"Payment for earnings in September 2021 (with correction)\",\n  \"amount\": \"260.5\",\n  \"sent_at\": null,\n  \"created_at\": \"2021-09-30T16:19:42.000Z\",\n  \"updated_at\": \"2021-09-30T16:22:09.099Z\"\n}"}],"_postman_id":"fe537219-372a-4a5b-8369-c9c3b8b15021"}],"id":"d5992de6-234b-49dc-81f7-690d1806c520","description":"<p>Endpoint for viewing teacher and staff payments</p>\n","_postman_id":"d5992de6-234b-49dc-81f7-690d1806c520"},{"name":"Result Groups","item":[{"name":"Retrieve a Result Group","id":"ebe18030-ce2f-4920-9103-61a971d7f738","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/result_groups/:id","description":"<p>Retrieve a single result group by id</p>\n","urlObject":{"path":["result_groups",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"bcc46cc8-a56d-4d7a-a193-0f2f2c665588","name":"Retrieve a Result Group","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/result_groups/:id","host":["{{base_url}}"],"path":["result_groups",":id"],"variable":[{"key":"id","value":"89"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120105453"},{"key":"X-Request-Id","value":"f12374ad4e9cb246457b49b6df505d14"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.049591"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 15:54:52 GMT"},{"key":"Content-Length","value":"164"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 78,\n    \"name\": \"Math Tests\",\n    \"sections\": \"\",\n    \"created_at\": \"2024-07-16T14:56:32.000Z\",\n    \"updated_at\": \"2024-07-16T14:56:32.000Z\"\n}"}],"_postman_id":"ebe18030-ce2f-4920-9103-61a971d7f738"},{"name":"List all Result Groups","id":"16a94766-4326-449f-8b01-cd011825013c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/result_groups","description":"<p>Get a list of all result groups matching your search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>name</td>\n<td>search by name</td>\n</tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["result_groups"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"7b49f081-c57b-4a95-af4d-b592259a125c","name":"List all Result Groups","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/result_groups"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120105330"},{"key":"X-Request-Id","value":"799f2a90fd04f5585c1b3de5d9af0172"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.032748"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 15:53:29 GMT"},{"key":"Content-Length","value":"669"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 78,\n        \"name\": \"Math Tests\",\n        \"sections\": \"\",\n        \"created_at\": \"2024-07-16T14:56:32.000Z\",\n        \"updated_at\": \"2024-07-16T14:56:32.000Z\"\n    },\n    {\n        \"id\": 77,\n        \"name\": \"Reading Tests\",\n        \"sections\": \"\",\n        \"created_at\": \"2024-07-16T14:56:32.000Z\",\n        \"updated_at\": \"2024-07-16T14:56:32.000Z\"\n    },\n    {\n        \"id\": 76,\n        \"name\": \"English Tests\",\n        \"sections\": \"\",\n        \"created_at\": \"2024-07-16T14:56:32.000Z\",\n        \"updated_at\": \"2024-07-16T14:56:32.000Z\"\n    }\n]"}],"_postman_id":"16a94766-4326-449f-8b01-cd011825013c"}],"id":"0b9e49d8-ba24-4066-a513-b155c459d0bb","description":"<p>Endpoint for viewing result groups from the Result Tracking add-on.</p>\n","event":[{"listen":"prerequest","script":{"id":"ca35ed30-7b36-481a-9276-8c213555c267","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cc27203d-4f3b-4f9c-9bb8-5a920c708320","type":"text/javascript","exec":[""]}}],"_postman_id":"0b9e49d8-ba24-4066-a513-b155c459d0bb"},{"name":"Results","item":[{"name":"Retrieve a Result","id":"01d7813a-27a0-4688-8bff-165cfa2620df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/results/:id","description":"<p>Retrieve a single result by id</p>\n","urlObject":{"path":["results",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"b30ab752-d16f-4d3b-88dd-62773e14518e","name":"Retrieve a Result","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{base_url}}/results/:id","host":["{{base_url}}"],"path":["results",":id"],"variable":[{"key":"id","value":"89"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120105453"},{"key":"X-Request-Id","value":"f12374ad4e9cb246457b49b6df505d14"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.049591"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 15:54:52 GMT"},{"key":"Content-Length","value":"164"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 179,\n    \"result_group_id\": 79,\n    \"result_group_name\": \"Math Tests\",\n    \"result_group_sections\": \"\",\n    \"student_id\": 288,\n    \"student_name\": \"Kristin Anderson\",\n    \"date\": \"2024-07-25\",\n    \"value\": \"92\",\n    \"created_at\": \"2024-07-16T14:57:04.000Z\",\n    \"updated_at\": \"2024-07-16T14:57:04.000Z\"\n}"}],"_postman_id":"01d7813a-27a0-4688-8bff-165cfa2620df"},{"name":"List all Results","id":"29c46d7f-eb9a-4a7d-9a7b-e6fa6bafa661","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/results","description":"<p>Get a list of all results matching your search parameters</p>\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>student_id</td>\n<td>search by student id</td>\n</tr>\n<tr>\n<td>result_group_id</td>\n<td>search by result group id</td>\n</tr>\n<tr>\n<td>date</td>\n<td>search by result date. Use YYYY-MM-DD format.\n</td></tr>\n<tr><td>date[gt]</td><td>search where date is greater than</td></tr>\n<tr><td>date[lt]</td><td>search where date is less than</td></tr>\n<tr><td>date[gte]</td><td>search where date is equal to or greater than</td></tr>\n<tr><td>date[lte]</td><td>search where date is equal to or less than</td></tr>\n<tr>\n<td>page</td>\n<td>pass an optional page number for pagination, defaults to page 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number of records to display per each page, defaults to 20, maximum 50</td>\n</tr>\n<tr>\n<td>direction</td>\n<td>direction to sort by primary id (asc, desc), defaults to asc</td>\n</tr>\n</tbody></table>","urlObject":{"path":["results"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"49fb636c-40db-42d7-a99a-dd3ba9a36a01","name":"List all Result Groups","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/results"},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"280120105330"},{"key":"X-Request-Id","value":"799f2a90fd04f5585c1b3de5d9af0172"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.032748"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Tue, 28 Jan 2020 15:53:29 GMT"},{"key":"Content-Length","value":"669"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 179,\n        \"result_group_id\": 79,\n        \"result_group_name\": \"Math Tests\",\n        \"result_group_sections\": \"\",\n        \"student_id\": 288,\n        \"student_name\": \"Kristin Anderson\",\n        \"date\": \"2024-07-25\",\n        \"value\": \"92\",\n        \"created_at\": \"2024-07-26T14:57:04.000Z\",\n        \"updated_at\": \"2024-07-26T14:57:04.000Z\"\n    },\n    {\n        \"id\": 189,\n        \"result_group_id\": 79,\n        \"result_group_name\": \"Math Tests\",\n        \"result_group_sections\": \"\",\n        \"student_id\": 288,\n        \"student_name\": \"Kristin Anderson\",\n        \"date\": \"2024-07-29\",\n        \"value\": \"94\",\n        \"created_at\": \"2024-07-30T14:57:04.000Z\",\n        \"updated_at\": \"2024-07-30T14:57:04.000Z\"\n    }\n]"}],"_postman_id":"29c46d7f-eb9a-4a7d-9a7b-e6fa6bafa661"},{"name":"Create a Result","id":"ae7640e8-dae6-40a0-a857-97e29ec5e722","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/results","description":"<p>Use this endpoint to create a result.</p>\n\n<p><strong>Arguments</strong></p>\n<table><tbody><tr><th>Argument</th><th>Description</th></tr><tr><td><div>result_group_id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>ID of result group the result belongs to</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>student_id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>ID of student the result belongs to</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>date</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Date</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>value</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Result value.<br /><b>Note:</b> If the result group has sections, separate each result with a comma.</div><div><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>","urlObject":{"path":["results"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"2e7e3112-c001-45c8-bd35-a81567980606","name":"Create Result","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"result\": \n {\t\t\t\n\t \"result_group_id\": 61,\n\t \"student_id\": 288,\n\t \"date\": \"2024-08-01\",\n\t \"value\": \"88\"\n\t}\n}"},"url":"{{base_url}}/results"},"status":"Created ","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"030220145617"},{"key":"X-Request-Id","value":"272e453ada4f972b0a4949052f45e005"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"1.914688"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Mon, 03 Feb 2020 19:56:18 GMT"},{"key":"Content-Length","value":"382"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 180,\n    \"result_group_id\": 61,\n    \"result_group_name\": \"Mock Test\",\n    \"result_group_sections\": \"\",\n    \"student_id\": 288,\n    \"student_name\": \"Kristin Anderson\",\n    \"date\": \"2024-08-01\",\n    \"value\": \"88\",\n    \"created_at\": \"2024-08-01T14:57:04.000Z\",\n    \"updated_at\": \"2024-08-01T14:57:04.000Z\"\n}"}],"_postman_id":"ae7640e8-dae6-40a0-a857-97e29ec5e722"},{"name":"Update a Result","id":"54656186-9bef-4caf-a5e5-794fac8ef1d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":""},"url":"{{base_url}}/results/:id","description":"<p>Use this endpoint to update a result.</p>\n<p><strong>Arguments</strong></p>\n<table><tbody><tr><th>Argument</th><th>Description</th></tr><tr><td><div>result_group_id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>ID of result group the result belongs to</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>student_id</div><div><div><div><div></div></div></div><div></div></div></td><td><div>ID of student the result belongs to</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>date</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Date</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>value</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Result value.<br /><b>Note:</b> If the result group has sections, separate each result with a comma.</div><div><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>","urlObject":{"path":["results",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"658576bb-036a-47fb-b8cd-4291e5f2ee8b","name":"Update Result","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"result\": \n {\t\t\t\n\t \"result_group_id\": 61,\n\t \"student_id\": 288,\n\t \"date\": \"2024-08-01\",\n\t \"value\": \"87\"\n\t}\n}"},"url":{"raw":"{{base_url}}/results/:id","host":["{{base_url}}"],"path":["results",":id"],"variable":[{"key":"id","value":"180"}]}},"status":"OK ","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Ratelimit-Limit","value":"1"},{"key":"X-Ratelimit-Remaining","value":"0"},{"key":"X-Ratelimit-Reset","value":"030220150152"},{"key":"X-Request-Id","value":"0e6096a76ba037bf9212812cb6f89827"},{"key":"X-Ua-Compatible","value":"IE=Edge"},{"key":"X-Runtime","value":"0.121682"},{"key":"Vary","value":"Origin"},{"key":"Server","value":"WEBrick/1.3.1 (Ruby/2.0.0/2015-12-16)"},{"key":"Date","value":"Mon, 03 Feb 2020 20:01:51 GMT"},{"key":"Content-Length","value":"382"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 180,\n    \"result_group_id\": 61,\n    \"result_group_name\": \"Mock Test\",\n    \"result_group_sections\": \"\",\n    \"student_id\": 288,\n    \"student_name\": \"Kristin Anderson\",\n    \"date\": \"2024-08-01\",\n    \"value\": \"87\",\n    \"created_at\": \"2024-08-01T14:57:04.000Z\",\n    \"updated_at\": \"2024-08-02T14:57:04.000Z\"\n}"}],"_postman_id":"54656186-9bef-4caf-a5e5-794fac8ef1d4"}],"id":"9ecfb024-ebd1-47f6-b37b-b2548262e9b6","description":"<p>Endpoint for viewing results from the Result Tracking add-on.</p>\n","event":[{"listen":"prerequest","script":{"id":"ca35ed30-7b36-481a-9276-8c213555c267","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cc27203d-4f3b-4f9c-9bb8-5a920c708320","type":"text/javascript","exec":[""]}}],"_postman_id":"9ecfb024-ebd1-47f6-b37b-b2548262e9b6"},{"name":"Repertoires","item":[{"name":"List all Repertoires","id":"eba12f89-5ef0-4453-854a-36b5787f6075","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"}],"url":"{{base_url}}/repertoires","description":"<p>Get a list of all Repertoires</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Argument</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>student_id</td>\n<td>If provided, it will filter the result set by the given <code>id</code> of a student.  <br />Optional  <br />Default: null</td>\n</tr>\n<tr>\n<td>sort_direction</td>\n<td>Values can be <code>asc</code> for ascending order or <code>desc</code> for descending order.  <br />Optional  <br />Default: desc</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Pass a page number for pagination.  <br />Optional  <br />Default: 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>Number of records to display per each page.  <br />Optional  <br />Default: 20  <br />Maximum: 80</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["repertoires"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"c4322b15-7400-4cbc-8888-d91ee3393f11","name":"List all Repertoires","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/repertoires"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 14,\n        \"student_id\": 12142,\n        \"student_name\": \"Nedd Stark\",\n        \"title\": \"Java Programming\",\n        \"composer\": \"Jon Snow\",\n        \"duration\": \"5:45\",\n        \"genre\": \"Computer Science\",\n        \"difficulty\": \"Medium\",\n        \"status\": \"In Progress\",\n        \"date_started\": \"2024-10-07\",\n        \"date_completed\": \"\",\n        \"source\": \"Java for Beginners\",\n        \"notes\": \"\",\n        \"deleted_at\": null,\n        \"created_at\": \"2024-10-07T13:46:46.000Z\",\n        \"updated_at\": \"2024-10-07T13:46:46.000Z\",\n        \"performances\": [\n            {\n                \"id\": 13,\n                \"event\": \"Java Beginners - 101\",\n                \"date\": \"2024-10-07\",\n                \"grade\": \"A\",\n                \"comments\": \"Well documented presentation\"\n            }\n        ]\n    }\n]"}],"_postman_id":"eba12f89-5ef0-4453-854a-36b5787f6075"},{"name":"Retrieve a Repertoire","id":"32ea77f6-8ea5-4efb-aa66-ee7044a1a6d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"}],"url":"{{base_url}}/repertoires/:id","urlObject":{"path":["repertoires",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"14","key":"id"}]}},"response":[{"id":"e21d4674-4311-4051-af1c-a083dd56ab54","name":"Retrieve a Repertoire","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{base_url}}/repertoires/14"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 14,\n        \"student_id\": 12142,\n        \"student_name\": \"Nedd Stark\",\n        \"title\": \"Java Programming\",\n        \"composer\": \"Jon Snow\",\n        \"duration\": \"5:45\",\n        \"genre\": \"Computer Science\",\n        \"difficulty\": \"Medium\",\n        \"status\": \"In Progress\",\n        \"date_started\": \"2024-10-07\",\n        \"date_completed\": \"\",\n        \"source\": \"Java for Beginners\",\n        \"notes\": \"\",\n        \"deleted_at\": null,\n        \"created_at\": \"2024-10-07T13:46:46.000Z\",\n        \"updated_at\": \"2024-10-07T13:46:46.000Z\",\n        \"performances\": [\n            {\n                \"id\": 13,\n                \"event\": \"Java Beginners - 101\",\n                \"date\": \"2024-10-07\",\n                \"grade\": \"A\",\n                \"comments\": \"Well documented presentation\"\n            }\n        ]\n    }\n]"}],"_postman_id":"32ea77f6-8ea5-4efb-aa66-ee7044a1a6d2"},{"name":"Create a Repertoire","id":"3f80dd4b-fe63-497d-9c15-74000e229077","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"repertoire\" : {\n        \"student_id\": 1356219,\n        \"title\": \"Test From API\",\n        \"composer\": \"Composer Test\",\n        \"duration_minutes\": 5,\n        \"duration_seconds\": 30,\n        \"genre\": \"Project Report\",\n        \"difficulty\": \"Medium\",\n        \"status\": \"In Progress\",\n        \"date_started\": \"2024-10-06\",\n        \"date_completed\": \"2024-10-30\",\n        \"notes\": \"Some Test Notes\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/repertoires","description":"<p><strong>Attributes</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Attributes</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>repertoire[]</strong></td>\n<td>Array with hash of the following:</td>\n</tr>\n<tr>\n<td>» student_id <em>(Required)</em></td>\n<td>ID of a student from the list of students  <br /><strong>Constraint:</strong> Should be present in the company's student list.</td>\n</tr>\n<tr>\n<td>» title <em>(Required)</em></td>\n<td>Title of a Repertoire record.</td>\n</tr>\n<tr>\n<td>» composer</td>\n<td>Composer name of a Repertoire record.</td>\n</tr>\n<tr>\n<td>» duration_minutes</td>\n<td>Minutes value for Repertoire duration  <br />Ex: <b>10</b>:45</td>\n</tr>\n<tr>\n<td>» duration_seconds</td>\n<td>Seconds value for Repertoire duration.  <br />Ex: 10:<b>45</b></td>\n</tr>\n<tr>\n<td>» genre</td>\n<td>Genre of a Repertoire record.</td>\n</tr>\n<tr>\n<td>» difficulty</td>\n<td>Difficulty level of a Repertoire record.</td>\n</tr>\n<tr>\n<td>» status</td>\n<td>Status of a Repertoire record.  <br /><strong>Constraint:</strong> Should be one of the status from a list in Repertoire configuration page.</td>\n</tr>\n<tr>\n<td>» date_started</td>\n<td>Date of the initiation for a Repertoire record.  <br /><strong>Constraint:</strong> Must be in yyyy-mm-dd format</td>\n</tr>\n<tr>\n<td>» date_completed</td>\n<td>Date of the completion for a Repertoire record.  <br /><strong>Constraint:</strong> Must be in yyyy-mm-dd format</td>\n</tr>\n<tr>\n<td>» source</td>\n<td>Source of the Repertoire record.</td>\n</tr>\n<tr>\n<td>» notes</td>\n<td>General notes regarding a Repertoire record.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["repertoires"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"5080dfee-a694-4ff1-b625-3408fb288fff","name":"Create a Repertoire","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token token={{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"repertoire\": {\n        \"student_id\": 12143,\n        \"title\": \"Test From API\",\n        \"composer\": \"Composer Test\",\n        \"duration_minutes\": 5,\n        \"duration_seconds\": 30,\n        \"genre\": \"Project Report\",\n        \"difficulty\": \"Medium\",\n        \"status\": \"In Progress\",\n        \"date_started\": \"2024-10-06\",\n        \"date_completed\": \"2024-10-30\",\n        \"notes\": \"Some Test Notes\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/repertoires"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 15,\n    \"student_id\": 12143,\n    \"student_name\": \"Brandon Stark\",\n    \"title\": \"Test From API\",\n    \"composer\": \"Composer Test\",\n    \"duration\": \"5:30\",\n    \"genre\": \"Project Report\",\n    \"difficulty\": \"Medium\",\n    \"status\": \"In Progress\",\n    \"date_started\": \"2024-10-06\",\n    \"date_completed\": \"2024-10-30\",\n    \"source\": \"\",\n    \"notes\": \"Some Test Notes\",\n    \"deleted_at\": null,\n    \"created_at\": \"2024-10-07T14:45:25.000Z\",\n    \"updated_at\": \"2024-10-07T14:45:25.000Z\",\n    \"performances\": []\n}"}],"_postman_id":"3f80dd4b-fe63-497d-9c15-74000e229077"}],"id":"136cbeed-06b8-402e-a9f8-9c3d476c21ed","_postman_id":"136cbeed-06b8-402e-a9f8-9c3d476c21ed","description":""}],"event":[{"listen":"prerequest","script":{"id":"4e847435-3987-402f-afb0-6c5b74fc5b8c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8e738375-4b9d-4fc8-a38d-aa03873b1e52","type":"text/javascript","exec":[""]}}]}