{"info":{"_postman_id":"dcbec258-4d9c-48e1-a5ab-3740a43c1b26","name":"Insurance App (IPMS)","description":"<html><head></head><body><p>This contains all the ways to edit the database through Restful APi's</p>\n<p>The endpoints are protected through out the whole app - to be able to use all the API's you need the cookie that contains the authorized user. You can get this cookie from performing the Users Login user API</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"33636476","collectionId":"dcbec258-4d9c-48e1-a5ab-3740a43c1b26","publishedId":"2sA3Bj7tKf","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-04-14T21:15:29.000Z"},"item":[{"name":"Users","item":[{"name":"login a user","id":"dc7cae60-0b17-4d24-ba94-885b13ac4265","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"0101165412342\",\r\n    \"password\":\"password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/users/login_user_api","description":"<p>Requires a id and password</p>\n","urlObject":{"protocol":"http","port":"5000","path":["users","login_user_api"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"dc7cae60-0b17-4d24-ba94-885b13ac4265"},{"name":"Get all Users","id":"59718228-3317-4fd3-aba3-62abc02459b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/users/","description":"<p>This gets all users</p>\n","urlObject":{"protocol":"http","port":"5000","path":["users",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"59718228-3317-4fd3-aba3-62abc02459b0"},{"name":"Get user by ID","id":"51c3a2fa-facf-4f53-a7d9-f0490c56b4c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/users/0101165412342","description":"<p>passs the user id and get the id</p>\n","urlObject":{"protocol":"http","port":"5000","path":["users","0101165412342"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"51c3a2fa-facf-4f53-a7d9-f0490c56b4c1"},{"name":"Add new User","id":"0bd33300-aa46-4fda-9f55-f123643f6ea2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"rashay.jcdaya@gmail.com1\",\r\n    \"ID\": \"0101165410083\",\r\n    \"name\": \"Rashay1\",\r\n    \"password\": \"Pass0111\",\r\n    \"surname\": \"Daya1\",\r\n    \"cell_no\": \"0832212345\" \r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/users/","description":"<p>Add a new user whish requires :</p>\n<p>ID, name, surname, password, cell_no</p>\n<p>It encrypts the password using a hash</p>\n","urlObject":{"protocol":"http","port":"5000","path":["users",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0bd33300-aa46-4fda-9f55-f123643f6ea2"},{"name":"Update User by ID","id":"6e502c08-f654-42c3-a3b6-b80697bfebe4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"cell_no\": \"0832221234\",\r\n    \"name\": \"Testing\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/users/0101165410083","description":"<p>Update any field in the user table. One canot add new fields</p>\n","urlObject":{"protocol":"http","port":"5000","path":["users","0101165410083"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e502c08-f654-42c3-a3b6-b80697bfebe4"},{"name":"Delete User by ID","id":"f479da51-9227-448d-9c97-d20e65641cd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:5000/users/0101165410083","description":"<p>Delete a user from the user ID</p>\n","urlObject":{"protocol":"http","port":"5000","path":["users","0101165410083"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f479da51-9227-448d-9c97-d20e65641cd1"}],"id":"3bc35ac4-f33f-498e-bfa8-0e22912ad89f","description":"<p>This allows one to preform actions on the Users table in the database.</p>\n","_postman_id":"3bc35ac4-f33f-498e-bfa8-0e22912ad89f"},{"name":"Classic Cars","item":[{"name":"Get all classic cars","id":"37ef6a01-af44-4be8-956a-54d6151a544a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/classic-car/","description":"<p>Displays all classic cars</p>\n","urlObject":{"protocol":"http","port":"5000","path":["classic-car",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"37ef6a01-af44-4be8-956a-54d6151a544a"},{"name":"Get single classic cars","id":"b2992691-5cb1-4e77-b0ca-c096dfb1db26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/classic-car/as1234-12asd13","description":"<p>get a single classic car from the vehicle_id</p>\n","urlObject":{"protocol":"http","port":"5000","path":["classic-car","as1234-12asd13"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b2992691-5cb1-4e77-b0ca-c096dfb1db26"},{"name":"Insert single classic cars","id":"cf81701b-0e85-42b0-95b1-8f98b80999fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"color\": \"black\",\r\n    \"current_value\": 4500000.0,\r\n    \"customer_id\": \"0101165412342\",\r\n    \"fuel_type\": \"Petrol\",\r\n    \"license_plate_number\": \"JCD008GP\",\r\n    \"model\": \"M Class\",\r\n    \"odometer_reading\": 246890,\r\n    \"policy_number\": null,\r\n    \"vehicle_id\": \"as1234-12asd14\",\r\n    \"vehicle_make\": \"Mercedes Benz\",\r\n    \"vin\": \"4JGAB54E1XA094195\",\r\n    \"year_model\": \"1999\",\r\n    \"year_purchased\": \"1999-02-01\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/classic-car/","description":"<p>Add a new classic car item with fields:</p>\n<ul>\n<li>vehicle_id</li>\n<li>vehicle_make</li>\n<li>model</li>\n<li>year_model</li>\n<li>vin</li>\n<li>license_plate_number</li>\n<li>odometer_reading</li>\n<li>fuel_type</li>\n<li>color</li>\n<li>customer_id</li>\n<li>current_value</li>\n<li>year_purchased</li>\n</ul>\n","urlObject":{"protocol":"http","port":"5000","path":["classic-car",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf81701b-0e85-42b0-95b1-8f98b80999fb"},{"name":"Update a single classic car","id":"290e2ae2-566f-4973-a926-31f2126accad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"color\": \"black\",\r\n    \"current_value\": 4600000.00\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/classic-car/as1234-12asd14","description":"<p>Update any valid field</p>\n","urlObject":{"protocol":"http","port":"5000","path":["classic-car","as1234-12asd14"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"290e2ae2-566f-4973-a926-31f2126accad"},{"name":"Delete a single classic car","id":"e2e0f53f-b27a-4a3a-bc45-f96cdef7f8cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:5000/classic-car/as1234-12asd14","description":"<p>Delete a single classic car</p>\n","urlObject":{"protocol":"http","port":"5000","path":["classic-car","as1234-12asd14"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e2e0f53f-b27a-4a3a-bc45-f96cdef7f8cf"}],"id":"022911ee-0baf-41b5-9901-9d42bc5a6401","description":"<p>Do CRUD operations using RESTFUL API's</p>\n","_postman_id":"022911ee-0baf-41b5-9901-9d42bc5a6401"},{"name":"Category","item":[{"name":"get all categories","id":"96c4ba6a-3a2e-49d0-800c-f1859d2f8d5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/category/","description":"<p>gets all the categories.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["category",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"96c4ba6a-3a2e-49d0-800c-f1859d2f8d5a"},{"name":"get a single category","id":"94423215-5966-44c1-b67f-3161f00ac15d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/category/1","description":"<p>Get a single category using the category ID</p>\n","urlObject":{"protocol":"http","port":"5000","path":["category","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"94423215-5966-44c1-b67f-3161f00ac15d"},{"name":"Insert a new category","id":"8fa9690e-8612-49af-9f74-7c78c3473b92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"category_desc\": \"antique/colletors Yaught/boat more than 25 years old and in good condition\",\r\n    \"category_name\": \"Yaught/boat\",\r\n    \"premium_percentage\": 0.00325\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/category/","description":"<p>Insert a new category with fields:</p>\n<ul>\n<li>category_name</li>\n<li>category_desc</li>\n<li>premium_percentage</li>\n</ul>\n","urlObject":{"protocol":"http","port":"5000","path":["category",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8fa9690e-8612-49af-9f74-7c78c3473b92"},{"name":"Update a existing category","id":"07b5ee13-3d72-4472-8e6d-556ef9d57dc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"category_name\": \"Yaught or boat\",\r\n    \"premium_percentage\": 0.00425\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/category/3","description":"<p>Update a existing category with their ID in the endpoint url field. You can update the valid fields.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["category","3"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"07b5ee13-3d72-4472-8e6d-556ef9d57dc3"},{"name":"Update a existing category Copy","id":"f116e128-0d31-498b-be02-1b0871731896","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:5000/category/3","description":"<p>Delete a single category using the ID</p>\n","urlObject":{"protocol":"http","port":"5000","path":["category","3"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f116e128-0d31-498b-be02-1b0871731896"}],"id":"7f7e3349-49e9-4786-9a58-fc406509b4d3","description":"<p>Perform CRUD operation using RESTFUL API's.</p>\n","_postman_id":"7f7e3349-49e9-4786-9a58-fc406509b4d3"},{"name":"Quote","item":[{"name":"get all quotes","id":"b235a3b3-0e44-4eb8-a722-c93a54859530","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/quotes/","description":"<p>get one using the ID</p>\n","urlObject":{"protocol":"http","port":"5000","path":["quotes",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b235a3b3-0e44-4eb8-a722-c93a54859530"},{"name":"get a single quotes","id":"1fd7945c-aed4-4633-9cb4-edf50fdd7d5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/quotes/qt-001","description":"<p>get one using the ID</p>\n","urlObject":{"protocol":"http","port":"5000","path":["quotes","qt-001"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"1fd7945c-aed4-4633-9cb4-edf50fdd7d5c"},{"name":"Insert a quote","id":"e57a7b92-dc90-40ef-96e8-30ba04f30531","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"category_id\": 1,\r\n    \"quote_date\": \"2024-04-01\",\r\n    \"quote_decision_date\": \"2024-04-02\",\r\n    \"quote_id\": \"qt-006\",\r\n    \"quoted_premium\": 18000.0,\r\n    \"status\": \"Accepted\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/quotes/","description":"<p>Create a new Quote:</p>\n<ul>\n<li>quote_id</li>\n<li>quote_date</li>\n<li>quoted_premium</li>\n<li>quote_decision_date</li>\n<li>status</li>\n<li>category_id</li>\n</ul>\n","urlObject":{"protocol":"http","port":"5000","path":["quotes",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e57a7b92-dc90-40ef-96e8-30ba04f30531"},{"name":"Update a quote Copy","id":"36afd212-f95d-479a-97ce-1d1ced0fa034","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n \r\n    \"quote_decision_date\": \"2024-04-03\",\r\n    \"status\": \"Declined\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/quotes/qt-006","description":"<p>Update the valid fields with the ID</p>\n","urlObject":{"protocol":"http","port":"5000","path":["quotes","qt-006"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"36afd212-f95d-479a-97ce-1d1ced0fa034"},{"name":"Delete a quote","id":"113463a3-97a7-4384-b2b0-774f57da1cb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:5000/quotes/qt-006","description":"<p>Delete one using the ID</p>\n","urlObject":{"protocol":"http","port":"5000","path":["quotes","qt-006"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"113463a3-97a7-4384-b2b0-774f57da1cb3"}],"id":"78f0c27d-304a-45ef-bb41-5a821e821b73","description":"<p>Do CRUD operations using RESTFUL API's</p>\n","_postman_id":"78f0c27d-304a-45ef-bb41-5a821e821b73"},{"name":"Policy","item":[{"name":"Get all Policies","id":"e83183fd-1fa6-4025-ab8f-b50375564fe2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/policies","description":"<p>get all of them</p>\n","urlObject":{"protocol":"http","port":"5000","path":["policies"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e83183fd-1fa6-4025-ab8f-b50375564fe2"},{"name":"Get a single Policy","id":"ab4cf32f-59b6-49bd-9c8e-726a8b609d5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/policies/pol-001","description":"<p>get one using the ID</p>\n","urlObject":{"protocol":"http","port":"5000","path":["policies","pol-001"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab4cf32f-59b6-49bd-9c8e-726a8b609d5a"},{"name":"Insert a single Policy","id":"861c16f9-57cc-45ff-a25b-13ce9d9bc054","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"active\": true,\r\n    \"category_id\": 1,\r\n    \"monthly_premium\": 18000.0,\r\n    \"policy_date\": \"2024-01-01\",\r\n    \"policy_end_date\": null,\r\n    \"policy_number\": \"pol-002\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/policies","description":"<p>Create a new policy:</p>\n<ul>\n<li>policy_number</li>\n<li>policy_date</li>\n<li>monthly_premium</li>\n<li>category_id</li>\n</ul>\n","urlObject":{"protocol":"http","port":"5000","path":["policies"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"861c16f9-57cc-45ff-a25b-13ce9d9bc054"},{"name":"Update a single Policy","id":"ee5f4d40-efcb-4f23-9d81-8545ad0af7b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"monthly_premium\": 19000.0,\r\n    \"policy_date\": \"2024-01-04\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/policies/pol-002","description":"<p>Update the valid fields with the ID</p>\n","urlObject":{"protocol":"http","port":"5000","path":["policies","pol-002"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ee5f4d40-efcb-4f23-9d81-8545ad0af7b9"},{"name":"Update a single Policy Copy","id":"561d9495-2058-4161-9c27-dcc9f9348f8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:5000/policies/pol-002","description":"<p>Delete one using the ID</p>\n","urlObject":{"protocol":"http","port":"5000","path":["policies","pol-002"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"561d9495-2058-4161-9c27-dcc9f9348f8c"}],"id":"9f949ae2-428b-4540-b8c9-20ef8559bb92","description":"<p>Do CRUD operations using RESTFUL API's</p>\n","_postman_id":"9f949ae2-428b-4540-b8c9-20ef8559bb92"},{"name":"car-quote","item":[{"name":"Get all Car Quotes","id":"87462a66-12e2-4b86-b664-3a205c8a058d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/cars-quote","description":"<p>get all of them</p>\n","urlObject":{"protocol":"http","port":"5000","path":["cars-quote"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"87462a66-12e2-4b86-b664-3a205c8a058d"},{"name":"Get a single Car Quotes","id":"1d957851-0516-4793-866c-d40bd9c21bb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/cars-quote/as1234-12asd12/qt-001","description":"<p>get one using the IDs Vehicle_id and then Quote_id</p>\n","urlObject":{"protocol":"http","port":"5000","path":["cars-quote","as1234-12asd12","qt-001"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"1d957851-0516-4793-866c-d40bd9c21bb7"},{"name":"Insert a single car quote","id":"61d55390-cb1b-4bca-ab1f-0ade4aa1bedb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n        \"quote_id\": \"qt-002\",\r\n        \"vehicle_id\": \"as1234-12asd12\"\r\n    }","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/cars-quote","description":"<p>Create a new cars_quote:</p>\n<ul>\n<li>vehicle_id</li>\n<li>quote_id</li>\n</ul>\n","urlObject":{"protocol":"http","port":"5000","path":["cars-quote"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"61d55390-cb1b-4bca-ab1f-0ade4aa1bedb"},{"name":"Delete a single car quote","id":"9fd610a7-e47f-4480-9015-b0943049f7d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:5000/cars-quote/as1234-12asd12/qt-002","description":"<p>Delete one using the ID's</p>\n","urlObject":{"protocol":"http","port":"5000","path":["cars-quote","as1234-12asd12","qt-002"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9fd610a7-e47f-4480-9015-b0943049f7d8"},{"name":"Update a single car quote","id":"fcfa0ec1-adae-4403-b981-e66fddca5f21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"quote_id\": \"qt-002\",\r\n    \"vehicle_id\": \"as1234-12asd12\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/cars-quote/as1234-12asd12/qt-001","description":"<p>Update the valid fields with the IDs</p>\n","urlObject":{"protocol":"http","port":"5000","path":["cars-quote","as1234-12asd12","qt-001"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"fcfa0ec1-adae-4403-b981-e66fddca5f21"}],"id":"992f97a1-3f0b-4055-81d9-0c1a19700ae5","description":"<p>Do CRUD operations using RESTFUL API's</p>\n","_postman_id":"992f97a1-3f0b-4055-81d9-0c1a19700ae5"},{"name":"Claims","item":[{"name":"Get all claims","id":"ca244fbf-4a8a-4708-b6b1-381ee1166d50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/claims/","description":"<p>get all of them</p>\n","urlObject":{"protocol":"http","port":"5000","path":["claims",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ca244fbf-4a8a-4708-b6b1-381ee1166d50"},{"name":"Get a single claim","id":"c974c9ef-b932-421d-a798-48449c27118c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/claims/claim-001","description":"<p>get one using the ID</p>\n","urlObject":{"protocol":"http","port":"5000","path":["claims","claim-001"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c974c9ef-b932-421d-a798-48449c27118c"},{"name":"Update a claim","id":"99f8a8ec-59c8-4239-b56f-667c53d93bd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"claim_amount\": null,\r\n    \"claim_date\": \"2024-04-14\",\r\n    \"claim_description\": \"There was theft of my car that was kept in the garage. It was stolen at 4 AM in the morning\",\r\n    \"claim_number\": \"claim-002\",\r\n    \"date_incident_occurred\": \"2024-04-13\",\r\n    \"police_claim_number\": \"CAS060435-01\",\r\n    \"policy_number\": \"pol-001\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/claims/","description":"<p>Create a claim:</p>\n<ul>\n<li>claim_number</li>\n<li>claim_date</li>\n<li>date_incident_occurred</li>\n<li>claim_description</li>\n<li>police_claim_number</li>\n<li>policy_number</li>\n</ul>\n","urlObject":{"protocol":"http","port":"5000","path":["claims",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"99f8a8ec-59c8-4239-b56f-667c53d93bd9"},{"name":"Update a claim","id":"af02177b-fee8-4025-99cc-7e5748a04591","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"claim_date\": \"2024-04-15\",\r\n    \"claim_description\": \"There was theft of my car that was kept in the garage. It was stolen at 4 AM in the morning. Tesing\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/claims/claim-002","description":"<p>Update the valid fields with the ID</p>\n","urlObject":{"protocol":"http","port":"5000","path":["claims","claim-002"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"af02177b-fee8-4025-99cc-7e5748a04591"},{"name":"Delete a claim","id":"9113d1b3-aa77-4a97-8376-ff87a3da280c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:5000/claims/claim-002","description":"<p>Delete one using the ID</p>\n","urlObject":{"protocol":"http","port":"5000","path":["claims","claim-002"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9113d1b3-aa77-4a97-8376-ff87a3da280c"}],"id":"f708fd59-c6d4-46de-a599-aef65c83f3b7","description":"<p>Do CRUD operations using RESTFUL API's</p>\n","_postman_id":"f708fd59-c6d4-46de-a599-aef65c83f3b7"},{"name":"claim-satus","item":[{"name":"Get all claim status","id":"8b591050-6746-4a08-8ed7-a72e346160e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/claims-status","description":"<p>get all of them</p>\n","urlObject":{"protocol":"http","port":"5000","path":["claims-status"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b591050-6746-4a08-8ed7-a72e346160e8"},{"name":"Get a single claim status","id":"baf073f7-65d2-49a2-b82f-0653279abbd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/claims-status/csts-001","description":"<p>get one using the ID</p>\n","urlObject":{"protocol":"http","port":"5000","path":["claims-status","csts-001"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"baf073f7-65d2-49a2-b82f-0653279abbd0"},{"name":"Insert a single claim status","id":"e19fea64-c033-4da3-afb5-581368554d85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"claim_number\": \"claim-001\",\r\n    \"status_date\": \"2024-01-06\",\r\n    \"status_id\": \"csts-006\",\r\n    \"status_name\": \"Received\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/claims-status/","description":"<p>Create a new claim status:</p>\n<ul>\n<li>status_id</li>\n<li>status_name</li>\n<li>status_date</li>\n<li>claim_number</li>\n</ul>\n","urlObject":{"protocol":"http","port":"5000","path":["claims-status",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e19fea64-c033-4da3-afb5-581368554d85"},{"name":"Update a single claim status","id":"b88f8fe0-6ff4-4902-b9f0-a5ff439087ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\r\n    \"status_name\": \"Investigation\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/claims-status/csts-006","description":"<p>Update the valid fields with the ID</p>\n","urlObject":{"protocol":"http","port":"5000","path":["claims-status","csts-006"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b88f8fe0-6ff4-4902-b9f0-a5ff439087ed"},{"name":"Delete a single claim status","id":"dc1d13aa-e4c8-4308-9799-c9c7bdc0e560","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/claims-status/csts-006","description":"<p>Delete one using the ID</p>\n","urlObject":{"protocol":"http","port":"5000","path":["claims-status","csts-006"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"dc1d13aa-e4c8-4308-9799-c9c7bdc0e560"}],"id":"74849478-b2ff-4d8e-a4a6-b620f2a10da8","description":"<p>Do CRUD operations using RESTFUL API's</p>\n","_postman_id":"74849478-b2ff-4d8e-a4a6-b620f2a10da8"}]}