{"info":{"_postman_id":"c152b3b6-17c8-4ee8-af44-4cb654761d20","name":"ONKO","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"signin","id":"174968d6-0713-49e4-b70b-335578c06c37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\"email\":\"admin@gmail.com\",\r\n\"password\":\"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"192.168.1.29:3000/api/signin"},"response":[],"_postman_id":"174968d6-0713-49e4-b70b-335578c06c37"},{"name":"questionList","id":"adc3f727-5c7f-4a85-8247-3060c1c7b0db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZTQxNTcwOGJlNDZiZTEwZWNiNDMxMzYiLCJuYW1lIjoidGFwYW4gcmF3YWwiLCJlbWFpbCI6ImFkbWluQGdtYWlsLmNvbSIsInBhc3N3b3JkIjoiJDJhJDEwJGFZaFV2b0hRMHlnMlkwVjdnYTZIYWV4VTgzLkQ3UTZzMVVqYXRrZmpRLlRGM3Z5M0o1TjRPIiwiYWdlIjoyMSwiZ2VuZGVyIjoiTSIsInN5c3RlbUlwIjoiMTAzLjEyMy4yLjIiLCJ0aW1lc3RhbXBzIjoiMjAyMC0wMi0xMFQxMzoxMzo0NC43MTFaIiwiX192IjowLCJpYXQiOjE1ODIxNzg4MjUsImV4cCI6MzE2NDQ0NDA1MH0.D4E2HNHBMIm8tzobHcGxTRs7AMlUZkdYvVqcurix2kI","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"category\":\"General\",\n\t\"subCategory\":\"General\",\n\t\"seqNo\":1\n}","options":{"raw":{"language":"json"}}},"url":"192.168.1.29:3000/api/questionList","description":"lastQuestionsection : if lastQuestionsection is true then after that call score api\nquestiontype :      which type of question, using question type ui should be show"},"response":[],"_postman_id":"adc3f727-5c7f-4a85-8247-3060c1c7b0db"},{"name":"questionAdd","id":"43ddf423-e269-4fad-914c-dd75c282f18e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\"category\":\"Lifestyle\",\r\n\"subCategory\":\"Lifestyle\",\r\n\"questiontype\":\"\",\r\n\"formulaId\":1,\r\n\"scoringMethod\":false,\r\n\"lastQuestionsection\":false,\r\n\"question\":[{\"question\":\"During the past week, have you had any trouble sleeping?\",\r\n\"questionDes\":\"wholegrains\",\r\n\"answer\":[{\"key\":\"0\", \"val\" : \"Not all\"},{\"key\":\"1\", \"val\" : \"A bit\"},{\"key\":\"2\", \"val\" : \"Quite a bit\"},{\"key\":\"3\", \"val\" : \"A lot\"}]\r\n}]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://122.168.127.157:9001/api/questionAdd","description":"add question"},"response":[],"_postman_id":"43ddf423-e269-4fad-914c-dd75c282f18e"},{"name":"physicalScoreCategories","id":"667221a4-9db4-4501-8a37-5de4cb922fb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"category\":\"Physical\",\r\n\t\"subCategory\":\"Frailty\",\r\n\t\"questionId\":\"5e4d2d604dbde01cdc38574e\",\r\n    \"perPost\":false,\r\n    \"score\":\"0\",\r\n    \"scoreCategories\":\"0\",\r\n    \"patientCategory\":\"Post treatment\",\r\n    \"response\":\"Hello {name], it looks like you are physically frail. People who are frail often find it takes longer to recover and this can affect their quality of life.  The good news is that with a little bit of help  you can  feel  stronger. Aftre 6 weeks of a muscle strengthening exercise programme one of my patients got rid of his walking stick alltogether!\",\r\n    \"adviceAttached\":[],\r\n    \"link\":[]\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:3000/api/physicalScoreCategories"},"response":[],"_postman_id":"667221a4-9db4-4501-8a37-5de4cb922fb5"},{"name":"signout","id":"3c7e45b5-50f7-4d34-a301-0ce9bef41b22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZTQwZTViNWNmN2Y1MzA4NjBlZWY1NzAiLCJ1c2VybmFtZSI6InRhcGFuIiwiaWF0IjoxNTgxMzIwMjgzfQ.r7GcaFEPW13H_qe_-Tvy2V4_MhpLVZ1Xx4A6eofDH6Q","type":"text"}],"url":"localhost:3000/api/signout"},"response":[],"_postman_id":"3c7e45b5-50f7-4d34-a301-0ce9bef41b22"},{"name":"questionUpdate","id":"2cbf30e0-bc2c-4026-b96b-826a73ac5115","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"authorization","value":"JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZTQwZTViNWNmN2Y1MzA4NjBlZWY1NzAiLCJ1c2VybmFtZSI6InRhcGFuIiwiaWF0IjoxNTgxMzIwMjgzfQ.r7GcaFEPW13H_qe_-Tvy2V4_MhpLVZ1Xx4A6eofDH6Q","type":"text"},{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\"question\":[{\"question\":\"In the past week, on how many days did you engage in moderate* intensity physical activities ? \",\"questionDes\":\"test update\",\"answer\":[{\"key\":\"0\",\"val\":\"0\"},{\"key\":\"1\",\"val\":\"1\"},{\"key\":\"2\",\"val\":\"2\"},{\"key\":\"3\",\"val\":\"3\"},{\"key\":\"4\",\"val\":\"4\"},{\"key\":\"5\",\"val\":\">5\"}]}],\"formulaId\":1,\"lastQuestionsection\":false,\"_id\":\"5e4d2d604dbde01cdc38574e\",\"category\":\"Physical\",\"subCategory\":\"Moderate acitvity\",\"questiontype\":\"progersSlider\",\"scoringMethod\":true,\"seqNo\":1,\"timestamps\":\"2020-02-19T12:43:12.565Z\",\"__v\":0}","options":{"raw":{"language":"json"}}},"url":"localhost:3000/api/questionUpdate"},"response":[],"_postman_id":"2cbf30e0-bc2c-4026-b96b-826a73ac5115"},{"name":"signup","id":"50417c3b-4d3f-4217-aa76-1bf20697667a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n\t\"name\":\"test\",\r\n\t\"email\":\"test12@gmail.com\",\r\n\t\"password\":\"\",\r\n\t\"gender\":\"M\",\r\n\t\"age\":21,\r\n\t\"systemIp\":\"192.168.1.1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:3000/api/signup"},"response":[],"_postman_id":"50417c3b-4d3f-4217-aa76-1bf20697667a"},{"name":"submitAns","id":"08d34206-fc97-4821-b352-101038f52a4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"authorization","type":"text","value":"JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZTQxNTcwOGJlNDZiZTEwZWNiNDMxMzYiLCJuYW1lIjoidGFwYW4gcmF3YWwiLCJlbWFpbCI6ImFkbWluQGdtYWlsLmNvbSIsInBhc3N3b3JkIjoiJDJhJDEwJGFZaFV2b0hRMHlnMlkwVjdnYTZIYWV4VTgzLkQ3UTZzMVVqYXRrZmpRLlRGM3Z5M0o1TjRPIiwiYWdlIjoyMSwiZ2VuZGVyIjoiTSIsInN5c3RlbUlwIjoiMTAzLjEyMy4yLjIiLCJ0aW1lc3RhbXBzIjoiMjAyMC0wMi0xMFQxMzoxMzo0NC43MTFaIiwiX192IjowLCJpYXQiOjE1ODIxNzg4MjUsImV4cCI6MzE2NDQ0NDA1MH0.D4E2HNHBMIm8tzobHcGxTRs7AMlUZkdYvVqcurix2kI"}],"body":{"mode":"raw","raw":"{\r\n\"questionId\":\"5e5cd28231cbba1278fdd660\",\r\n\"unikeyId\":\"1583143914410.8047\",\r\n\"category\": \"General\",\r\n \"subCategory\": \"General\",\r\n\"answer\":\"5\",\r\n\"questionslug\":100,\r\n\"formulaId\":1,\r\n\"scoringMethod\":false\r\n}","options":{"raw":{"language":"json"}}},"url":"192.168.1.29:3000/api/submitAns"},"response":[],"_postman_id":"08d34206-fc97-4821-b352-101038f52a4e"},{"name":"getPreviousAns","id":"7667c792-764c-4da6-ab03-5a987ab644ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZTQxNTcwOGJlNDZiZTEwZWNiNDMxMzYiLCJuYW1lIjoidGFwYW4gcmF3YWwiLCJlbWFpbCI6ImFkbWluQGdtYWlsLmNvbSIsInBhc3N3b3JkIjoiJDJhJDEwJGFZaFV2b0hRMHlnMlkwVjdnYTZIYWV4VTgzLkQ3UTZzMVVqYXRrZmpRLlRGM3Z5M0o1TjRPIiwiYWdlIjoyMSwiZ2VuZGVyIjoiTSIsInN5c3RlbUlwIjoiMTAzLjEyMy4yLjIiLCJ0aW1lc3RhbXBzIjoiMjAyMC0wMi0xMFQxMzoxMzo0NC43MTFaIiwiX192IjowLCJpYXQiOjE1ODIxNzg4MjUsImV4cCI6MzE2NDQ0NDA1MH0.D4E2HNHBMIm8tzobHcGxTRs7AMlUZkdYvVqcurix2kI","type":"text"},{"key":"","value":"","type":"text","disabled":true},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\"questionId\":\"5e58dca4b5e8c9429812be59\",\r\n\"unikeyId\":\"1234\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"192.168.1.29:3000/api/getPreviousAns"},"response":[],"_postman_id":"7667c792-764c-4da6-ab03-5a987ab644ed"},{"name":"getPhysicalResult","id":"82bdf627-e10d-4420-a8be-b0e2032c848b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"authorization","value":"JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZTQxNTcwOGJlNDZiZTEwZWNiNDMxMzYiLCJuYW1lIjoidGFwYW4gcmF3YWwiLCJlbWFpbCI6ImFkbWluQGdtYWlsLmNvbSIsInBhc3N3b3JkIjoiJDJhJDEwJGFZaFV2b0hRMHlnMlkwVjdnYTZIYWV4VTgzLkQ3UTZzMVVqYXRrZmpRLlRGM3Z5M0o1TjRPIiwiYWdlIjoyMSwiZ2VuZGVyIjoiTSIsInN5c3RlbUlwIjoiMTAzLjEyMy4yLjIiLCJ0aW1lc3RhbXBzIjoiMjAyMC0wMi0xMFQxMzoxMzo0NC43MTFaIiwiX192IjowLCJpYXQiOjE1ODIxNzg4MjUsImV4cCI6MzE2NDQ0NDA1MH0.D4E2HNHBMIm8tzobHcGxTRs7AMlUZkdYvVqcurix2kI","type":"text"}],"body":{"mode":"raw","raw":"{\"userId\":\"5e625b7d381dd338ac2f4df6\",\"unikeyId\":1583504212354.2834,\"patientCategory\":\"Post treatment\"}","options":{"raw":{"language":"json"}}},"url":"192.168.1.29:3000/api/getPhysicalResult"},"response":[],"_postman_id":"82bdf627-e10d-4420-a8be-b0e2032c848b"},{"name":"changePassword","id":"b6c3aac3-c062-4bbc-b789-7e0444e15f9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"authorization","value":"JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZTQxNTcwOGJlNDZiZTEwZWNiNDMxMzYiLCJuYW1lIjoidGFwYW4gcmF3YWwiLCJlbWFpbCI6ImFkbWluQGdtYWlsLmNvbSIsInBhc3N3b3JkIjoiJDJhJDEwJGFZaFV2b0hRMHlnMlkwVjdnYTZIYWV4VTgzLkQ3UTZzMVVqYXRrZmpRLlRGM3Z5M0o1TjRPIiwiYWdlIjoyMSwiZ2VuZGVyIjoiTSIsInN5c3RlbUlwIjoiMTAzLjEyMy4yLjIiLCJ0aW1lc3RhbXBzIjoiMjAyMC0wMi0xMFQxMzoxMzo0NC43MTFaIiwiX192IjowLCJpYXQiOjE1ODM3Mzg4OTMsImV4cCI6MzE2NzU2NDE4Nn0.auXR5Ude3YCONryEHrmgQ51KXxhyb5c0k9G8-KGMpzI","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"password\":\"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"192.168.1.29:3000/api/changePassword"},"response":[],"_postman_id":"b6c3aac3-c062-4bbc-b789-7e0444e15f9c"}]}