{"info":{"_postman_id":"d8ec0421-d251-49c7-b555-e0da0332e7b7","name":"LabenuSystem","description":"<html><head></head><body><p>As funcionalidades são:<br>→ Criar estudante;<br>→ Criar docente;<br>→ Criar turma;<br>→ Adicionar estudante na turma;<br>→ Adicionar docente na turma;<br>→ Pegar a idade de algum estudante a partir do id;<br>→ Exibir estudantes de uma turma;<br>→ Exibir docentes de uma turma;<br>→ Exibir estudantes que possuam os mesmos hobbies;<br>→ Remover estudante de uma turma;<br>→ Remover estudante;<br>→ Remover docente de uma turma;<br>→ Mudar estudante de turma;  </p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"14148928","collectionId":"d8ec0421-d251-49c7-b555-e0da0332e7b7","publishedId":"TzCMe8Jy","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-03-31T15:27:22.000Z"},"item":[{"name":"CRIAR estudante","id":"9b7c93e7-d8fe-46bf-a5bf-0464eeef45cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"user\",\r\n    \"email\": \"user@labenu.com.br\",\r\n    \"birthdate\": \"01/01/2000\" \r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/student/create","description":"<p>Cria um estudante no banco de dados.</p>\n","urlObject":{"path":["student","create"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b7c93e7-d8fe-46bf-a5bf-0464eeef45cf"},{"name":"CRIAR professor","id":"d6bdc17a-945a-47c2-a78a-8e75d43c1c42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"user\",\r\n    \"email\": \"user@labenu.com.br\",\r\n    \"birthdate\": \"01/01/2000\" \r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/teacher/create","description":"<p>Cria um professor no banco de dados.</p>\n","urlObject":{"path":["teacher","create"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d6bdc17a-945a-47c2-a78a-8e75d43c1c42"},{"name":"CRIAR hobby","id":"0ab90a7b-1ea6-4bd4-8054-3c7fec78a027","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"codar\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/hobby/create","description":"<p>Atribui um hobby a um estudante.</p>\n","urlObject":{"path":["hobby","create"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0ab90a7b-1ea6-4bd4-8054-3c7fec78a027"},{"name":"CRIAR especialidade","id":"e58f4f9b-5415-4b93-b952-c569c63d5a43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"React\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/speciality/create","description":"<p>Atribui uma especialidade a um professor.</p>\n","urlObject":{"path":["speciality","create"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e58f4f9b-5415-4b93-b952-c569c63d5a43"},{"name":"CRIAR turma","id":"6a4cc037-2da2-4286-851c-9157ea5f11d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Muñoz\",\r\n    \"period\": \"Noturno\",\r\n    \"startDate\": \"30/02/2020\",\r\n    \"endDate\": \"31/10/2021\",\r\n    \"module\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/class/create","description":"<p>Cria uma turma no banco de dados do LabeSystem. O campo \"period\" pode receber os valores: \"integral\" ou \"noturno\".</p>\n","urlObject":{"path":["class","create"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a4cc037-2da2-4286-851c-9157ea5f11d9"},{"name":"ATRIBUIR turma a estudante","id":"33b0379c-c7eb-4a17-95bf-f53525fab5e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"classId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/student/class/assign","description":"<p>Atribui uma turma a um estudante.</p>\n","urlObject":{"path":["student","class","assign"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"33b0379c-c7eb-4a17-95bf-f53525fab5e6"},{"name":"ATRIBUIR turma a um professor","id":"e8da5bcf-03e0-4130-9364-434317dd813e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"classId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/teacher/class/assign","description":"<p>Atribui uma turma a um professor.</p>\n","urlObject":{"path":["teacher","class","assign"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8da5bcf-03e0-4130-9364-434317dd813e"},{"name":"ATRIBUIR hobby a estudante","id":"b26dc88f-af62-47b3-a77e-da9fed38b346","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"hobbyId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/student/hobby/assign","description":"<p>Atribuir um hobby a um estudante.</p>\n","urlObject":{"path":["student","hobby","assign"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b26dc88f-af62-47b3-a77e-da9fed38b346"},{"name":"ATRIBUIR especialidade a professor","id":"d9c63e4f-ce9e-43a0-9bdb-4ac51436ba58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"specialityId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/teacher/speciality/assign","description":"<p>Atribuir uma especialidade a um professor.</p>\n","urlObject":{"path":["teacher","speciality","assign"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9c63e4f-ce9e-43a0-9bdb-4ac51436ba58"},{"name":"RETORNAR estudante ","id":"d301cb97-cc18-455b-90ad-78dc0ff4c387","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/student/:id","description":"<p>Retorna estudante por id.</p>\n","urlObject":{"path":["student",":id"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"d301cb97-cc18-455b-90ad-78dc0ff4c387"},{"name":"LISTAR estudantes de uma turma","id":"4290647f-27de-4898-b908-a71ce6db85ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/student/list/:classId","description":"<p>Listar os estudantes de uma turma específica.</p>\n","urlObject":{"path":["student","list",":classId"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"","key":"classId"}]}},"response":[],"_postman_id":"4290647f-27de-4898-b908-a71ce6db85ea"},{"name":"LISTAR professores de um turma","id":"3d85d281-42aa-4c4b-a47e-165e92488c74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint}}/teacher/list/:classId","description":"<p>Listar todos os professores de uma turma específica.</p>\n","urlObject":{"path":["teacher","list",":classId"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"","key":"classId"}]}},"response":[],"_postman_id":"3d85d281-42aa-4c4b-a47e-165e92488c74"},{"name":"ALTERAR módulo da turma","id":"b4ff8a02-2b66-4733-93ba-328e68ae04f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"module\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/class/module/edit","description":"<p>Altera o módulo de uma turma específica. </p>\n","urlObject":{"path":["class","module","edit"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4ff8a02-2b66-4733-93ba-328e68ae04f3"},{"name":"ALTERAR turma do aluno","id":"58795ddb-b11e-4743-b074-bdf1ab0beb92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"classId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/student/class/edit","description":"<p>Altera a turma em que o aluno está registrado.</p>\n","urlObject":{"path":["student","class","edit"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"58795ddb-b11e-4743-b074-bdf1ab0beb92"},{"name":"ALTERAR turma do professor ","id":"d6a13a15-d148-4eff-91bc-05d99e8a9d97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"classId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/teacher/class/edit","description":"<p>Altera a turma em que o professor está registrado.</p>\n","urlObject":{"path":["teacher","class","edit"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d6a13a15-d148-4eff-91bc-05d99e8a9d97"},{"name":"REMOVER estudante da base de dados","id":"bda60571-4fca-4f6e-9338-231686164408","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/student/:id/delete","description":"<p>Remove um estudante da database do LabeSystem.</p>\n","urlObject":{"path":["student",":id","delete"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"bda60571-4fca-4f6e-9338-231686164408"},{"name":"REMOVER professor da base de dados","id":"d43a2670-9edc-4918-84ae-fa570b738a7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/teacher/:id/delete","description":"<p>Remove um professor da database do LabeSystem.</p>\n","urlObject":{"path":["teacher",":id","delete"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"d43a2670-9edc-4918-84ae-fa570b738a7a"},{"name":"REMOVER estudante de uma turma","id":"ed744fe0-dd5b-4f35-b330-ee7556976d1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/student/:id/class/:classId/delete","description":"<p>Remove estudante de uma turma específica.</p>\n","urlObject":{"path":["student",":id","class",":classId","delete"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"},{"type":"any","value":"","key":"classId"}]}},"response":[],"_postman_id":"ed744fe0-dd5b-4f35-b330-ee7556976d1d"},{"name":"REMOVER professor de uma turma ","id":"fc599b1a-dd0b-4398-92ff-59250270bc77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/teacher/:id/class/:classId/delete","description":"<p>Remove professor de uma turma específica.</p>\n","urlObject":{"path":["teacher",":id","class",":classId","delete"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"},{"type":"any","value":"","key":"classId"}]}},"response":[],"_postman_id":"fc599b1a-dd0b-4398-92ff-59250270bc77"}],"event":[{"listen":"prerequest","script":{"id":"b8dbf1bf-c47b-4e30-b532-4a40ee68f4b3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c9b50b75-6259-44bf-a2f8-8ce9aa708981","type":"text/javascript","exec":[""]}}]}