{"info":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"20212429","collectionId":"9f62a730-94d7-468f-873d-81f81dcd4fe1","publishedId":"2s93z6ejTq","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-06-25T19:54:26.000Z"},"item":[{"name":"Login","item":[{"name":"Register","id":"646339a0-7f00-4815-a076-9d0d26ca36f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userName\": \"mervan1234\",\r\n  \"email\": \"slm@x.com\",\r\n  \"password\": \"123\",\r\n  \"firstName\": \"mervan\",\r\n  \"lastName\": \"erdem\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7242/api/Login/Register","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}},"urlObject":{"path":["Login","Register"],"host":["https://localhost:7242/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"646339a0-7f00-4815-a076-9d0d26ca36f9"},{"name":"Login","id":"7870b37a-24f5-4ddb-9a6c-3afc658f162d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"admin@dartvader.com\",\r\n  \"password\": \"password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7242/api/Login/Login","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}},"urlObject":{"path":["Login","Login"],"host":["https://localhost:7242/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7870b37a-24f5-4ddb-9a6c-3afc658f162d"}],"id":"15753d52-802f-40ca-a341-7030b8f61d50","_postman_id":"15753d52-802f-40ca-a341-7030b8f61d50","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}}},{"name":"User","item":[{"name":"GetUserInfo","id":"1bd9334d-6f16-4b50-910d-2383147b529c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:7242/api/User","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}},"urlObject":{"path":["User"],"host":["https://localhost:7242/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1bd9334d-6f16-4b50-910d-2383147b529c"},{"name":"UpdateUser","id":"e94b1faa-a9da-48cd-a251-43e2066518aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userName\": \"mervan123\",\r\n  \"email\": \"mail@mail.com\",\r\n  \"password\": \"123\",\r\n  \"firstName\": \"Mervan\",\r\n  \"lastName\": \"Erdem\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7242/api/User/UpdateUser","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}},"urlObject":{"path":["User","UpdateUser"],"host":["https://localhost:7242/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e94b1faa-a9da-48cd-a251-43e2066518aa"}],"id":"e28b2144-3dcb-43e6-b4ff-41fb3937bff8","_postman_id":"e28b2144-3dcb-43e6-b4ff-41fb3937bff8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}}},{"name":"Admin","item":[{"name":"GetAllUser","id":"2a1f29b1-e772-41d5-ae33-2f25293de131","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://localhost:7242/api/Admin/GetAllUser","urlObject":{"path":["Admin","GetAllUser"],"host":["https://localhost:7242/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a1f29b1-e772-41d5-ae33-2f25293de131"},{"name":"DeleteUser","id":"19df172b-4643-4bf9-9c9e-478eea8541ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://localhost:7242/api/Admin/DeleteUser?userId=2","urlObject":{"path":["Admin","DeleteUser"],"host":["https://localhost:7242/api"],"query":[{"key":"userId","value":"2"}],"variable":[]}},"response":[],"_postman_id":"19df172b-4643-4bf9-9c9e-478eea8541ca"},{"name":"UpdateUser","id":"5b9943e1-0899-487f-b869-c20b669328f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userName\": \"merhaba\",\r\n  \"email\": \"deneme@deneme.com\",\r\n  \"password\": \"string\",\r\n  \"firstName\": \"deneme\",\r\n  \"lastName\": \"isimli\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://localhost:7242/api/Admin/UpdateUser?userId=3","urlObject":{"path":["Admin","UpdateUser"],"host":["https://localhost:7242/api"],"query":[{"key":"userId","value":"3"}],"variable":[]}},"response":[],"_postman_id":"5b9943e1-0899-487f-b869-c20b669328f7"},{"name":"Register","id":"f2701da0-6f5a-4bb1-ba61-687352c9cafb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userName\": \"1234\",\r\n  \"email\": \"asd@deneme.com\",\r\n  \"password\": \"string\",\r\n  \"firstName\": \"test\",\r\n  \"lastName\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7242/api/Admin/Register","urlObject":{"path":["Admin","Register"],"host":["https://localhost:7242/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2701da0-6f5a-4bb1-ba61-687352c9cafb"}],"id":"bbfe040d-f317-4ed4-91ae-87cf049bf3f1","_postman_id":"bbfe040d-f317-4ed4-91ae-87cf049bf3f1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}}},{"name":"Product","item":[{"name":"GetAll","id":"fad9765c-071b-4e45-be92-7c80e90ec5a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:7242/api/Product/GetAllProduct?isActive=true","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}},"urlObject":{"path":["Product","GetAllProduct"],"host":["https://localhost:7242/api"],"query":[{"key":"isActive","value":"true"}],"variable":[]}},"response":[],"_postman_id":"fad9765c-071b-4e45-be92-7c80e90ec5a7"},{"name":"CreateProduct","id":"bdc4105c-8516-4f6f-8148-a3294e33a832","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":" { \"name\": \"Apple\",\r\n  \"description\": \"telefonların en pahalısı\",\r\n  \"isActive\": true,\r\n  \"stock\": 150,\r\n  \"pointEarningPercentage\": 10,\r\n  \"price\": 3000,\r\n  \"maxPointAmount\": 800,\r\n  \"categoryIds\": [\r\n    1,2\r\n  ]\r\n }","options":{"raw":{"language":"json"}}},"url":"https://localhost:7242/api/Product","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}},"urlObject":{"path":["Product"],"host":["https://localhost:7242/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"bdc4105c-8516-4f6f-8148-a3294e33a832"},{"name":"UpdateProduct","id":"30015470-201d-41c7-8947-fcab0fb300d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"price\": 4500,\r\n  \"name\": \"telefon xioami\",\r\n  \"description\": \"en iyisi\",\r\n  \"stock\": 120,\r\n  \"pointEarningPercentage\": 10,\r\n  \"maxPointAmount\": 1000,\r\n  \"categoryIds\": [\r\n    1\r\n  ],\r\n  \"isActive\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7242/api/Product/UpdateProduct?id=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}},"urlObject":{"path":["Product","UpdateProduct"],"host":["https://localhost:7242/api"],"query":[{"key":"id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"30015470-201d-41c7-8947-fcab0fb300d6"},{"name":"GetById","id":"bae0c946-6e90-4b74-a176-90c1eb379bfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:7242/api/Product/GetById?id=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}},"urlObject":{"path":["Product","GetById"],"host":["https://localhost:7242/api"],"query":[{"key":"id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"bae0c946-6e90-4b74-a176-90c1eb379bfd"},{"name":"Delete","id":"28ef106e-b66d-42ae-bd3a-6c1f647bf2b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://localhost:7242/api/Product?id=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}},"urlObject":{"path":["Product"],"host":["https://localhost:7242/api"],"query":[{"key":"id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"28ef106e-b66d-42ae-bd3a-6c1f647bf2b3"},{"name":"StokUpdate","id":"1b0c7132-466d-4865-b412-8a4bfa62ce93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://localhost:7242/api/Product/StockUpdate?id=1&stock=2000","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}},"urlObject":{"path":["Product","StockUpdate"],"host":["https://localhost:7242/api"],"query":[{"key":"id","value":"1"},{"key":"stock","value":"2000"}],"variable":[]}},"response":[],"_postman_id":"1b0c7132-466d-4865-b412-8a4bfa62ce93"}],"id":"b8a6ba3d-a55f-4a55-b208-0e95280bb424","_postman_id":"b8a6ba3d-a55f-4a55-b208-0e95280bb424","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}}},{"name":"Category","item":[{"name":"CreateCategory","id":"0f99c74b-e817-48ba-b7e4-85da32c6e0f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Elektronik\",\r\n  \"url\": \"/DartVader/Pic\",\r\n  \"tags\": \"ElektronikCihaz\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7242/api/Category","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}},"urlObject":{"path":["Category"],"host":["https://localhost:7242/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f99c74b-e817-48ba-b7e4-85da32c6e0f0"},{"name":"GetAll","id":"131760c9-ec7b-4b4e-81bc-4b5aed43022f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:7242/api/Category/GetAll","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}},"urlObject":{"path":["Category","GetAll"],"host":["https://localhost:7242/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"131760c9-ec7b-4b4e-81bc-4b5aed43022f"},{"name":"GetById","id":"5dbbb535-9474-4b3b-9993-829557cb1fdb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:7242/api/Category/GetById?id=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}},"urlObject":{"path":["Category","GetById"],"host":["https://localhost:7242/api"],"query":[{"key":"id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"5dbbb535-9474-4b3b-9993-829557cb1fdb"},{"name":"Update","id":"99d02b05-7979-41d0-8ff3-77e3678be6c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"string\",\r\n  \"url\": \"birseyler.com\",\r\n  \"tags\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7242/api/Category?id=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}},"urlObject":{"path":["Category"],"host":["https://localhost:7242/api"],"query":[{"key":"id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"99d02b05-7979-41d0-8ff3-77e3678be6c8"},{"name":"Delete","id":"496891d8-f1b0-4082-af5d-68ffc54e0ff6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://localhost:7242/api/Category?id=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}},"urlObject":{"path":["Category"],"host":["https://localhost:7242/api"],"query":[{"key":"id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"496891d8-f1b0-4082-af5d-68ffc54e0ff6"}],"id":"60d51757-0ac5-476e-8725-46b880280bbb","_postman_id":"60d51757-0ac5-476e-8725-46b880280bbb","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}}},{"name":"Order","item":[{"name":"CreateOrder","id":"31ec0926-60b8-4f48-86e1-b7d166f2c7b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"cardNumber\": \"123456789\",\r\n  \"cardDate\": \"27/02\",\r\n  \"cardName\": \"Mervan\",\r\n  \"cvv\": \"123\",\r\n  \"couponCode\": \"\",\r\n  \"productIds\": [\r\n    1,2\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7242/api/Order","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}},"urlObject":{"path":["Order"],"host":["https://localhost:7242/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"31ec0926-60b8-4f48-86e1-b7d166f2c7b1"},{"name":"GetAllOrderByUser","id":"5f4134bb-ae35-4a83-9b39-796682182e92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:7242/api/Order/GetAllMyOrder","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}},"urlObject":{"path":["Order","GetAllMyOrder"],"host":["https://localhost:7242/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f4134bb-ae35-4a83-9b39-796682182e92"}],"id":"e4cf3757-b4c8-4244-9d78-751e41fdad04","_postman_id":"e4cf3757-b4c8-4244-9d78-751e41fdad04","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","id":"9f62a730-94d7-468f-873d-81f81dcd4fe1","name":"SimpraApi","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"3174900e-950d-4528-b4e6-e379d41be08e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dd75bd5f-5c5e-4940-915f-bad97c2bdc57","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseURL","value":"https://localhost:7242/api","type":"string"}]}