{"info":{"_postman_id":"6d7629b4-0ee1-46e2-b32e-201cc79e1aa1","name":"Co-Op-Erator Student View REST API","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>This API allows you to use the RESTful sevices implemented for the student viewpoint of te Co-op-Erator application</p>\n<h1 id=\"overview\">Overview</h1>\n<p>The API contains all POST and GET end points for creating and fetching entities in the domain. Please note that trivial end points do not have a functionality description; this was done intentionally for end points with self-explanatory titles.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>No Authenification Necessary.</p>\n<h1 id=\"error-codes\">Error Codes</h1>\n<h4>POST requests:</h4>\n    <h5><b>201(Created)</b></h5> If the entity was created. <i>The location URI of the entity is provided in the response body and header.</i>\n    <h5><b>400(Bad Request)</b></h5> If the request parameters are missing\n    <h5><b>404(Not Found)</b></h5> If the request parameters have an ID of a non-existing Entity\n    <h5><b>405(Method Not Allowed)</b></h5> if the parameters are invalid\n    <h5><b>418(I'm A Tea Pot)</b></h5> If the entity already exists\n    <h5><b>500(Internal Service Error)</b></h5> If service crashes\n<br>      \n<h4>GET requests:</h4>\n    <h5><b>200(OK)</b></h5> If the entity was found. <i>A JSON representation of the requested entity in HATEOAS form is provided in the response body.</i> \n    <h5><b>400(Bad Request)</b></h5> If the request parameters are missing\n    <h5><b>404(Not Found)</b></h5> If the Entity does not exist\n    <h5><b>500(Internal Service Error)</b></h5> If service crashes\n<br>      \n<h4>PUT requests:</h4>\n    <h5><b>202(Accepted)</b></h5> If the entity was updated.\n    <h5><b>405(Method Not Allowed)</b></h5> if the parameters are invalid\n<br>\n\n<h1 id=\"error-messages\">Error Messages</h1>\n<p>Unless a request URI has a typo, requests that return a 4xx status will return an error message in the respose body indicating what went wrong.</p>\n<h1 id=\"rate-limit\">Rate limit</h1>\n<p>Only 20 connections are permitted at one time. The first request may take 30 to 60 seconds if the dyno is not running. Contact a member of Team 04 if you are having connection issues</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"},{"content":"Error Codes","slug":"error-codes"},{"content":"Error Messages","slug":"error-messages"},{"content":"Rate limit","slug":"rate-limit"}],"owner":"6755770","collectionId":"6d7629b4-0ee1-46e2-b32e-201cc79e1aa1","publishedId":"S11KQdui","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-03-01T00:42:48.000Z"},"item":[{"name":"Create Student","id":"e866d5f2-d044-41aa-a3e5-874ef0b15cf2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n\t\"firstName\":\"<firstName>\",\r\n\t\"lastName\":\"<lastName>\",\r\n\t\"mcgillID\":<mcgillID>,\r\n\t\"mcgillEmail\":\"<mcgillEmail>\"\r\n}"},"url":"http://cooperator-backend-0000.herokuapp.com/student","description":"<h3>Body Parameter Types:</h3>\nfirstName : String\n<br />lastName : String\n<br />mcgillID : Integer\n<br />mcgillEmail: String\n","urlObject":{"protocol":"http","path":["student"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e866d5f2-d044-41aa-a3e5-874ef0b15cf2"},{"name":"Create Employer","id":"68fae80a-d03d-4bf3-88c6-d8cff9454298","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n\t\"name\":\"<name>\",\r\n\t\"email\":\"<email>\",\r\n\t\"address\": \"<address>\"\r\n}\r\n"},"url":"http://cooperator-backend-0000.herokuapp.com/employer","description":"<h3>Body Parameter Types:</h3>\nname : String\n<br />email : String\n<br />address : String\n\n","urlObject":{"protocol":"http","path":["employer"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"68fae80a-d03d-4bf3-88c6-d8cff9454298"},{"name":"Create Course","id":"ea0cd509-51bc-4235-b556-df50c7ff0d4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"courseCode\":\"<courseCode>\",\r\n\t\"coopTerm\":<coopTerm>\r\n}"},"url":"http://cooperator-backend-0000.herokuapp.com/coopCourse","description":"<h3>Body Parameter Types:</h3>\ncourseCode : String\n<br />coopTerm : Integer (from 1 to 4)\n","urlObject":{"protocol":"http","path":["coopCourse"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea0cd509-51bc-4235-b556-df50c7ff0d4b"},{"name":"Create Course Offering","id":"861c95d1-0385-42fc-9d7d-5023ed739a1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"year\": <year>,\r\n\t\"term\":\"<WINTER, FALL, SUMMER>\",\r\n\t\"active\": <boolean>\r\n}"},"url":"http://cooperator-backend-0000.herokuapp.com/coopCourseOffering?courseCode={courseCode}","description":"<h3>Body Parameter Types:</h3>\nyear : Integer (4 digits)\n<br />term : ENUM\n<br />active : Boolean\n<h3>Query Parameters Types:</h3>\ncourseCode : String\n","urlObject":{"protocol":"http","path":["coopCourseOffering"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[{"key":"courseCode","value":"{courseCode}"}],"variable":[]}},"response":[],"_postman_id":"861c95d1-0385-42fc-9d7d-5023ed739a1e"},{"name":"Create Student Enrollment","id":"58730c9d-164d-43d3-809e-9f8001af4138","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n\t\"active\": boolean,\r\n\t\"status\": \"PASSED, FAILED, ONGOING, WITHDRAwED\",\r\n\t\"startDate\":\"<date>\",\r\n\t\"endDate\":\"<date>\",\r\n\t\"workPermit\":boolean,\r\n\t\"jobID\":\"<jobID>\"\r\n}"},"url":"http://cooperator-backend-0000.herokuapp.com/studentEnrollment?courseOfferingID={courseOfferingID}&studentID={studentID}&employerEmail={employerEmail}&coopAcceptanceForm={coopAcceptanceForm}&employerContract={employerContract}","description":"<h3>Body Parameter Types:</h3>\nactive : Boolean \n<br />status : ENUM\n<br />startDate : Date (year-month-day) \n<br />endDate : Date (year-month-day)\n<br />workPermit : Boolean\n<br />jobID : String \n<h3>Query Parameters Types:</h3>\ncourseOfferingID : String\n<br />studentID : String\n<br />employerEmail : String\n<br />coopAcceptanceForm : String (URL)\n<br />employerContract : String (URL)\n\n<h3>Functionality Description:</h3>\nThis registers a student for a coop-course. The student is expected to submit the URLs for his Coop Acceptance Form and Employer Contract in order for the registraion to be successful. If the registration is successful, the enrollment will contain all the tasks for the coop term (see \"Get Tasks of Enrollment\")\n<br />\n","urlObject":{"protocol":"http","path":["studentEnrollment"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[{"description":{"content":"<p>Ex: 2600000-ECSE-321-W19</p>\n","type":"text/plain"},"key":"courseOfferingID","value":"{courseOfferingID}"},{"key":"studentID","value":"{studentID}"},{"key":"employerEmail","value":"{employerEmail}"},{"description":{"content":"<p>The URL for the form</p>\n","type":"text/plain"},"key":"coopAcceptanceForm","value":"{coopAcceptanceForm}"},{"description":{"content":"<p>The URL for the form</p>\n","type":"text/plain"},"key":"employerContract","value":"{employerContract}"}],"variable":[]}},"response":[],"_postman_id":"58730c9d-164d-43d3-809e-9f8001af4138"},{"name":"Create Task","id":"8c206643-a067-4cd2-bdb5-8f7525345a4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n\t\"name\":\"<name>\",\r\n\t\"description\":\"<description>\",\r\n\t\"dueDate\":\"<date>\",\r\n\t\"taskStatus\":\"<COMPLETED, LATE_COMPLETED, INCOMPLETE>\"\r\n}"},"url":"http://cooperator-backend-0000.herokuapp.com/task?studentEnrollmentID={studentEnrollmentID}","description":"<h3>Body Parameter Types:</h3>\nname : String \n<br />description : String\n<br />dueDate : date (year-month-day) \n<br />taskStatus : ENUM \n<h3>Query Parameters Types:</h3>\nstudentEnrollmentID : String\n<h3>Functionality description:</h3>\nThis creates additional tasks for a student enrollment. Although all default tasks are created by default when the enrollment is created, this may be used to add additional tasks if needed.","urlObject":{"protocol":"http","path":["task"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[{"description":{"content":"<p>Ex: 2600000-ECSE-321-W19</p>\n","type":"text/plain"},"key":"studentEnrollmentID","value":"{studentEnrollmentID}"}],"variable":[]}},"response":[],"_postman_id":"8c206643-a067-4cd2-bdb5-8f7525345a4e"},{"name":"Create Document","id":"4f7ab10b-e1d0-49ae-ad97-d52d4e4537e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n\t\"name\":\"<name>\",\r\n\t\"url\":\"<url>\"\r\n}"},"url":"http://cooperator-backend-0000.herokuapp.com/document?studentEnrollmentID={StudentEnrollmentID}&taskName={taskName}","description":"<h3>Body Parameter Types:</h3>\nname : String\n<br />url : String\n<h3>Query Parameters Types:</h3>\nstudentEnrollmentID : String\n<br />taskName : String\n<h3>Functionality description:</h3>\nThis attatches a document to a task. The task is specified by the enrollment it belongs to, and the task name.","urlObject":{"protocol":"http","path":["document"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[{"description":{"content":"<p>Ex: 260000000-ECSE-321-W19</p>\n","type":"text/plain"},"key":"studentEnrollmentID","value":"{StudentEnrollmentID}"},{"key":"taskName","value":"{taskName}"}],"variable":[]}},"response":[],"_postman_id":"4f7ab10b-e1d0-49ae-ad97-d52d4e4537e0"},{"name":"Get All Students","id":"88c0d93f-3aab-4458-bb93-bcbbd43e60b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/students","urlObject":{"protocol":"http","path":["students"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"88c0d93f-3aab-4458-bb93-bcbbd43e60b5"},{"name":"Get Student by ID","id":"d1a98c2b-1bb0-48d4-9a8f-2751af2fe353","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/students/{id}","description":"<h3>URI Parameter:</h3>\nmcgillID: Integer   ex:2600000","urlObject":{"protocol":"http","path":["students","{id}"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d1a98c2b-1bb0-48d4-9a8f-2751af2fe353"},{"name":"Get Enrollments of Student","id":"6d85a1c2-32b1-4a4c-8f26-2ba11ef18e7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/students/{id}/courseEnrollments","description":"<h3>URI Parameter:</h3>\nmcgillID: Integer   ex:2600000\n\n<h3>Functionality description:</h3>\nReturns a list of enrollments for a particular student.\n\n","urlObject":{"protocol":"http","path":["students","{id}","courseEnrollments"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6d85a1c2-32b1-4a4c-8f26-2ba11ef18e7a"},{"name":"Get All Employers","id":"530317a4-853b-4019-bd21-c02c2ce431b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/employers","urlObject":{"protocol":"http","path":["employers"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"530317a4-853b-4019-bd21-c02c2ce431b8"},{"name":"Get Employer by Email","id":"9d4d768c-3d47-4df6-b806-5b16b1b14288","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/employers/{email}","description":"<h3>URI Parameter:</h3>\nemail: string   ex:google@gmail.com","urlObject":{"protocol":"http","path":["employers","{email}"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d4d768c-3d47-4df6-b806-5b16b1b14288"},{"name":"Get Student Enrollments of Employer","id":"cdc09a8b-c1c2-4b24-982f-8f8993ab482a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/employers/{email}/studentEnrollments","description":"<h3>URI Parameter:</h3>\nemail: String   ex:google@gmail.com\n<h3>Functionality description:</h3>\nReturns a list of student enrollments for a particular employer.","urlObject":{"protocol":"http","path":["employers","{email}","studentEnrollments"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cdc09a8b-c1c2-4b24-982f-8f8993ab482a"},{"name":"Get All Coop Courses","id":"44a593c7-2ed7-46a1-ab95-91b185ff39b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/coopCourses","urlObject":{"protocol":"http","path":["coopCourses"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"44a593c7-2ed7-46a1-ab95-91b185ff39b7"},{"name":"Get Course by Course Code","id":"a4a92f04-a4dd-4ccc-b537-8db64ac84c73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/coopCourses/{Course Code}","description":"<h3>URI Parameter:</h3>\ncourseCode: String  ex:ECSE-321","urlObject":{"protocol":"http","path":["coopCourses","{Course Code}"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4a92f04-a4dd-4ccc-b537-8db64ac84c73"},{"name":"Get Offerings of Coop Course","id":"b6873fc2-240a-4613-9e46-6231c4f16d70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/coopCourses/{Course Code}/coopCourseOffering","description":"<h3>URI Parameter:</h3>\ncourseCode: String  ex:ECSE-321\n<h3>Functionality description:</h3>\nReturns a list of course offerings for a particular course.","urlObject":{"protocol":"http","path":["coopCourses","{Course Code}","coopCourseOffering"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b6873fc2-240a-4613-9e46-6231c4f16d70"},{"name":"Get All Course Offerings","id":"39dea709-9a4b-429c-9cac-c98e80620028","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/coopCourseOfferings","urlObject":{"protocol":"http","path":["coopCourseOfferings"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"39dea709-9a4b-429c-9cac-c98e80620028"},{"name":"Get Course Offering By Offer ID","id":"58d64df1-dc15-4405-abaa-1a4143943952","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/coopCourseOfferings/{Offer ID}","description":"<h3>URI Parameter:</h3>\nofferID: String ex:ECSE-321-W19","urlObject":{"protocol":"http","path":["coopCourseOfferings","{Offer ID}"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"58d64df1-dc15-4405-abaa-1a4143943952"},{"name":"Get Enrollments of course offering","id":"74d1c637-0b52-4d06-ba8c-c08dd7e35ed3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/coopCourseOfferings/{Offer ID}/studentEnrollments","description":"<h3>URI Parameter:</h3>\nofferId: String ex:ECSE-321-W19\n<h3>Functionality description:</h3>\nReturns a list of enrollments for a course offering.","urlObject":{"protocol":"http","path":["coopCourseOfferings","{Offer ID}","studentEnrollments"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"74d1c637-0b52-4d06-ba8c-c08dd7e35ed3"},{"name":"Get All Student Enrollments","id":"48679cc4-8828-480d-b4cf-7e7df86df77f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/studentEnrollments","urlObject":{"protocol":"http","path":["studentEnrollments"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[{"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"48679cc4-8828-480d-b4cf-7e7df86df77f"},{"name":"Get Student Enrollment by Enrollment ID","id":"d57540ce-02e0-4e4a-a86d-2eba0512174d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/studentEnrollments/{Enrollment ID}","description":"<h3>URI Parameter:</h3>\nenrollmentID: String    ex:260000-ECSE-321-W19","urlObject":{"protocol":"http","path":["studentEnrollments","{Enrollment ID}"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d57540ce-02e0-4e4a-a86d-2eba0512174d"},{"name":"Get Student that is Enrolled","id":"4bf29d31-8790-46b4-9fb4-0e179c0c9c69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/studentEnrollments/{Enrollment ID}/enrolledStudent","description":"<h3>URI Parameter:</h3>\nenrollmentID: String    ex:260000-ECSE-321-W19","urlObject":{"protocol":"http","path":["studentEnrollments","{Enrollment ID}","enrolledStudent"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4bf29d31-8790-46b4-9fb4-0e179c0c9c69"},{"name":"Get Course Offering of Enrollment","id":"76d6d58f-99a4-4a54-838c-46b864fc4ac6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/studentEnrollments/{Enrollment ID}/coopCourseOffering","description":"<h3>URI Parameter:</h3>\nenrollmentID: String    ex:260000-ECSE-321-W19","urlObject":{"protocol":"http","path":["studentEnrollments","{Enrollment ID}","coopCourseOffering"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"76d6d58f-99a4-4a54-838c-46b864fc4ac6"},{"name":"Get Employer of Student Enrollment","id":"d163dac9-a069-4a78-816f-5191e086598f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/studentEnrollments/{Enrollment ID}/studentEmployer","description":"<h3>URI Parameter:</h3>\nenrollmentID: String    ex:260000-ECSE-321-W19","urlObject":{"protocol":"http","path":["studentEnrollments","{Enrollment ID}","studentEmployer"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d163dac9-a069-4a78-816f-5191e086598f"},{"name":"Get Tasks of Enrollment","id":"16fe1c6c-451f-49e1-b7d5-cd0b311d0140","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/studentEnrollments/{Enrollment ID}/courseTasks","description":"<h3>URI Parameter:</h3>\nenrollmentID: String    ex:260000-ECSE-321-W19\n<h3>Functionality description:</h3>\nReturns a list of tasks for a particular student enrollment.","urlObject":{"protocol":"http","path":["studentEnrollments","{Enrollment ID}","courseTasks"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"16fe1c6c-451f-49e1-b7d5-cd0b311d0140"},{"name":"Get All Tasks","id":"7813d6ef-8ac1-461a-9809-5bd591c27ca2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/tasks","urlObject":{"protocol":"http","path":["tasks"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7813d6ef-8ac1-461a-9809-5bd591c27ca2"},{"name":"Get Task by ID","id":"9b3b1245-9976-4bf7-a266-1018ba5cc5cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/tasks/{Task ID}","description":"<h3>URI Parameter:</h3>\ntaskID: Long","urlObject":{"protocol":"http","path":["tasks","{Task ID}"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b3b1245-9976-4bf7-a266-1018ba5cc5cb"},{"name":"Get Documents for Task","id":"18cbb3c7-135a-4e5c-8d42-6fca816aa1c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/tasks/{Task ID}/documents","description":"<h3>URI Parameter:</h3>\ntaskID: Long\n<h3>Functionality description:</h3>\nReturns the documents for a specific task.","urlObject":{"protocol":"http","path":["tasks","{Task ID}","documents"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"18cbb3c7-135a-4e5c-8d42-6fca816aa1c7"},{"name":"Get All Documents","id":"89bc590a-0d7e-4ea0-88c5-47e400ac2bdb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/documents","urlObject":{"protocol":"http","path":["documents"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"89bc590a-0d7e-4ea0-88c5-47e400ac2bdb"},{"name":"Get Document By ID","id":"7475d756-b745-4995-8d1f-646704ff401c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/documents/{Document ID}","description":"<h3>URI Parameter:</h3>\ndocumentID: Long","urlObject":{"protocol":"http","path":["documents","{Document ID}"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7475d756-b745-4995-8d1f-646704ff401c"},{"name":"Update Enrollment details","id":"68a4fd8f-e8e4-4e88-b09c-50613fe6274c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/studentEnrollment?enrollmentID={EnrollmentID}&active={active}&status={CourseStatus}","urlObject":{"protocol":"http","path":["studentEnrollment"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[{"description":{"content":"<p>Stirng</p>\n","type":"text/plain"},"key":"enrollmentID","value":"{EnrollmentID}"},{"description":{"content":"<p>Boolean</p>\n","type":"text/plain"},"key":"active","value":"{active}"},{"description":{"content":"<p>ENUM</p>\n","type":"text/plain"},"key":"status","value":"{CourseStatus}"}],"variable":[]}},"response":[],"_postman_id":"68a4fd8f-e8e4-4e88-b09c-50613fe6274c"},{"name":"Delete Student by ID","id":"a638fefc-f9be-4487-8190-7904a4d56ba5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/students/{id}","description":"<h3>URI Parameter:</h3>\nmcgillID: Integer   ex:2600000","urlObject":{"protocol":"http","path":["students","{id}"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a638fefc-f9be-4487-8190-7904a4d56ba5"},{"name":"Delete Student Enrollment by Enrollment ID","id":"b939566c-3127-4d13-b8fe-30b9a1148d86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/studentEnrollments/{Enrollment ID}","description":"<h3>URI Parameter:</h3>\nenrollmentID: String    ex:260000-ECSE-321-W19","urlObject":{"protocol":"http","path":["studentEnrollments","{Enrollment ID}"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b939566c-3127-4d13-b8fe-30b9a1148d86"},{"name":"Delete Course by Course Code","id":"a4510833-514a-43c2-a940-0be03e38aab2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/coopCourses/{Course Code}","description":"<h3>URI Parameter:</h3>\ncourseCode: String  ex:ECSE-321","urlObject":{"protocol":"http","path":["coopCourses","{Course Code}"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4510833-514a-43c2-a940-0be03e38aab2"},{"name":"Delete Employer by Email","id":"accebb68-bf8a-414e-b834-85a0dd0ef994","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/employers/{email}","description":"<h3>URI Parameter:</h3>\nemail: string   ex:google@gmail.com","urlObject":{"protocol":"http","path":["employers","{email}"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"accebb68-bf8a-414e-b834-85a0dd0ef994"},{"name":"Delete Offering By Offer ID","id":"b72c29dd-b5fa-4546-8a2a-62481fb7ed5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/coopCourseOfferings/{Offer ID}","description":"<h3>URI Parameter:</h3>\nofferID: String ex:ECSE-321-W19","urlObject":{"protocol":"http","path":["coopCourseOfferings","{Offer ID}"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b72c29dd-b5fa-4546-8a2a-62481fb7ed5f"},{"name":"Delete Task by ID","id":"f47e4e89-e5f4-41af-9122-a6b420f19be0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/tasks/{Task ID}","description":"<h3>URI Parameter:</h3>\ntaskID: Long","urlObject":{"protocol":"http","path":["tasks","{Task ID}"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f47e4e89-e5f4-41af-9122-a6b420f19be0"},{"name":"Delete Document By ID","id":"addf721f-723f-4e85-966c-beaf22f999d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://cooperator-backend-0000.herokuapp.com/documents/{Document ID}","description":"<h3>URI Parameter:</h3>\ndocumentID: Long","urlObject":{"protocol":"http","path":["documents","{Document ID}"],"host":["cooperator-backend-0000","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"addf721f-723f-4e85-966c-beaf22f999d9"}],"event":[{"listen":"prerequest","script":{"id":"8f13e1cf-a55b-4a2c-ac3b-6b07124c9a0f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dd930737-b7a0-4a67-ab34-4335e6c719ae","type":"text/javascript","exec":[""]}}]}