{"info":{"_postman_id":"403b1331-0f3d-4ad9-9c23-c9b20f90dff6","name":"School","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"3829411","collectionId":"403b1331-0f3d-4ad9-9c23-c9b20f90dff6","publishedId":"RW1XN2ji","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2018-04-24T10:05:45.000Z"},"item":[{"name":"Add Teacher","id":"8c94892f-9203-40f0-bd01-7cd33e826617","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \"firstName\" : \"Johen\",  \"lastName\" : \"Trave\", \"birth\": \"1970-12-03\", \"password\":\"22222\", \"email\": \"aaa@qssd.com\", \"gender\": \"F\",\"userName\" : \"john86\"}\r\n"},"url":"http://localhost:8080/teachers","urlObject":{"protocol":"http","port":"8080","path":["teachers"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8c94892f-9203-40f0-bd01-7cd33e826617"},{"name":"Add Admin","id":"f5a421da-36ce-2589-3994-1664807ae8e8","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \"firstName\" : \"Malin\",  \"lastName\" : \"MU\", \"birth\": \"1980-12-03\", \"password\":\"22222\", \"email\": \"aaa@qssd.com\", \"gender\": \"F\",\"userName\" : \"admin\"}\r\n"},"url":"http://localhost:8080/teachers","urlObject":{"protocol":"http","port":"8080","path":["teachers"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5a421da-36ce-2589-3994-1664807ae8e8"},{"name":"Edit Teacher","id":"5ddb3c5c-45a2-fca1-55f8-3582b0597464","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{  \"firstName\" : \"Frodo\",  \"lastName\" : \"Baggins\" }\r\n"},"url":"http://localhost:8080/teachers","urlObject":{"protocol":"http","port":"8080","path":["teachers"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ddb3c5c-45a2-fca1-55f8-3582b0597464"},{"name":"Del Teacher","id":"2fc83e90-8c9a-d5d2-6ac0-5dda8e59c222","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{  \"firstName\" : \"Frodo\",  \"lastName\" : \"Baggins\" }\r\n"},"url":"http://localhost:8080/teachers","urlObject":{"protocol":"http","port":"8080","path":["teachers"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2fc83e90-8c9a-d5d2-6ac0-5dda8e59c222"},{"name":"Add Student","id":"9de2a180-5ffb-ad81-ac74-eb7be7f6d5c7","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \"firstName\" : \"Omar\",  \"lastName\" : \"MH\", \"birth\": \"2007-12-03\", \"password\":\"22222\", \"email\": \"omar@wpmeal.com\", \"gender\": \"F\",\"userName\" : \"omar86\"}\r\n"},"url":"http://localhost:8080/students/","urlObject":{"protocol":"http","port":"8080","path":["students",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9de2a180-5ffb-ad81-ac74-eb7be7f6d5c7"},{"name":"Del Contact Info","id":"d431d68c-ab2b-45c0-b2cc-cf139a718918","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{  \"address\" : \"Stockholm\",  \"phone\" : \"458423\" }\r\n"},"url":"http://localhost:8080/users/1/contactInfo","urlObject":{"protocol":"http","port":"8080","path":["users","1","contactInfo"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d431d68c-ab2b-45c0-b2cc-cf139a718918"},{"name":"EditContact Info","id":"5f88fad5-5c7c-4ea2-c915-c2aded3d7d26","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{  \"Address\" : \"Vaxjo\",  \"phone\" : \"3712585\" }\r\n"},"url":"http://localhost:8080/users/1/contactInfo","urlObject":{"protocol":"http","port":"8080","path":["users","1","contactInfo"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f88fad5-5c7c-4ea2-c915-c2aded3d7d26"},{"name":"Add Contact Info","id":"5b202c03-0dbb-bde0-f7a8-b31233de8219","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{  \"Address\" : \"Vaxjo\",  \"phone\" : \"3712585\" }\r\n"},"url":"http://localhost:8080/users/1/contactInfo","urlObject":{"protocol":"http","port":"8080","path":["users","1","contactInfo"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b202c03-0dbb-bde0-f7a8-b31233de8219"},{"name":"Add Course","id":"99bbebb5-1b3c-c0ec-9a29-f83077d08cb6","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{  \"description\": \"Introduction to Programming \",\n  \"name\": \"JAVA SE 8\",\n  \"startDate\": \"2018-03-15\",\n  \"endDate\": \"2018-06-15\"\n}"},"url":"http://localhost:8080/courses","urlObject":{"protocol":"http","port":"8080","path":["courses"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"99bbebb5-1b3c-c0ec-9a29-f83077d08cb6"},{"name":"Add Teacher To Course","id":"d576119e-5555-e5ff-53f8-1ed5d5c80eab","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{  \"description\": \"Introduction to Programming \",\n  \"name\": \"JAVA SE 8\",\n  \"startDate\": \"2018-03-15\",\n  \"endDate\": \"2018-06-15\"\n}"},"url":"http://localhost:8080/courses/1/teachers/1","urlObject":{"protocol":"http","port":"8080","path":["courses","1","teachers","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d576119e-5555-e5ff-53f8-1ed5d5c80eab"},{"name":"Add Student To Course","id":"3b61f06a-4c5b-2b66-fd14-b4ca42a92c0d","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:8080/courses/1/students/1","urlObject":{"protocol":"http","port":"8080","path":["courses","1","students","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b61f06a-4c5b-2b66-fd14-b4ca42a92c0d"},{"name":"Add Lecture To Course ","id":"ff38b062-358f-495b-cdf2-0bbe831c9d75","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:8080/courses/1/lectures/1","urlObject":{"protocol":"http","port":"8080","path":["courses","1","lectures","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ff38b062-358f-495b-cdf2-0bbe831c9d75"},{"name":"Add Assignment To Course","id":"2fdacc0c-ed43-75c1-5201-90d7dd9a486b","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:8080/courses/1/lectures/1","urlObject":{"protocol":"http","port":"8080","path":["courses","1","lectures","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2fdacc0c-ed43-75c1-5201-90d7dd9a486b"},{"name":"Edit Course","id":"b2cccd03-f1e6-21eb-3187-482dc33782ab","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{  \"description\": \"Introduction to Programming \",\n  \"name\": \"JAVA SE 8\",\n  \"startDate\": \"2018-03-15\",\n  \"endDate\": \"2018-06-15\"\n}"},"url":"http://localhost:8080/courses","urlObject":{"protocol":"http","port":"8080","path":["courses"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b2cccd03-f1e6-21eb-3187-482dc33782ab"},{"name":"Del Course","id":"66773c65-e779-1993-4ff5-9c9b24df5274","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{  \"description\": \"Introduction to Programming \",\n  \"name\": \"JAVA SE 8\",\n  \"startDate\": \"2018-03-15\",\n  \"endDate\": \"2018-06-15\"\n}"},"url":"http://localhost:8080/courses","urlObject":{"protocol":"http","port":"8080","path":["courses"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"66773c65-e779-1993-4ff5-9c9b24df5274"},{"name":"Add Lecture","id":"a71fa868-1dad-be1b-6e6a-eb486cbea356","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{  \"title\": \"Set Up JAVA Enviroment\",\n  \"Content\": \"Step By Step To setu up java\",\n  \"timeOfLecture\": \"2018-03-15\",\n  \"room\": \"2C\"\n}"},"url":"http://localhost:8080/lectures","urlObject":{"protocol":"http","port":"8080","path":["lectures"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a71fa868-1dad-be1b-6e6a-eb486cbea356"},{"name":"Add Result","id":"3a841dcf-b36b-1909-ce58-e95c040f1128","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{  \"grade\": \"60\",\n  \"evaluation\":\"COMPLETED\"\n}"},"url":"http://localhost:8080/results","urlObject":{"protocol":"http","port":"8080","path":["results"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a841dcf-b36b-1909-ce58-e95c040f1128"},{"name":"Edit Result","id":"59465e36-934a-86e7-c5a3-bc691000fb5b","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{  \n   \"grade\": \"11.33\",\n   \"evaluation\": \"FAIL\"\n\n}"},"url":"http://localhost:8080/results/3","urlObject":{"protocol":"http","port":"8080","path":["results","3"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"59465e36-934a-86e7-c5a3-bc691000fb5b"},{"name":"Add Lecture copy","id":"2aa963a7-14f5-12aa-5d11-15d7fb2102d6","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{  \"name\": \"OCA Exam\",\n  \"description\": \"Oracle Certified Association\",\n  \"deadLine\": \"2018-03-15\",\n  \"course\":{\n  \t\"courseId\": \"1\",\n  }\n\n}"},"url":"http://localhost:8080/assignments","urlObject":{"protocol":"http","port":"8080","path":["assignments"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2aa963a7-14f5-12aa-5d11-15d7fb2102d6"},{"name":"Add Calender Data","id":"2dd58fbf-0ebc-6fb3-5ae8-5dadddd3aa18","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{  \n  \"startDate\": \"2007-12-03T10:15:30\",\n  \"endDate\": \"2007-12-03T12:15:30\",\n  \"dayOfWeek\":\"MONDAY\"\n\n}"},"url":"http://localhost:8080/calenders","urlObject":{"protocol":"http","port":"8080","path":["calenders"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2dd58fbf-0ebc-6fb3-5ae8-5dadddd3aa18"},{"name":"Add Assignment","id":"216beef7-cc33-e7f9-eaf2-c8c842eded4d","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{  \"name\": \"OCP Exam\",\n  \"description\": \"Oracle Certified Association\",\n  \"deadLine\": \"2018-03-15\"\n \n\n}"},"url":"http://localhost:8080/assignments/1","urlObject":{"protocol":"http","port":"8080","path":["assignments","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"216beef7-cc33-e7f9-eaf2-c8c842eded4d"},{"name":"Del Assignment","id":"c2800651-9c59-9a48-c99e-2311364a99a2","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:8080/assignments/1","urlObject":{"protocol":"http","port":"8080","path":["assignments","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c2800651-9c59-9a48-c99e-2311364a99a2"},{"name":"Add Result  To Assignment","id":"667e6b21-d37f-82b2-f67d-8a58bf7fa0c1","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:8080/assignments/2/results/6","urlObject":{"protocol":"http","port":"8080","path":["assignments","2","results","6"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"667e6b21-d37f-82b2-f67d-8a58bf7fa0c1"},{"name":"Delete Result  from Assignment","id":"502c6c0c-537d-a335-95b4-029bf60f0638","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:8080/assignments/1/results/1","urlObject":{"protocol":"http","port":"8080","path":["assignments","1","results","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"502c6c0c-537d-a335-95b4-029bf60f0638"},{"name":"Add Student To Result","id":"af456023-6a91-7372-eb4e-18d36ca1d516","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:8080/results/2/student/1","urlObject":{"protocol":"http","port":"8080","path":["results","2","student","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"af456023-6a91-7372-eb4e-18d36ca1d516"},{"name":"Delete Lecture From Calender","id":"0fa36e74-a15a-e5fa-eb4e-3c0c167adf3d","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:8080/calenders/1/lectures/1","urlObject":{"protocol":"http","port":"8080","path":["calenders","1","lectures","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0fa36e74-a15a-e5fa-eb4e-3c0c167adf3d"},{"name":"Add Lecture To Calender","id":"6e22e3b9-b03f-504c-b8e2-cd0e73c82a68","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:8080/calenders/1/lectures/1","urlObject":{"protocol":"http","port":"8080","path":["calenders","1","lectures","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e22e3b9-b03f-504c-b8e2-cd0e73c82a68"},{"name":"Delete Student from Result","id":"7759b416-2da6-5a00-f0cc-f3f2e702fd52","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:8080/results/1/student/1","urlObject":{"protocol":"http","port":"8080","path":["results","1","student","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7759b416-2da6-5a00-f0cc-f3f2e702fd52"}]}