{"info":{"_postman_id":"32931bb1-ac17-4f4c-8c73-903d7ac52d9c","name":"Tangent solutions","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"6415993","collectionId":"32931bb1-ac17-4f4c-8c73-903d7ac52d9c","publishedId":"SVSBxYxC","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-07-05T11:08:20.000Z"},"item":[{"name":"view leaves","id":"8f386339-792c-4885-a7b1-6c8b8fc8c9be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"{{API_URL}}/leave","description":"<p>view all leaves in the datebase</p>\n","urlObject":{"path":["leave"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"fc61146f-7d0f-4a19-a5a8-49ca2d51fafc","name":"Default","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://127.0.0.1:5000/leave"},"code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":""}],"_postman_id":"8f386339-792c-4885-a7b1-6c8b8fc8c9be"},{"name":"approve leave","id":"e5dbd95f-fb9a-4151-9dc5-df3f0cd96555","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":""},"url":"{{API_URL}}/id/status","description":"<p>get leave if and change status</p>\n","urlObject":{"path":["id","status"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[{"id":"e3e8e499-1c5e-4c08-9363-44da552979e3","name":"Default","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://127.0.0.1:5000/id/status"},"code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":""}],"_postman_id":"e5dbd95f-fb9a-4151-9dc5-df3f0cd96555"},{"name":"create employee","id":"f3456d69-0e56-474f-93b3-aea6c2dd0648","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"emp_number\":\"TS1934\",\n\t\"phone_number\":\"092322343223\",\n\t\"first_name\":\"kyle\",\n\t\"last_name\":\"kyle\"\n}"},"url":"{{API_URL}}/user","urlObject":{"path":["user"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f3456d69-0e56-474f-93b3-aea6c2dd0648"},{"name":"create leave","id":"81091c26-044c-4257-8d57-38fdf22c6a13","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\"emp_number\": \"TS1934\",\r\n\t\"start_date\": \"2011-01-03\",\r\n\t\"end_date\": \"2012-01-03\",\r\n\t\"days_of_leave\": 10\r\n}"},"url":"{{API_URL}}/leave","urlObject":{"path":["leave"],"host":["{{API_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"81091c26-044c-4257-8d57-38fdf22c6a13"}]}