{"info":{"_postman_id":"7d14c956-6d67-4ac8-a79b-49de44673921","name":"Simpra Final Project","description":"<html><head></head><body><p>Dijital ürünler satış yapılabilen bir e-ticaret sitesi geliştirilmiştir. Proje N-Layer Architecture baz alınarak geliştilmiş olup, .Net Core 6 teknolojisi kullanıldı.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"20405564","collectionId":"7d14c956-6d67-4ac8-a79b-49de44673921","publishedId":"2s93z6cNwT","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-06-23T12:12:35.000Z"},"item":[{"name":"AuthenticationController","item":[{"name":"Authentication-SignIn[Admin]","id":"4659b3d5-4183-4be4-83be-47f99094c3db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userName\": \"admin\",\r\n  \"password\": \"Admin123456*\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Authentication/SignIn","description":"<p>\"<strong>AddMigrateAndUserSeedDatabase</strong>\" extension metodu ile program ilk kez çalıştırıldığında default olarak bir admin sisteme kayıt edilmektedir. Bu sayede yeni admin kayıt işlemlerinde authorize yapabiliyoruz. Bu endpoint sayesinde sistemde default olarak yer alan kullanıcı adı \"<strong>admin</strong>\" ve şifre \"<strong>Admin123456</strong>*\" ile admin role içeren jwt token oluşturuyoruz.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Authentication","SignIn"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"344ff572-dcb8-405f-9c07-7d16469dbca8","name":"Authentication-SignIn[Admin]","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userName\": \"admin\",\r\n  \"password\": \"Admin123456*\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Authentication/SignIn"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 06:45:55 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":".AspNetCore.Identity.Application=CfDJ8He44czUPJZJuHWnaWBZ20ABXA6W2T3VvP7rm7ofJmxgGKWkZ9x6K98cZE3ZIzEvxq5vlb5Z-Afa2LmzgDfvhhEZqNlCPMPYxg4L1z11RcT-wmFJU9s2Xr_WAaVskzbXCKYCOLsRAFYG52BYZwvDPTYdxh_Yz7rPZWHcpk_05hHmm51otQGuT38l-5vW-EAk3Y1Wev7JBUSZxMp9-tqk9Dw2_l8sRz-TtZKrsX4GONo8L4zfAbIEq8lNE-BUKie2NqyMaXHT53riqY3Ctk_RuRYojxx_YEbC5ZGzYFxay_2Z1OF_osA8IA9Uh_LtZXk9oaVzcjDbDSb-vwm4xCj55LpniXGqq2keKRvxLcTZMy4kghMjESAGr5fUEq5-2F1wAafjyt5z9EZ3EnlJqJA9vz6UGcFaEBOK0jUHbDuFyEYmqR8OYzRObE1OB6u8psqxfRDjvU1NBb8NBiKiuHs6MUfTGMqCKlUo2yG92S8IYQy7TB56Xi1jZa3SOslJxJh4tpRwNAhG7ridC9ewm4KrfDUb6GH0zpLHVw9WyenQ-TL0n-TTzYHtPEVrxL2AmM__HoucjmJjOJhIV0tcByZQqGxPHgYFQ5i7IjB2zVhVtWnHCfnIuuPzehCAC5QXR48emqWHEZWMAT0Bh1PQAwdfDqC-8lb7GmRHCe5L-j4_D281ZNdqPn7bljqDR0WGL9PGyYPBECcKOxoYJYY6L2i279nTFWhpYk7kt4t6IgCh51FX25yqZYvwccW7i-kLoP_B4pwCLvUH_9SrL5XuzE4tbiLJZOX5hrEBIAU_lMtiTru9EL3i_MvuCS5_nt__hUqUciPaHjZfa-LQtKYBP0RsheM; expires=Fri, 07 Jul 2023 06:45:55 GMT; path=/; secure; samesite=lax; httponly"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"07edafaa-784b-4394-bc13-8601fe3ca303"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"expireTime\": \"2023-06-23T10:15:56.0712239+03:00\",\n        \"accessToken\": \"eyJhbGciOiJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNobWFjLXNoYTI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyTmFtZSI6ImFkbWluIiwiVXNlcklkIjoiYmIyYjBkMTgtOGNiYi00YmFhLTlmM2UtODZmOGUyNjcxZDNhIiwiRmlyc3ROYW1lIjoiYWRtaW4iLCJMYXN0TmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiYWRtaW4iLCJleHAiOjE2ODc1MDQ1NTUsImlzcyI6IlNpbXByYVByb2plY3QiLCJhdWQiOiJTaW1wcmFQcm9qZWN0In0.CEoy3sXc4SaBSikdBT8KU-Q2cDtl37cVyWcB59Xim1c\",\n        \"userName\": \"admin\"\n    },\n    \"errors\": null\n}"}],"_postman_id":"4659b3d5-4183-4be4-83be-47f99094c3db"},{"name":"Authentication-SignIn[User]","id":"2e9dbba8-7ad0-4434-9ba8-4a929356481b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userName\": \"user\",\r\n  \"password\": \"User123456*\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Authentication/SignIn","description":"<p>\"<strong>AddMigrateAndUserSeedDatabase</strong>\" extension metodu ile program ilk kez çalıştırıldığında default olarak bir user sisteme kayıt edilmektedir. Bu endpoint sayesinde sistemde default olarak yer alan kullanıcı adı \"<strong>user</strong>\" ve şifre \"<strong>User123456</strong>*\" ile user role içeren jwt token oluşturuyoruz.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Authentication","SignIn"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"59e571c9-4f3d-4a56-a5a2-ec610d4f4867","name":"Authentication-SignIn[User]","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userName\": \"user\",\r\n  \"password\": \"User123456*\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Authentication/SignIn"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 06:46:15 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":".AspNetCore.Identity.Application=CfDJ8He44czUPJZJuHWnaWBZ20C_CHeazrj199mQBtHYRQzGIjE2OHd7inY_4LXvIDK_s_pMojQj-kkl5_uPQpZwnm8PRdf2TVJCQiAKqOb1imCIZbWnJuHlDTOf8uJdxmhd2RV3PwE5PTOcqAYd6bPWLGprB_tGQNItx-lpnUEGwKuDVmRjA5qGU7GQ6eRKi_Dsr94Lxselw5olsQ8P_I0o5tGB0xEKSJTHggtunWHIGzmQNknHtWfF_xamG72UAM7BK2dCG2RO9KuqwdWBtcAILc7jOcgIt8NKU7wJxjiAJPfdsYiEBv3P4QLmz74XU0GoDjBydFpC2aiG5CU84fBtiomaV7sD7XsxL3fUpcelEVWnfaMQS-81eZ68tFY4z4mRiUQxbqzR0ZWXNVz_o2a83Asx_rqjdK9IODx9VdByq2WlFWpEgxWFjlhpZf5swKEX2gNk0bU1OByGNle5sV7ISSAg_1d9gE5GX68H1T6jD8dgbDlSUnN0YLZLYwOC1Z0VOCKt0A4WYH8QVagbxQQJHnPTPaM-Vv6EjFzGp-4uxNz-uwX8uz5NIdu876LWmHlyc70Oalj1ZBhwvVMVLMdhXlEG5M4xNhxP6hzoCVp0bWP1MI3fphcHQ8JV8W1n_PCBJmd-QDJxENoEahf8bizxMODH3hueoZVNOkwh05UpXWQvDaVCbUtOsB1ynkViibKwQ2URWa8-LrBUq5bvncg2Eo2pFUNjl172HVDRpCXG3m1v_RryJTjDDYrprKUyNhSvlOjATrpGiO-jB-G52EgjDWzgqVq8v8w54DOI2yO8wTF_Gbuiws5Ds_r8rfXe99cm_GnfrLYPgTpBNEIlLKN6u4Y; expires=Fri, 07 Jul 2023 06:46:15 GMT; path=/; secure; samesite=lax; httponly"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"3e152535-ce22-46ff-a79a-f7155ce08b00"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"expireTime\": \"2023-06-23T10:16:15.8675984+03:00\",\n        \"accessToken\": \"eyJhbGciOiJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNobWFjLXNoYTI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyTmFtZSI6InVzZXIiLCJVc2VySWQiOiIxYTkyYzg1MS1mMGQ1LTQ3ZDMtODkwNy1jZWYzNzMyYjI1NWQiLCJGaXJzdE5hbWUiOiJ1c2VyIiwiTGFzdE5hbWUiOiJ1c2VyIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoidXNlciIsImV4cCI6MTY4NzUwNDU3NSwiaXNzIjoiU2ltcHJhUHJvamVjdCIsImF1ZCI6IlNpbXByYVByb2plY3QifQ._uOxLSbdw83zuxuJqkxB5-z-7PM3cB2RRVvVB0WWy2g\",\n        \"userName\": \"user\"\n    },\n    \"errors\": null\n}"}],"_postman_id":"2e9dbba8-7ad0-4434-9ba8-4a929356481b"},{"name":"Authentication-SignOut","id":"3776830a-8ec1-4213-b4d9-8ffc4a41ef02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"url":"https://localhost:7247/api/Authentication/SignOut","description":"<p>\"<strong>SignInManager</strong>\" kullanılarak \"<strong>SignOutAsync</strong>\" metodu ile kullanıcı sistemden çıkış yapmaktadır.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Authentication","SignOut"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d7a02b6c-c952-457f-807e-f2e164369b87","name":"Authentication-SignOut","originalRequest":{"method":"POST","header":[],"url":"https://localhost:7247/api/Authentication/SignOut"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 23 Jun 2023 06:46:31 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":".AspNetCore.Identity.Application=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; secure; samesite=lax; httponly"},{"key":"Set-Cookie","value":"Identity.External=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; secure; samesite=lax; httponly"},{"key":"Set-Cookie","value":"Identity.TwoFactorUserId=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; secure; samesite=lax; httponly"},{"key":"ResponseGuid","value":"de2301a1-9c2f-4291-b3d2-633c0dc7cf53"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"3776830a-8ec1-4213-b4d9-8ffc4a41ef02"},{"name":"Authentication-ChangePassword","id":"d778c580-1079-48c2-b618-5b0d8cc29144","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"oldPassword\": \"User123456*\",\r\n  \"password\": \"Password123456*\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Authentication/ChangePassword","description":"<p>\"<strong>UserManager</strong>\" kullanılarak \"<strong>ChangePasswordAsync</strong>\" metodu ile kullanıcı şifresi değiştirilmektedir. Kullanıcı alınan tokendaki \"<strong>userId</strong>\" değerinden bulunmaktadır.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Authentication","ChangePassword"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"3e202699-ab63-4378-b180-c41ec57b274d","name":"Authentication-ChangePassword","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"oldPassword\": \"User123456*\",\r\n  \"password\": \"Password123456*\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Authentication/ChangePassword"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 23 Jun 2023 06:46:52 GMT"},{"key":"Server","value":"Kestrel"},{"key":"ResponseGuid","value":"fdcddb67-e0cd-4683-8554-37e557c34c6e"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"d778c580-1079-48c2-b618-5b0d8cc29144"}],"id":"984eabe3-b0d2-455d-a2f1-d04d024a88df","_postman_id":"984eabe3-b0d2-455d-a2f1-d04d024a88df","description":""},{"name":"UserController","item":[{"name":"GetAllUsers","id":"4e420d29-6f46-45df-ab90-e9b26388ee48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://localhost:7247/api/User","description":"<p>Sistemdeki tüm kullanıcıların listelenmesi için kullanılır. Sadece \"<strong>admin</strong>\" rol içeren tokena sahip kullanıcılar tarafından kullanılabilir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","User"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0e3b8adb-462b-46e8-bab0-161257bf8b07","name":"GetAllUsers","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/User"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 06:51:20 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"a22d2a8d-2b84-43d7-9a97-acaa1acb02c4"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"1a92c851-f0d5-47d3-8907-cef3732b255d\",\n            \"userName\": \"user\",\n            \"firstName\": \"user\",\n            \"lastName\": \"user\",\n            \"email\": \"user@gmail.com\",\n            \"phoneNumber\": \"05326576565\",\n            \"digitalWalletBalance\": 50,\n            \"digitalWalletInformation\": \"Wallet is active.\"\n        },\n        {\n            \"id\": \"bb2b0d18-8cbb-4baa-9f3e-86f8e2671d3a\",\n            \"userName\": \"admin\",\n            \"firstName\": \"admin\",\n            \"lastName\": \"admin\",\n            \"email\": \"admin@gmail.com\",\n            \"phoneNumber\": \"05326556565\",\n            \"digitalWalletBalance\": 0,\n            \"digitalWalletInformation\": \"Wallet is not active.\"\n        }\n    ],\n    \"errors\": null\n}"}],"_postman_id":"4e420d29-6f46-45df-ab90-e9b26388ee48"},{"name":"GetUserById","id":"18a092fb-a148-45fa-b0a0-3f7412b03d3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://localhost:7247/api/User/1a92c851-f0d5-47d3-8907-cef3732b255d","description":"<p>Sistemdeki ilgili id değerine sahip kullanıcıyı bulmak için kullanılır. Sadece \"<strong>admin</strong>\" rol içeren tokena sahip kullanıcılar tarafından kullanılabilir. Aksi durumda \"<strong>user</strong>\" role sahip kullanıcılar başka kullanıcıların bilgilerine ulaşabilir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","User","1a92c851-f0d5-47d3-8907-cef3732b255d"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"fe1badd4-c8b3-4817-9dbc-440530fdb576","name":"GetUserById","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/User/1a92c851-f0d5-47d3-8907-cef3732b255d"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 06:51:47 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"a712dc2e-df35-437f-8256-cbfd06cdfefc"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"1a92c851-f0d5-47d3-8907-cef3732b255d\",\n        \"userName\": \"user\",\n        \"firstName\": \"user\",\n        \"lastName\": \"user\",\n        \"email\": \"user@gmail.com\",\n        \"phoneNumber\": \"05326576565\",\n        \"digitalWalletBalance\": 50,\n        \"digitalWalletInformation\": \"Wallet is active.\"\n    },\n    \"errors\": null\n}"},{"id":"d0339adf-478c-477e-9787-d60992a99360","name":"GetUserById-NotFound","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/User/1a92c851-f0d5-47d3-8907-cef3732b155d"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 23 Jun 2023 07:09:25 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"03b91e53-aa0b-492a-9b6c-73ae62d0ba01"}],"cookie":[],"responseTime":null,"body":"{\n    \"Data\": null,\n    \"Errors\": [\n        \"Not Found Error. Error message:User (1a92c851-f0d5-47d3-8907-cef3732b155d) not found!\"\n    ]\n}"}],"_postman_id":"18a092fb-a148-45fa-b0a0-3f7412b03d3b"},{"name":"GetUser","id":"39728535-17e8-4556-bb02-48797fa31e98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://localhost:7247/api/User/GetUser","description":"<p>User kullanıcının kendi bilgilerine ulaşabilmesi için kullanılmaktadır. Token üzerinden \"<strong>userId</strong>\" değeri alınarak sistemdeki user bilgilerine ulaşılmaktadır.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","User","GetUser"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"dc695857-9580-4ffc-93a5-260c19b739c4","name":"GetUser","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/User/GetUser"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 06:52:09 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"bd177a0c-dc1f-49fa-bf0a-e32b7a9ce19c"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"1a92c851-f0d5-47d3-8907-cef3732b255d\",\n        \"userName\": \"user\",\n        \"firstName\": \"user\",\n        \"lastName\": \"user\",\n        \"email\": \"user@gmail.com\",\n        \"phoneNumber\": \"05326576565\",\n        \"digitalWalletBalance\": 50,\n        \"digitalWalletInformation\": \"Wallet is active.\"\n    },\n    \"errors\": null\n}"}],"_postman_id":"39728535-17e8-4556-bb02-48797fa31e98"},{"name":"GetUserPointBalance","id":"50a50099-30bc-4d7e-b2a5-3e1454a48e4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://localhost:7247/api/User/GetPointBalance","description":"<p>User kullanıcın dijital cüzdan bakiyesini görüntüleyebilmesi için kullanılmaktadır. Token üzerinden \"<strong>userId</strong>\" değeri alınarak sistemdeki user dijital cüzdan bakiye bilgisine ulaşılmaktadır.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","User","GetPointBalance"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"75d73909-9f7d-423b-b810-86a8461d0feb","name":"GetUserPointBalance","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/User/GetPointBalance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 06:49:27 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"476971cb-ad71-4beb-9ad0-e7b3f9ac1e20"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": 50,\n    \"errors\": null\n}"}],"_postman_id":"50a50099-30bc-4d7e-b2a5-3e1454a48e4f"},{"name":"CreateUserWithUserRole","id":"8b2f389c-33f3-4538-840f-7a759afeab44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userName\": \"sezinsimpra\",\r\n  \"firstName\": \"Sezin\",\r\n  \"lastName\": \"Simpra\",\r\n  \"email\": \"sezinsimpra@gmail.com\",\r\n  \"password\": \"Password12345*\",\r\n  \"phoneNumber\": \"05338256972\",\r\n  \"digitalWalletBalance\": 150,\r\n  \"digitalWalletInformation\": \"Wallet is active.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/User/CreateUser","description":"<p>Yeni kullanıcının sisteme kayıt olabilmesi için kullanılmaktadır. Sisteme yeni dahil olan kullanıcı \"<strong>user</strong>\" role ile kaydedilmektedir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","User","CreateUser"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d75e89f2-8530-41fe-8dc8-64a89bc137a6","name":"CreateUserWithUserRole","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userName\": \"sezinsimpra\",\r\n  \"firstName\": \"Sezin\",\r\n  \"lastName\": \"Simpra\",\r\n  \"email\": \"sezinsimpra@gmail.com\",\r\n  \"password\": \"Password12345*\",\r\n  \"phoneNumber\": \"05338256972\",\r\n  \"digitalWalletBalance\": 150,\r\n  \"digitalWalletInformation\": \"Wallet is active.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/User/CreateUser"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 06:53:05 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"1b905a23-c5f4-4746-8149-ed163a2b3956"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"fb6b056e-4c99-4e67-b302-968a914aa227\",\n        \"userName\": \"sezinsimpra\",\n        \"firstName\": \"Sezin\",\n        \"lastName\": \"Simpra\",\n        \"email\": \"sezinsimpra@gmail.com\",\n        \"phoneNumber\": \"05338256972\",\n        \"digitalWalletBalance\": 150,\n        \"digitalWalletInformation\": \"Wallet is active.\"\n    },\n    \"errors\": null\n}"}],"_postman_id":"8b2f389c-33f3-4538-840f-7a759afeab44"},{"name":"CreateUserWithAdminRole","id":"a9bbe9da-f6f2-4784-9dc4-44b21d12e689","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userName\": \"sezinadmin\",\r\n  \"firstName\": \"Sezin\",\r\n  \"lastName\": \"Admin\",\r\n  \"email\": \"sezinadmin@gmail.com\",\r\n  \"password\": \"Password4413245*\",\r\n  \"phoneNumber\": \"05324556565\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/User/CreateAdmin","description":"<p>Yeni admin kullanıcının sisteme kayıt olabilmesi için kullanılmaktadır. Sisteme yeni dahil olan admin kullanıcı \"<strong>admin</strong>\" rol ile kaydedilmektedir. Buradaki önemli husus \"<strong>admin</strong>\" rol içeren bir token ile sisteme kayıt işlemi gerçekleşmektedir. Program ilk kez çalıştırıldığında default olarak oluşturulan admin kullanılarak yeni admin kullanıcı oluşturulabilir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","User","CreateAdmin"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"a753f543-a58a-47f8-89ff-805998d43998","name":"CreateUserWithAdminRole","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userName\": \"sezinadmin\",\r\n  \"firstName\": \"Sezin\",\r\n  \"lastName\": \"Admin\",\r\n  \"email\": \"sezinadmin@gmail.com\",\r\n  \"password\": \"Password4413245*\",\r\n  \"phoneNumber\": \"05324556565\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/User/CreateAdmin"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 06:53:51 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"74f96934-ede8-4801-a670-9a714709137b"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"054babeb-7904-4144-86bd-a6d3a8988e9b\",\n        \"userName\": \"sezinadmin\",\n        \"firstName\": \"Sezin\",\n        \"lastName\": \"Admin\",\n        \"email\": \"sezinadmin@gmail.com\",\n        \"phoneNumber\": \"05324556565\",\n        \"digitalWalletBalance\": 0,\n        \"digitalWalletInformation\": null\n    },\n    \"errors\": null\n}"}],"_postman_id":"a9bbe9da-f6f2-4784-9dc4-44b21d12e689"},{"name":"UpdateUser","id":"fd158100-5dea-4829-bfb4-4e083028dfdc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userName\": \"sezinsimpra-update\",\r\n  \"firstName\": \"Sezin Update\",\r\n  \"lastName\": \"Simpra User\",\r\n  \"email\": \"sezinsimprauser@gmail.com\",\r\n  \"phoneNumber\": \"05336997255\",\r\n  \"digitalWalletBalance\": 280,\r\n  \"digitalWalletInformation\": \"Wallet is active.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/User/fb6b056e-4c99-4e67-b302-968a914aa227","description":"<p>Kullanıcının bilgilerinin değiştirilmesi için kullanılmaktadır. \"<strong>admin</strong>\" rol içeren token ile işlem yapılabilmektedir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","User","fb6b056e-4c99-4e67-b302-968a914aa227"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"bb3b1260-2404-4db3-82f7-b8f6c5de1af4","name":"UpdateUser","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userName\": \"sezinsimpra-update\",\r\n  \"firstName\": \"Sezin Update\",\r\n  \"lastName\": \"Simpra User\",\r\n  \"email\": \"sezinsimprauser@gmail.com\",\r\n  \"phoneNumber\": \"05336997255\",\r\n  \"digitalWalletBalance\": 280,\r\n  \"digitalWalletInformation\": \"Wallet is active.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/User/fb6b056e-4c99-4e67-b302-968a914aa227"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 06:55:48 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"0eba13b0-e77f-41f5-88d7-7266abd5d3fc"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"fb6b056e-4c99-4e67-b302-968a914aa227\",\n        \"userName\": \"sezinsimpra-update\",\n        \"firstName\": \"Sezin Update\",\n        \"lastName\": \"Simpra User\",\n        \"email\": \"sezinsimprauser@gmail.com\",\n        \"phoneNumber\": \"05336997255\",\n        \"digitalWalletBalance\": 280,\n        \"digitalWalletInformation\": \"Wallet is active.\"\n    },\n    \"errors\": null\n}"}],"_postman_id":"fd158100-5dea-4829-bfb4-4e083028dfdc"},{"name":"DeleteUser","id":"d73ae7f8-ae34-407d-97ec-6ccdc0ce2f60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[],"url":"https://localhost:7247/api/User/fb6b056e-4c99-4e67-b302-968a914aa227","description":"<p>Kullanıcının silinebilmesi için kullanılmaktadır. \"<strong>admin</strong>\" rol içeren token ile işlem yapılabilmektedir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","User","fb6b056e-4c99-4e67-b302-968a914aa227"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"247c39fa-05e7-47df-bd03-4989e6240781","name":"DeleteUser","originalRequest":{"method":"DELETE","header":[],"url":"https://localhost:7247/api/User/fb6b056e-4c99-4e67-b302-968a914aa227"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 23 Jun 2023 06:56:53 GMT"},{"key":"Server","value":"Kestrel"},{"key":"ResponseGuid","value":"7098c6f4-de6a-4a12-abbd-62157dc887e2"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"d73ae7f8-ae34-407d-97ec-6ccdc0ce2f60"}],"id":"df9bbbed-8261-4b59-8b0c-534c9ee9dd3e","_postman_id":"df9bbbed-8261-4b59-8b0c-534c9ee9dd3e","description":""},{"name":"CategoryController","item":[{"name":"GetAllCategories","id":"8d71ea73-ecf0-4a46-a363-ea17ec7de30c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:7247/api/Category","description":"<p>Tüm kategorileri listelemek için kullanılmaktadır. Sisteme henüz kayıt olmamış kullanıcıların da görüntüleyebilmesi için herhangi bir \"<strong>Authorize</strong>\" işlemi yapılmamıştır.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Category"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"76a03bba-44db-4593-941d-f846490a92f1","name":"GetAllCategories","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/Category"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 07:28:42 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"6f9a6847-810a-4e50-b826-77d5715c69d1"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"name\": \"Category 1\",\n            \"url\": \"www.test.com\",\n            \"tag\": \"test1\",\n            \"id\": 1\n        },\n        {\n            \"name\": \"Category 2\",\n            \"url\": \"www.test.com\",\n            \"tag\": \"test2\",\n            \"id\": 2\n        }\n    ],\n    \"errors\": null\n}"}],"_postman_id":"8d71ea73-ecf0-4a46-a363-ea17ec7de30c"},{"name":"GetCategoryById","id":"b74b0c8c-d7c7-4f27-bc8b-dfad18418a31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:7247/api/Category/1","description":"<p>Kategori id değeri ile ilgili kategori modelini bulmak için kullanılmaktadır. Sisteme henüz kayıt olmamış kullanıcıların da görüntüleyebilmesi için herhangi bir \"<strong>Authorize</strong>\" işlemi yapılmamıştır.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Category","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"eca69bcc-f3e1-48d6-b321-ba18f666840c","name":"GetCategoryById","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/Category/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 07:28:52 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"659aea48-c122-4cd1-9b81-dafacc4a6975"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"name\": \"Category 1\",\n        \"url\": \"www.test.com\",\n        \"tag\": \"test1\",\n        \"id\": 1\n    },\n    \"errors\": null\n}"},{"id":"68d49b8d-2d43-4076-a365-208a9e4fdf9b","name":"GetCategoryById-NotFound","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/Category/15"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 23 Jun 2023 07:29:10 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"6c97a81d-9c0c-4b26-8b17-b40440c39fe8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Data\": null,\n    \"Errors\": [\n        \"Not Found Error. Error message:Category (15) not found!\"\n    ]\n}"}],"_postman_id":"b74b0c8c-d7c7-4f27-bc8b-dfad18418a31"},{"name":"GetCategoryWithProducts","id":"39adfcd0-304a-44ce-92e3-8e7a5871eda9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:7247/api/Category/GetSingleCategoryByIdwithProducts/1","description":"<p>Kategori id değeri ile ilgili kategori modelini ürünler ile birlikte bulmak için kullanılmaktadır. Sisteme henüz kayıt olmamış kullanıcıların da görüntüleyebilmesi için herhangi bir \"<strong>Authorize</strong>\" işlemi yapılmamıştır.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Category","GetSingleCategoryByIdwithProducts","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"2cca80c2-8acc-4d43-873c-fc5cf1daa6df","name":"GetCategoryWithProducts","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/Category/GetSingleCategoryByIdwithProducts/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 07:29:41 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"b1438ac9-0744-4387-a191-571b623f8122"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"products\": [\n            {\n                \"categoryId\": 1,\n                \"name\": \"Product 1\",\n                \"stock\": 20,\n                \"price\": 100,\n                \"property\": \"Property 1\",\n                \"definition\": \"Definition 1\",\n                \"status\": 1,\n                \"isActive\": true,\n                \"earningPercentage\": 0.12,\n                \"maxPuanAmount\": 10,\n                \"id\": 1\n            },\n            {\n                \"categoryId\": 1,\n                \"name\": \"Product 2\",\n                \"stock\": 15,\n                \"price\": 200,\n                \"property\": \"Property 2\",\n                \"definition\": \"Definition 2\",\n                \"status\": 1,\n                \"isActive\": true,\n                \"earningPercentage\": 0.2,\n                \"maxPuanAmount\": 30,\n                \"id\": 2\n            }\n        ],\n        \"name\": \"Category 1\",\n        \"url\": \"www.test.com\",\n        \"tag\": \"test1\",\n        \"id\": 1\n    },\n    \"errors\": null\n}"},{"id":"53fb11b5-a43b-4c81-a484-494caa425af6","name":"GetCategoryWithProducts-NotFound","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/Category/GetSingleCategoryByIdwithProducts/15"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 23 Jun 2023 07:29:56 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"3158e510-6165-4246-80f3-bcea2aeaf22f"}],"cookie":[],"responseTime":null,"body":"{\n    \"Data\": null,\n    \"Errors\": [\n        \"Not Found Error. Error message:Category (15) not found!\"\n    ]\n}"}],"_postman_id":"39adfcd0-304a-44ce-92e3-8e7a5871eda9"},{"name":"CreateCategory","id":"30379d49-a648-4776-9c48-4d5cb8e656d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Category Postman Create\",\r\n  \"url\": \"www.category-postman-create.com\",\r\n  \"tag\": \"Category-Postman-Create\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Category","description":"<p>Yeni kategori oluşturmak için kullanılmaktadır. \"<strong>admin</strong>\" role içeren token ile işlem yapılabilmektedir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Category"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"931a3602-afac-4811-b9f0-0276687345fc","name":"CreateCategory","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Category Postman Create\",\r\n  \"url\": \"www.category-postman-create.com\",\r\n  \"tag\": \"Category-Postman-Create\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Category"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 07:30:35 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"92f24e45-7263-4620-a18d-0c7b98ab8589"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"name\": \"Category Postman Create\",\n        \"url\": \"www.category-postman-create.com\",\n        \"tag\": \"Category-Postman-Create\",\n        \"id\": 3\n    },\n    \"errors\": null\n}"}],"_postman_id":"30379d49-a648-4776-9c48-4d5cb8e656d4"},{"name":"UpdateCategory","id":"91be8c12-493d-4e0f-954e-a0f0172afa85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": 3,\r\n  \"name\": \"Category Postman Update\",\r\n  \"url\": \"www.category-postman-update.com\",\r\n  \"tag\": \"Category-Postman-Update\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Category","description":"<p>Mevcut kategoriyi güncellemek için kullanılmaktadır. \"<strong>admin</strong>\" role içeren token ile işlem yapılabilmektedir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Category"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"be0a7519-db72-430d-9cb0-e4aa833b96bd","name":"UpdateCategory","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": 3,\r\n  \"name\": \"Category Postman Update\",\r\n  \"url\": \"www.category-postman-update.com\",\r\n  \"tag\": \"Category-Postman-Update\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Category"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 23 Jun 2023 07:31:11 GMT"},{"key":"Server","value":"Kestrel"},{"key":"ResponseGuid","value":"aaacbb78-fce4-4c3c-9184-4079f1370b85"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"91be8c12-493d-4e0f-954e-a0f0172afa85"},{"name":"DeleteCategory","id":"5be1e3e1-f699-47ab-87ad-e79dd707ffdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[],"url":"https://localhost:7247/api/Category/3","description":"<p>Mevcut kategoriyi silmek için kullanılmaktadır. \"<strong>admin</strong>\" role içeren token ile işlem yapılabilmektedir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Category","3"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"8aa3ef6a-5647-4f3d-9844-b978a72023c1","name":"DeleteCategory","originalRequest":{"method":"DELETE","header":[],"url":"https://localhost:7247/api/Category/3"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 23 Jun 2023 07:32:57 GMT"},{"key":"Server","value":"Kestrel"},{"key":"ResponseGuid","value":"46a9db18-7ba8-4496-9672-8616f1568f37"}],"cookie":[],"responseTime":null,"body":null},{"id":"8a35bac2-1163-4cd6-8597-9515425f932b","name":"DeleteCategory-NotFound","originalRequest":{"method":"DELETE","header":[],"url":"https://localhost:7247/api/Category/10"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 23 Jun 2023 07:33:12 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"ff13de8e-6b0f-4238-82c9-5b8ebd45de64"}],"cookie":[],"responseTime":null,"body":"{\n    \"Data\": null,\n    \"Errors\": [\n        \"Not Found Error. Error message:Category (10) not found!\"\n    ]\n}"}],"_postman_id":"5be1e3e1-f699-47ab-87ad-e79dd707ffdf"}],"id":"e40976c6-3128-456f-9368-b1a0b48791d1","_postman_id":"e40976c6-3128-456f-9368-b1a0b48791d1","description":""},{"name":"ProductController","item":[{"name":"GetAllProducts","id":"acbd26e4-7383-4650-8634-370ef7024e58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:7247/api/Product","description":"<p>Tüm ürünleri listelemek için kullanılmaktadır. Sisteme henüz kayıt olmamış kullanıcıların da görüntüleyebilmesi için herhangi bir \"<strong>Authorize</strong>\" işlemi yapılmamıştır.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Product"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"86cbefba-21f0-4c8f-9d61-1d080c27c3c9","name":"GetAllProducts","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/Product"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 07:33:42 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"8f1dd937-a59c-4d45-a666-a9fbe12c79e9"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"categoryId\": 1,\n            \"name\": \"Product 1\",\n            \"stock\": 20,\n            \"price\": 100,\n            \"property\": \"Property 1\",\n            \"definition\": \"Definition 1\",\n            \"status\": 1,\n            \"isActive\": true,\n            \"earningPercentage\": 0.12,\n            \"maxPuanAmount\": 10,\n            \"id\": 1\n        },\n        {\n            \"categoryId\": 1,\n            \"name\": \"Product 2\",\n            \"stock\": 15,\n            \"price\": 200,\n            \"property\": \"Property 2\",\n            \"definition\": \"Definition 2\",\n            \"status\": 1,\n            \"isActive\": true,\n            \"earningPercentage\": 0.2,\n            \"maxPuanAmount\": 30,\n            \"id\": 2\n        },\n        {\n            \"categoryId\": 2,\n            \"name\": \"Product 3\",\n            \"stock\": 8,\n            \"price\": 50,\n            \"property\": \"Property 3\",\n            \"definition\": \"Definition 3\",\n            \"status\": 1,\n            \"isActive\": true,\n            \"earningPercentage\": 0.2,\n            \"maxPuanAmount\": 8,\n            \"id\": 3\n        }\n    ],\n    \"errors\": null\n}"}],"_postman_id":"acbd26e4-7383-4650-8634-370ef7024e58"},{"name":"GetProductById","id":"16c4b7dc-daae-46e7-b92d-8c6e3634f518","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:7247/api/Product/1","description":"<p>Product id değeri ile ilgili ürün modelini bulmak için kullanılmaktadır. Sisteme henüz kayıt olmamış kullanıcıların da görüntüleyebilmesi için herhangi bir \"<strong>Authorize</strong>\" işlemi yapılmamıştır.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Product","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9319a471-dd38-451d-b2a9-3e68922c2d3c","name":"GetProductById","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/Product/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 07:33:56 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"45260ddc-6c56-420c-8547-4286e1f0719f"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"categoryId\": 1,\n        \"name\": \"Product 1\",\n        \"stock\": 20,\n        \"price\": 100,\n        \"property\": \"Property 1\",\n        \"definition\": \"Definition 1\",\n        \"status\": 1,\n        \"isActive\": true,\n        \"earningPercentage\": 0.12,\n        \"maxPuanAmount\": 10,\n        \"id\": 1\n    },\n    \"errors\": null\n}"},{"id":"b0a2bf4a-561c-4f69-aa31-8875b2ac74cc","name":"GetProductById-NotFound","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/Product/15"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 23 Jun 2023 07:34:08 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"9d93b02a-fe6d-486b-9a53-2844ab978c90"}],"cookie":[],"responseTime":null,"body":"{\n    \"Data\": null,\n    \"Errors\": [\n        \"Not Found Error. Error message:Product (15) not found!\"\n    ]\n}"}],"_postman_id":"16c4b7dc-daae-46e7-b92d-8c6e3634f518"},{"name":"GetProductsByStatus","id":"57362d48-0b86-46ec-8302-9a7fa2aec368","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://localhost:7247/api/Product/GetProductsByStatus?status=1","description":"<p>Ürünlerin \"<strong>Status</strong>\" değerine göre listeleme yapabilmek için kullanılmaktadır. \"<strong>admin</strong>\" role içeren token ile işlem yapılabilmektedir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Product","GetProductsByStatus"],"host":["localhost"],"query":[{"key":"status","value":"1"}],"variable":[]}},"response":[{"id":"efb09f60-290a-41ce-8f6e-4552aefe48b9","name":"GetProductsByStatus","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://localhost:7247/api/Product/GetProductsByStatus?status=1","protocol":"https","host":["localhost"],"port":"7247","path":["api","Product","GetProductsByStatus"],"query":[{"key":"status","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 07:34:56 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"b5195a65-b5b9-4277-9758-0b17cb52f06c"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"categoryId\": 1,\n            \"name\": \"Product 1\",\n            \"stock\": 20,\n            \"price\": 100,\n            \"property\": \"Property 1\",\n            \"definition\": \"Definition 1\",\n            \"status\": 1,\n            \"isActive\": true,\n            \"earningPercentage\": 0.12,\n            \"maxPuanAmount\": 10,\n            \"id\": 1\n        },\n        {\n            \"categoryId\": 1,\n            \"name\": \"Product 2\",\n            \"stock\": 15,\n            \"price\": 200,\n            \"property\": \"Property 2\",\n            \"definition\": \"Definition 2\",\n            \"status\": 1,\n            \"isActive\": true,\n            \"earningPercentage\": 0.2,\n            \"maxPuanAmount\": 30,\n            \"id\": 2\n        },\n        {\n            \"categoryId\": 2,\n            \"name\": \"Product 3\",\n            \"stock\": 8,\n            \"price\": 50,\n            \"property\": \"Property 3\",\n            \"definition\": \"Definition 3\",\n            \"status\": 1,\n            \"isActive\": true,\n            \"earningPercentage\": 0.2,\n            \"maxPuanAmount\": 8,\n            \"id\": 3\n        }\n    ],\n    \"errors\": null\n}"}],"_postman_id":"57362d48-0b86-46ec-8302-9a7fa2aec368"},{"name":"CreateProduct","id":"667c4a88-8604-4625-873b-3706683c9ac9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"categoryId\": 2,\r\n  \"name\": \"Product Postman Create 10\",\r\n  \"stock\": 10,\r\n  \"price\": 500,\r\n  \"property\": \"Property Postman Create\",\r\n  \"definition\": \"Definition Postman Create\",\r\n  \"status\": 1,\r\n  \"isActive\": true,\r\n  \"earningPercentage\": 0.12,\r\n  \"maxPuanAmount\": 50\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Product","description":"<p>Yeni ürün oluşturmak için kullanılmaktadır. \"<strong>admin</strong>\" role içeren token ile işlem yapılabilmektedir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Product"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"cdd08ec1-4650-49c6-803f-5c2284d0a941","name":"CreateProduct","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"categoryId\": 2,\r\n  \"name\": \"Product Postman Create 10\",\r\n  \"stock\": 10,\r\n  \"price\": 500,\r\n  \"property\": \"Property Postman Create\",\r\n  \"definition\": \"Definition Postman Create\",\r\n  \"status\": 1,\r\n  \"isActive\": true,\r\n  \"earningPercentage\": 0.12,\r\n  \"maxPuanAmount\": 50\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Product"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 07:35:40 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"bb4573cf-ee29-46de-87dc-783c4f96e541"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"categoryId\": 2,\n        \"name\": \"Product Postman Create 10\",\n        \"stock\": 10,\n        \"price\": 500,\n        \"property\": \"Property Postman Create\",\n        \"definition\": \"Definition Postman Create\",\n        \"status\": 1,\n        \"isActive\": true,\n        \"earningPercentage\": 0.12,\n        \"maxPuanAmount\": 50,\n        \"id\": 5\n    },\n    \"errors\": null\n}"}],"_postman_id":"667c4a88-8604-4625-873b-3706683c9ac9"},{"name":"UpdateProduct","id":"f9ab5baf-a582-44d7-99a7-f880857bd1bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": 5,\r\n  \"categoryId\": 1,\r\n  \"name\": \"Product Postman Update\",\r\n  \"stock\": 20,\r\n  \"price\": 150,\r\n  \"property\": \"Property Postman Update\",\r\n  \"definition\": \"Definiton Postman Update\",\r\n  \"status\": 1,\r\n  \"isActive\": true,\r\n  \"earningPercentage\": 0.10,\r\n  \"maxPuanAmount\": 12\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Product","description":"<p>Mevcut ürünü güncellemek için kullanılmaktadır. \"<strong>admin</strong>\" role içeren token ile işlem yapılabilmektedir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Product"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"429ab1a5-ca82-42ba-a4ea-ece505f2f804","name":"UpdateProduct","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": 5,\r\n  \"categoryId\": 1,\r\n  \"name\": \"Product Postman Update\",\r\n  \"stock\": 20,\r\n  \"price\": 150,\r\n  \"property\": \"Property Postman Update\",\r\n  \"definition\": \"Definiton Postman Update\",\r\n  \"status\": 1,\r\n  \"isActive\": true,\r\n  \"earningPercentage\": 0.10,\r\n  \"maxPuanAmount\": 12\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Product"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 23 Jun 2023 07:36:32 GMT"},{"key":"Server","value":"Kestrel"},{"key":"ResponseGuid","value":"7b52209f-5502-4d9c-ab72-a6cd75a55d40"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"f9ab5baf-a582-44d7-99a7-f880857bd1bb"},{"name":"IncreaseOrDecreaseStock","id":"54ca9ad8-6329-4edd-8c6f-994020de3abd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": 5,\r\n  \"stockChange\": -5\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Product/IncreaseOrDecreaseStock","description":"<p>Mevcut ürünün stok durumunu güncellemek için kullanılmaktadır. \"<strong>admin</strong>\" role içeren token ile işlem yapılabilmektedir. Örneğin; ürün stok artırmak için \"<strong>5</strong>\" azaltmak için \"<strong>-5</strong>\" yazarak stok miktarını güncelleyebiliriz. Stok değerinin \"<strong>0</strong>\" altına inmemesi için gerekli kontroller yapılmıştır.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Product","IncreaseOrDecreaseStock"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9c4e98d4-5d3b-4022-bc75-9371c23419bc","name":"IncreaseOrDecreaseStock","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": 5,\r\n  \"stockChange\": -5\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Product/IncreaseOrDecreaseStock"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 07:37:01 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"5abcd228-b8c5-49b0-8293-b9b1f865fe64"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"categoryId\": 1,\n        \"name\": \"Product Postman Update\",\n        \"stock\": 15,\n        \"price\": 150,\n        \"property\": \"Property Postman Update\",\n        \"definition\": \"Definiton Postman Update\",\n        \"status\": 1,\n        \"isActive\": true,\n        \"earningPercentage\": 0.1,\n        \"maxPuanAmount\": 12,\n        \"id\": 5\n    },\n    \"errors\": null\n}"},{"id":"abc1aa85-b7d1-420a-879c-308bea572b8c","name":"IncreaseOrDecreaseStock-NotFound","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": 15,\r\n  \"stockChange\": -5\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Product/IncreaseOrDecreaseStock"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 23 Jun 2023 07:37:24 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"f21e0372-b283-4db4-9f30-efdcf1568eaa"}],"cookie":[],"responseTime":null,"body":"{\n    \"Data\": null,\n    \"Errors\": [\n        \"Product didn't update in the database. Error message:Product with (15) not found!\"\n    ]\n}"},{"id":"6433bec3-bbc1-40d0-a8ce-bb5c10a52c37","name":"IncreaseOrDecreaseStock-StockError","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": 2,\r\n  \"stockChange\": -50\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Product/IncreaseOrDecreaseStock"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 23 Jun 2023 07:47:25 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"aed50337-9021-433b-843b-cf393e7165c9"}],"cookie":[],"responseTime":null,"body":"{\n    \"Data\": null,\n    \"Errors\": [\n        \"Product didn't update in the database. Error message:Product stock cannot be less than 0!\"\n    ]\n}"}],"_postman_id":"54ca9ad8-6329-4edd-8c6f-994020de3abd"},{"name":"DeleteProduct","id":"6db04e70-bd3c-4ead-9b1e-5029b12d99f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[],"url":"https://localhost:7247/api/Product/5","description":"<p>Mevcut ürünü silmek için kullanılmaktadır. \"<strong>admin</strong>\" role içeren token ile işlem yapılabilmektedir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Product","5"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"cdc32451-d1ac-4732-bee3-b62fe935c2e5","name":"DeleteProduct","originalRequest":{"method":"DELETE","header":[],"url":"https://localhost:7247/api/Product/5"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 23 Jun 2023 07:37:55 GMT"},{"key":"Server","value":"Kestrel"},{"key":"ResponseGuid","value":"2df17e4e-eb44-4944-b21e-84ea8892478b"}],"cookie":[],"responseTime":null,"body":null},{"id":"38c5a4ae-1a1e-475b-861b-0ee718d9c5db","name":"DeleteProduct","originalRequest":{"method":"DELETE","header":[],"url":"https://localhost:7247/api/Product/55"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 23 Jun 2023 07:38:06 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"9931654e-e574-4163-a338-b317bb901fb0"}],"cookie":[],"responseTime":null,"body":"{\n    \"Data\": null,\n    \"Errors\": [\n        \"Not Found Error. Error message:Product (55) not found!\"\n    ]\n}"}],"_postman_id":"6db04e70-bd3c-4ead-9b1e-5029b12d99f3"}],"id":"4958a23a-f0c5-4bdf-995b-5d39d7a89b94","_postman_id":"4958a23a-f0c5-4bdf-995b-5d39d7a89b94","description":""},{"name":"CouponController","item":[{"name":"GetAllCoupons","id":"cf84ea7f-3caa-4126-8221-4150331f5e16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://localhost:7247/api/Coupon","description":"<p>Sistemdeki tüm kuponları listelemek için kullanılır. \"<strong>admin</strong>\" role içeren token ile işlem yapılabilmektedir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Coupon"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"ddb7d728-ac92-4812-b254-ffbd8e2c8d08","name":"GetAllCoupons","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/Coupon"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 07:58:36 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"fd37b317-28ad-44f2-a429-3b5dea720ec5"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"couponCode\": \"35XBLADJNB\",\n            \"discountAmount\": 50,\n            \"expirationDate\": \"2023-07-03T10:58:10.5670904\",\n            \"isActive\": true,\n            \"userId\": \"8c6bd8b9-3a48-421f-8601-c45645d115e2\",\n            \"id\": 1\n        }\n    ],\n    \"errors\": null\n}"}],"_postman_id":"cf84ea7f-3caa-4126-8221-4150331f5e16"},{"name":"CreateCoupon","id":"cf0fff06-ae86-4fda-8ea3-21954f8c1fae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userId\": \"8c6bd8b9-3a48-421f-8601-c45645d115e2\",\r\n  \"discountAmount\": 50,\r\n  \"expirationDay\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Coupon","description":"<p>Kupon oluşturmak için kullanılır. \"<strong>admin</strong>\" role içeren token ile işlem yapılabilmektedir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Coupon"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"a13abd30-77cb-4e0b-8d2c-b5a4ff20141b","name":"CreateCoupon","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userId\": \"8c6bd8b9-3a48-421f-8601-c45645d115e2\",\r\n  \"discountAmount\": 50,\r\n  \"expirationDay\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Coupon"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 07:58:09 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"a58b357a-138b-4d3c-b22e-f0fc01044caa"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"couponCode\": \"35XBLADJNB\",\n        \"discountAmount\": 50,\n        \"expirationDate\": \"2023-07-03T10:58:10.5670904+03:00\",\n        \"isActive\": true,\n        \"userId\": \"8c6bd8b9-3a48-421f-8601-c45645d115e2\",\n        \"id\": 1\n    },\n    \"errors\": null\n}"}],"_postman_id":"cf0fff06-ae86-4fda-8ea3-21954f8c1fae"},{"name":"DeleteCoupon","id":"8c08fb42-f36d-4a00-b39d-4522b65231dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[],"url":"https://localhost:7247/api/Coupon/1","description":"<p>Sistemdeki ilgili id değerine sahip kuponu silmek için kullanılır. \"<strong>admin</strong>\" role içeren token ile işlem yapılabilmektedir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Coupon","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"c0663f1d-5638-4786-b2ea-0092bceecd29","name":"DeleteCoupon","originalRequest":{"method":"DELETE","header":[],"url":"https://localhost:7247/api/Coupon/1"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 23 Jun 2023 07:59:14 GMT"},{"key":"Server","value":"Kestrel"},{"key":"ResponseGuid","value":"d5ea7827-0181-4371-b41c-af4b64303180"}],"cookie":[],"responseTime":null,"body":null},{"id":"77009c66-4cca-460b-844b-9b86a5a86c56","name":"DeleteCoupon-NotFound","originalRequest":{"method":"DELETE","header":[],"url":"https://localhost:7247/api/Coupon/15"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 23 Jun 2023 07:59:31 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"ac6fc896-f335-47c6-9f26-e4166111956c"}],"cookie":[],"responseTime":null,"body":"{\n    \"Data\": null,\n    \"Errors\": [\n        \"Not Found Error. Error message:Coupon (15) not found!\"\n    ]\n}"}],"_postman_id":"8c08fb42-f36d-4a00-b39d-4522b65231dc"}],"id":"f985c253-8244-42db-a581-2792edf6c25a","_postman_id":"f985c253-8244-42db-a581-2792edf6c25a","description":""},{"name":"BasketController","item":[{"name":"GetBasket","id":"ca292e50-c399-4b92-99b8-b1ff893ad77d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://localhost:7247/api/Basket","description":"<p>Kullanıcının sepetini görüntülemek için kullanılır. Token üzerinden alınan \"<strong>userId</strong>\" değeri ile \"<strong>Redis</strong>\"'e kaydedilen sepet değeri görüntülenir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Basket"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"f71d7523-2b0f-4dd0-abed-97c30818d283","name":"GetBasket","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/Basket"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 08:04:00 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"84425875-71c6-4fbf-9bb9-78f70d48ad20"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"basketItems\": [\n            {\n                \"productId\": 1,\n                \"quantity\": 5,\n                \"unitPrice\": 100\n            }\n        ],\n        \"totalPrice\": 500\n    },\n    \"errors\": null\n}"},{"id":"08b7c5a5-ee40-48e9-94c8-87d567ae8437","name":"GetBasket-NotFound","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/Basket"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 23 Jun 2023 08:05:27 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"b379ae1e-38c5-4d1d-b466-a84fe7c2dfb9"}],"cookie":[],"responseTime":null,"body":"{\n    \"Data\": null,\n    \"Errors\": [\n        \"Not Found Error. Error message:Basket with id (1a92c851-f0d5-47d3-8907-cef3732b255d) didn't find in the database.\"\n    ]\n}"}],"_postman_id":"ca292e50-c399-4b92-99b8-b1ff893ad77d"},{"name":"CreateOrUpdateBasket","id":"6181b894-60c1-40cb-86e2-167817f81eec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"basketItems\": [\r\n    {\r\n      \"productId\": 1,\r\n      \"quantity\": 5,\r\n      \"unitPrice\": 100\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Basket","description":"<p>Kullanıcının sepetini ilk defa kaydetmesi veya güncelleyebilmesi için kullanılır. Token üzerinden alınan \"<strong>userId</strong>\" değeri ile \"<strong>Redis</strong>\"'e kaydedilir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Basket"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"cc4d7cee-2527-4084-a6ed-55b6b2b0b53f","name":"CreateOrUpdateBasket","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"basketItems\": [\r\n    {\r\n      \"productId\": 1,\r\n      \"quantity\": 5,\r\n      \"unitPrice\": 100\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Basket"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 23 Jun 2023 08:03:42 GMT"},{"key":"Server","value":"Kestrel"},{"key":"ResponseGuid","value":"1046f88c-89ae-4a54-b40b-58307f2138c4"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"6181b894-60c1-40cb-86e2-167817f81eec"},{"name":"CheckOutBasketWithRabbitMQ","id":"25a4adf2-7163-4ff3-ba30-703f18078ff0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"couponCode\": \"H4CO94KEKC\",\r\n  \"creditCard\": {\r\n    \"cardNumber\": \"1412112525662255\",\r\n    \"cvv\": \"055\",\r\n    \"expiryMonth\": \"05\",\r\n    \"expiryYear\": \"2025\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Basket/CheckOut","description":"<p>RabbitMQ kullanılarak (asenkron) order modeli oluşturabilmek için kullanılır. Buradan gönderilen mesaj \"<strong>CreateOrderMessageCommandConsumer</strong>\" sınıfında dinlenerek order servisi içerisindeki \"<strong>CreateOrderAsync</strong>\" metoduna gönderilmektedir. Ayrıca OrderContoller içerisinde de senkron olarak order model oluşturabilmek için \"<strong>Save</strong>\" endpoint'i yer almaktadır. \"CouponCode\" değeri \"\" şeklinde boş gönderildiğinde kuponsuz olarak kayıt işlemi yapılabilmektedir. Ayrıca kredi kartı \"<strong>CreateOrderMessageCommandConsumer</strong>\" sınıfında direkt olarak hashlenerek devam edilmiştir. Canlı sistemlerde Stripe.net vs. sistemler kullanılarak token oluşturulup bu token ile ödeme süreci yönetilmektedir. Ancak proje kapsamında \"<strong>BCrypt.Net</strong>\" paketi kullanarak sadece hashleme işlemi yapılmıştır.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Basket","CheckOut"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"4bfdafa0-2f96-493f-8649-e1d360224c0b","name":"CheckOutBasketWithRabbitMQ","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"couponCode\": \"H4CO94KEKC\",\r\n  \"creditCard\": {\r\n    \"cardNumber\": \"1412112525662255\",\r\n    \"cvv\": \"055\",\r\n    \"expiryMonth\": \"05\",\r\n    \"expiryYear\": \"2025\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Basket/CheckOut"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 23 Jun 2023 08:07:54 GMT"},{"key":"Server","value":"Kestrel"},{"key":"ResponseGuid","value":"448c7c2a-94c4-42e8-ba33-7d10afaea283"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"25a4adf2-7163-4ff3-ba30-703f18078ff0"},{"name":"DeleteBasket","id":"8d481850-c5cb-4a5d-afe4-4c0252a69648","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[],"url":"https://localhost:7247/api/Basket","description":"<p>Kullanıcının sepetini silebilmesi için kullanılır. Token üzerinden alınan \"<strong>userId</strong>\" değeri ile \"<strong>Redis</strong>\"'e kaydedilen sepet değeri silinir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Basket"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"2cc82df2-3544-460b-b72a-a0ec2da39708","name":"DeleteBasket","originalRequest":{"method":"DELETE","header":[],"url":"https://localhost:7247/api/Basket"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 23 Jun 2023 08:04:20 GMT"},{"key":"Server","value":"Kestrel"},{"key":"ResponseGuid","value":"9c847b2a-1b9e-4613-afe3-c40c8c5bf6e5"}],"cookie":[],"responseTime":null,"body":null},{"id":"dc5e8e12-2115-4c06-bc67-48775ab03cde","name":"DeleteBasket-NotFound","originalRequest":{"method":"DELETE","header":[],"url":"https://localhost:7247/api/Basket"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 23 Jun 2023 08:05:50 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"2a50cdd7-f2f5-4aa3-a4d2-d74543ebb290"}],"cookie":[],"responseTime":null,"body":"{\n    \"Data\": null,\n    \"Errors\": [\n        \"Basket didn't delete in the redis. Error message:Basket with id (1a92c851-f0d5-47d3-8907-cef3732b255d) didn't find in the database.\"\n    ]\n}"}],"_postman_id":"8d481850-c5cb-4a5d-afe4-4c0252a69648"}],"id":"620f012b-9d9a-4522-aff7-a60fbb01e9e1","_postman_id":"620f012b-9d9a-4522-aff7-a60fbb01e9e1","description":""},{"name":"OrderController","item":[{"name":"GetAllOrders","id":"cedee47d-47ab-48d2-bae8-c7972524df7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://localhost:7247/api/Order","description":"<p>Sistemdeki tüm siparişlerin listelenmesi için kullanılır. Sadece \"<strong>admin</strong>\" rol içeren tokena sahip kullanıcılar tarafından kullanılabilir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Order"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"b05f75f6-9f4f-42d4-b0c9-30e51a259a61","name":"GetAllOrders","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/Order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 08:27:09 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"27b612dc-aa54-4124-a18a-0220b3239e6a"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"orderNumber\": \"610328060\",\n            \"status\": \"Pending\",\n            \"isActive\": true,\n            \"totalAmount\": 500,\n            \"billingAmount\": 300,\n            \"couponAmount\": 50,\n            \"walletAmount\": 150,\n            \"couponCode\": \"H4CO94KEKC\",\n            \"userId\": \"8c6bd8b9-3a48-421f-8601-c45645d115e2\",\n            \"orderDetails\": [\n                {\n                    \"productId\": 1,\n                    \"quantity\": 5,\n                    \"unitPrice\": 100\n                }\n            ],\n            \"id\": 1\n        },\n        {\n            \"orderNumber\": \"215689791\",\n            \"status\": \"Pending\",\n            \"isActive\": true,\n            \"totalAmount\": 500,\n            \"billingAmount\": 464,\n            \"couponAmount\": 0,\n            \"walletAmount\": 36,\n            \"couponCode\": \"No Coupon\",\n            \"userId\": \"8c6bd8b9-3a48-421f-8601-c45645d115e2\",\n            \"orderDetails\": [\n                {\n                    \"productId\": 2,\n                    \"quantity\": 5,\n                    \"unitPrice\": 100\n                }\n            ],\n            \"id\": 2\n        },\n        {\n            \"orderNumber\": \"245810724\",\n            \"status\": \"Pending\",\n            \"isActive\": true,\n            \"totalAmount\": 300,\n            \"billingAmount\": 250,\n            \"couponAmount\": 0,\n            \"walletAmount\": 50,\n            \"couponCode\": \"No Coupon\",\n            \"userId\": \"1a92c851-f0d5-47d3-8907-cef3732b255d\",\n            \"orderDetails\": [\n                {\n                    \"productId\": 1,\n                    \"quantity\": 1,\n                    \"unitPrice\": 100\n                },\n                {\n                    \"productId\": 2,\n                    \"quantity\": 1,\n                    \"unitPrice\": 200\n                }\n            ],\n            \"id\": 3\n        }\n    ],\n    \"errors\": null\n}"}],"_postman_id":"cedee47d-47ab-48d2-bae8-c7972524df7f"},{"name":"GetOrdersByUserId","id":"5e06de5d-587c-4fda-b232-f00994d86705","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://localhost:7247/api/Order/GetByUserId","description":"<p>Kullanıcının kendi sipariş veya siparişlerini görüntüleyebilmesi için kullanılmaktadır. Token üzerinden \"<strong>userId</strong>\" değeri ile sistemdeki ilgili siparişlere ulaşılmaktadır.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Order","GetByUserId"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d189be5b-2a39-4081-b495-7153c348a6b9","name":"GetOrdersByUserId","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/Order/GetByUserId"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 08:27:37 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"7c25e511-791f-4870-8b67-d1c6e2455b66"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"orderNumber\": \"245810724\",\n            \"status\": \"Pending\",\n            \"isActive\": true,\n            \"totalAmount\": 300,\n            \"billingAmount\": 250,\n            \"couponAmount\": 0,\n            \"walletAmount\": 50,\n            \"couponCode\": \"No Coupon\",\n            \"userId\": \"1a92c851-f0d5-47d3-8907-cef3732b255d\",\n            \"orderDetails\": [\n                {\n                    \"productId\": 1,\n                    \"quantity\": 1,\n                    \"unitPrice\": 100\n                },\n                {\n                    \"productId\": 2,\n                    \"quantity\": 1,\n                    \"unitPrice\": 200\n                }\n            ],\n            \"id\": 3\n        }\n    ],\n    \"errors\": null\n}"}],"_postman_id":"5e06de5d-587c-4fda-b232-f00994d86705"},{"name":"GetOrderById","id":"55c9e69b-86fe-4912-a9eb-7fc0f32112b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://localhost:7247/api/Order/1","description":"<p>Sistemdeki ilgili id değerine sahip siparişin görüntülenmesi için kullanılır. Sadece \"<strong>admin</strong>\" rol içeren tokena sahip kullanıcılar tarafından kullanılabilir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Order","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"7758950e-6d0f-4589-a7c2-f2df0d1e22c5","name":"GetOrderById","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/Order/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 08:24:50 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"47d9d5ef-ad1a-498c-b2e8-3d693808dec9"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"orderNumber\": \"610328060\",\n        \"status\": \"Pending\",\n        \"isActive\": true,\n        \"totalAmount\": 500,\n        \"billingAmount\": 300,\n        \"couponAmount\": 50,\n        \"walletAmount\": 150,\n        \"couponCode\": \"H4CO94KEKC\",\n        \"userId\": \"8c6bd8b9-3a48-421f-8601-c45645d115e2\",\n        \"orderDetails\": [\n            {\n                \"productId\": 1,\n                \"quantity\": 5,\n                \"unitPrice\": 100\n            }\n        ],\n        \"id\": 1\n    },\n    \"errors\": null\n}"},{"id":"8a24f53c-4c78-4a58-a104-c117e431afdd","name":"GetOrderById-NotFound","originalRequest":{"method":"GET","header":[],"url":"https://localhost:7247/api/Order/15"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 23 Jun 2023 08:29:12 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"83464990-7615-4ef8-968e-30c0db5e5547"}],"cookie":[],"responseTime":null,"body":"{\n    \"Data\": null,\n    \"Errors\": [\n        \"Not Found Error. Error message:Order (15) not found!\"\n    ]\n}"}],"_postman_id":"55c9e69b-86fe-4912-a9eb-7fc0f32112b2"},{"name":"GetOrdersByStatus","id":"22710701-5b47-4add-b896-f04f40488adf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://localhost:7247/api/Order/GetOrdersByStatus?status=1","description":"<p>Sistemdeki ilgili \"<strong>Status</strong>\" durumuna ait siparişlerin listelenmesi için kullanılır. Sadece \"<strong>admin</strong>\" rol içeren tokena sahip kullanıcılar tarafından kullanılabilir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Order","GetOrdersByStatus"],"host":["localhost"],"query":[{"key":"status","value":"1"}],"variable":[]}},"response":[{"id":"c23d862d-6a81-4276-8a36-7dd8107600bc","name":"GetOrdersByStatus","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://localhost:7247/api/Order/GetOrdersByStatus?status=1","protocol":"https","host":["localhost"],"port":"7247","path":["api","Order","GetOrdersByStatus"],"query":[{"key":"status","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 08:25:18 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"b3bfc567-c1a8-440a-82c2-ebe064e96a16"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"orderNumber\": \"610328060\",\n            \"status\": \"Pending\",\n            \"isActive\": true,\n            \"totalAmount\": 500,\n            \"billingAmount\": 300,\n            \"couponAmount\": 50,\n            \"walletAmount\": 150,\n            \"couponCode\": \"H4CO94KEKC\",\n            \"userId\": \"8c6bd8b9-3a48-421f-8601-c45645d115e2\",\n            \"orderDetails\": [\n                {\n                    \"productId\": 1,\n                    \"quantity\": 5,\n                    \"unitPrice\": 100\n                }\n            ],\n            \"id\": 1\n        },\n        {\n            \"orderNumber\": \"215689791\",\n            \"status\": \"Pending\",\n            \"isActive\": true,\n            \"totalAmount\": 500,\n            \"billingAmount\": 464,\n            \"couponAmount\": 0,\n            \"walletAmount\": 36,\n            \"couponCode\": \"No Coupon\",\n            \"userId\": \"8c6bd8b9-3a48-421f-8601-c45645d115e2\",\n            \"orderDetails\": [\n                {\n                    \"productId\": 2,\n                    \"quantity\": 5,\n                    \"unitPrice\": 100\n                }\n            ],\n            \"id\": 2\n        }\n    ],\n    \"errors\": null\n}"}],"_postman_id":"22710701-5b47-4add-b896-f04f40488adf"},{"name":"CreateOrderWithoutRabbitMQ","id":"5cb30c4e-a2fd-446b-ab98-6ea05d1d316b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"couponCode\": \"\",\r\n  \"orderDetails\": [\r\n    {\r\n      \"productId\": 1,\r\n      \"quantity\": 1,\r\n      \"unitPrice\": 100\r\n    },\r\n    {\r\n      \"productId\": 2,\r\n      \"quantity\": 1,\r\n      \"unitPrice\": 200\r\n    }\r\n  ],\r\n  \"creditCard\": {\r\n    \"cardNumber\": \"1412112525662255\",\r\n    \"cvv\": \"055\",\r\n    \"expiryMonth\": \"05\",\r\n    \"expiryYear\": \"2025\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Order","description":"<p>RabbitMQ kullanılmadan (senkron) order modeli oluşturabilmek için kullanılır. Bu metot ile order servisi içerisindeki \"<strong>CreateOrderAsync</strong>\" metodu çalıştırılmaktadır. \"<strong>CouponCode</strong>\" değeri \"\" şeklinde boş gönderildiğinde kuponsuz olarak kayıt işlemi yapılabilmektedir. Ayrıca kredi kartı controller'da direkt olarak hashlenerek devam edilmiştir. Canlı sistemlerde Stripe.net vs. sistemler kullanılarak token oluşturulup bu token ile ödeme süreci yönetilmektedir. Ancak proje kapsamında \"<strong>BCrypt.Net</strong>\" paketi kullanarak sadece hashleme işlemi yapılmıştır.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Order"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"e7c46f56-b31d-4a3a-8c1e-32420ffbf623","name":"CreateOrderWithoutRabbitMQ","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"couponCode\": \"\",\r\n  \"orderDetails\": [\r\n    {\r\n      \"productId\": 1,\r\n      \"quantity\": 1,\r\n      \"unitPrice\": 100\r\n    },\r\n    {\r\n      \"productId\": 2,\r\n      \"quantity\": 1,\r\n      \"unitPrice\": 200\r\n    }\r\n  ],\r\n  \"creditCard\": {\r\n    \"cardNumber\": \"1412112525662255\",\r\n    \"cvv\": \"055\",\r\n    \"expiryMonth\": \"05\",\r\n    \"expiryYear\": \"2025\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:7247/api/Order"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 08:26:44 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"3b5f489d-2670-4c19-a408-cb3a0e981c48"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"orderNumber\": \"245810724\",\n        \"status\": \"Pending\",\n        \"isActive\": true,\n        \"totalAmount\": 300,\n        \"billingAmount\": 250,\n        \"couponAmount\": 0,\n        \"walletAmount\": 50,\n        \"couponCode\": \"No Coupon\",\n        \"userId\": \"1a92c851-f0d5-47d3-8907-cef3732b255d\",\n        \"orderDetails\": [\n            {\n                \"productId\": 1,\n                \"quantity\": 1,\n                \"unitPrice\": 100\n            },\n            {\n                \"productId\": 2,\n                \"quantity\": 1,\n                \"unitPrice\": 200\n            }\n        ],\n        \"id\": 3\n    },\n    \"errors\": null\n}"}],"_postman_id":"5cb30c4e-a2fd-446b-ab98-6ea05d1d316b"},{"name":"UpdateOrderStatus","id":"4f495805-941a-465e-9d70-fdbd9c8d5c06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://localhost:7247/api/Order/UpdateStatus/3?status=3","description":"<p>Sistemdeki ilgili siparişin \"<strong>Status</strong>\" değerinin güncellenmesi için kullanılmaktadır. Sadece \"<strong>admin</strong>\" rol içeren tokena sahip kullanıcılar tarafından kullanılabilir.</p>\n","urlObject":{"protocol":"https","port":"7247","path":["api","Order","UpdateStatus","3"],"host":["localhost"],"query":[{"key":"status","value":"3"}],"variable":[]}},"response":[{"id":"6c9b68ae-1689-440e-82d0-9b6804477f7c","name":"UpdateOrderStatus","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://localhost:7247/api/Order/UpdateStatus/3?status=3","protocol":"https","host":["localhost"],"port":"7247","path":["api","Order","UpdateStatus","3"],"query":[{"key":"status","value":"3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 23 Jun 2023 08:28:53 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"ResponseGuid","value":"b2bcc480-0a4e-4fd6-882f-8a955c6cf2e2"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"orderNumber\": \"245810724\",\n        \"status\": \"Shipped\",\n        \"isActive\": true,\n        \"totalAmount\": 300,\n        \"billingAmount\": 250,\n        \"couponAmount\": 0,\n        \"walletAmount\": 50,\n        \"couponCode\": \"No Coupon\",\n        \"userId\": \"1a92c851-f0d5-47d3-8907-cef3732b255d\",\n        \"orderDetails\": [\n            {\n                \"productId\": 1,\n                \"quantity\": 1,\n                \"unitPrice\": 100\n            },\n            {\n                \"productId\": 2,\n                \"quantity\": 1,\n                \"unitPrice\": 200\n            }\n        ],\n        \"id\": 3\n    },\n    \"errors\": null\n}"}],"_postman_id":"4f495805-941a-465e-9d70-fdbd9c8d5c06"}],"id":"beeb4cea-6008-4fe3-a3d7-ab34c4810e0e","_postman_id":"beeb4cea-6008-4fe3-a3d7-ab34c4810e0e","description":""}]}