{"info":{"_postman_id":"d53eefdf-5f2d-4066-8d89-67cbbeca4de5","name":"ma-restapi","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"14214753","collectionId":"d53eefdf-5f2d-4066-8d89-67cbbeca4de5","publishedId":"VVk9eGNt","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-09-10T19:23:27.000Z"},"item":[{"name":"seller","item":[{"name":"create","id":"f3021a2a-2316-4f55-b9db-4bddc9c8df8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"testing\",\r\n    \"price\": \"600$\",\r\n    \"qty\": 5,\r\n    \"seller\": \"asasa\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3333/api/seller/item/create","urlObject":{"protocol":"http","port":"3333","path":["api","seller","item","create"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"e8fb5206-0ee2-4306-8bf1-7adf5d515b80","name":"res","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"adsad\",\r\n    \"price\": \"500$\",\r\n    \"qty\": 3,\r\n    \"seller\": \"asasa\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3333/api/seller/item/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"97"},{"key":"ETag","value":"W/\"61-cfEMozW2qOu4uZw8Q3d2di0qVrM\""},{"key":"Date","value":"Sat, 10 Sep 2022 19:12:22 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"adsad\",\n    \"price\": \"500$\",\n    \"qty\": 3,\n    \"seller\": \"asasa\",\n    \"_id\": \"631ce196de61d14cb9e31ecf\",\n    \"__v\": 0\n}"}],"_postman_id":"f3021a2a-2316-4f55-b9db-4bddc9c8df8d"},{"name":"update","id":"43e47369-8b4d-485e-bea7-62f38552f3f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n        \"_id\": \"635c00ee4f37f60fe42a38e5\",\r\n        \"name\": \"new product\",\r\n        \"price\": \"1000\",\r\n        \"qty\": 0,\r\n        \"seller\": \"Ws\",\r\n        \"__v\": 0\r\n    }","options":{"raw":{"language":"json"}}},"url":"http://localhost:3333/api/seller/item/update","urlObject":{"protocol":"http","port":"3333","path":["api","seller","item","update"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"58baa5d2-eb0c-4fce-a9d5-0be292200850","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"_id\": \"631b519615fe951fdf42d779\",\r\n    \"name\": \"Ts\",\r\n    \"price\": \"2000$\",\r\n    \"qty\": 3,\r\n    \"seller\": \"Ws\",\r\n    \"__v\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3333/api/seller/item/update"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"92"},{"key":"ETag","value":"W/\"5c-jEQfuwjn+8Oyd0UGlbBPezXQw/M\""},{"key":"Date","value":"Sat, 10 Sep 2022 19:13:04 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"631b519615fe951fdf42d779\",\n    \"name\": \"Ts\",\n    \"price\": \"2000$\",\n    \"qty\": 3,\n    \"seller\": \"Ws\",\n    \"__v\": 0\n}"},{"id":"36cf855b-5c6d-4ce7-864a-f3e0f1d16971","name":"failure","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3333/api/seller/item/update"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"65"},{"key":"ETag","value":"W/\"41-d2fzfU7y+utR6vtfLFkivhSS00s\""},{"key":"Date","value":"Sat, 10 Sep 2022 19:13:49 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 400,\n    \"message\": \"Update Error\",\n    \"error\": \"Bad Request\"\n}"}],"_postman_id":"43e47369-8b4d-485e-bea7-62f38552f3f8"},{"name":"findAll","id":"fe428f51-f2fd-4fef-99d2-2ae4a6e7d83c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3333/api/seller/item/find-all","urlObject":{"protocol":"http","port":"3333","path":["api","seller","item","find-all"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"6d4d0920-4ba3-48c9-b2b7-5a31fe7151ec","name":"res","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3333/api/seller/item/find-all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"482"},{"key":"ETag","value":"W/\"1e2-MLc7nRhjUlQNuL+bMH33uNwuW7s\""},{"key":"Date","value":"Sat, 10 Sep 2022 19:14:44 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"631b517115fe951fdf42d773\",\n        \"name\": \"watches\",\n        \"price\": \"500$\",\n        \"qty\": 3,\n        \"seller\": \"Ws\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"631b518e15fe951fdf42d776\",\n        \"name\": \"bags\",\n        \"price\": \"500$\",\n        \"qty\": 3,\n        \"seller\": \"Ws\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"631b519615fe951fdf42d779\",\n        \"name\": \"Ts\",\n        \"price\": \"2000$\",\n        \"qty\": 3,\n        \"seller\": \"Ws\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"631b51fd15fe951fdf42d77d\",\n        \"name\": \"dasdas\",\n        \"price\": \"500$\",\n        \"qty\": 3,\n        \"seller\": \"asasa\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"631ce196de61d14cb9e31ecf\",\n        \"name\": \"adsad\",\n        \"price\": \"500$\",\n        \"qty\": 3,\n        \"seller\": \"asasa\",\n        \"__v\": 0\n    }\n]"}],"_postman_id":"fe428f51-f2fd-4fef-99d2-2ae4a6e7d83c"},{"name":"find by name","id":"55fc5024-3031-4b4d-87e5-945332e80378","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3333/api/seller/item/find-by-name/:name","urlObject":{"protocol":"http","port":"3333","path":["api","seller","item","find-by-name",":name"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"watches","key":"name"}]}},"response":[{"id":"d3852056-7c50-43be-afa3-6e5965599bae","name":"success","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3333/api/seller/item/find-by-name/:name","protocol":"http","host":["localhost"],"port":"3333","path":["api","seller","item","find-by-name",":name"],"variable":[{"key":"name","value":"Ts"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"92"},{"key":"ETag","value":"W/\"5c-jEQfuwjn+8Oyd0UGlbBPezXQw/M\""},{"key":"Date","value":"Sat, 10 Sep 2022 19:15:11 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"631b519615fe951fdf42d779\",\n    \"name\": \"Ts\",\n    \"price\": \"2000$\",\n    \"qty\": 3,\n    \"seller\": \"Ws\",\n    \"__v\": 0\n}"},{"id":"0089c88f-c752-4fba-ba32-54dc64466fa3","name":"failure","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3333/api/seller/item/find-by-name/:name","protocol":"http","host":["localhost"],"port":"3333","path":["api","seller","item","find-by-name",":name"],"variable":[{"key":"name","value":"s"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"40"},{"key":"ETag","value":"W/\"28-oR73Vb/YPfDbgDgtA//MdHJasVY\""},{"key":"Date","value":"Sat, 10 Sep 2022 19:15:35 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 404,\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"55fc5024-3031-4b4d-87e5-945332e80378"},{"name":"find by seller","id":"ef98f818-8df4-4901-8a2f-b80ccaf11d1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3333/api/seller/item/find-by-seller/:name","urlObject":{"protocol":"http","port":"3333","path":["api","seller","item","find-by-seller",":name"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"Ws","key":"name"}]}},"response":[{"id":"bdee7944-ec37-4020-92c8-251b5d9dedbc","name":"success","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3333/api/seller/item/find-by-seller/:name","protocol":"http","host":["localhost"],"port":"3333","path":["api","seller","item","find-by-seller",":name"],"variable":[{"key":"name","value":"asasa"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"198"},{"key":"ETag","value":"W/\"c6-h/ENB4yl00YkYr5ZIDgWXTImEsM\""},{"key":"Date","value":"Sat, 10 Sep 2022 19:16:09 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"631b51fd15fe951fdf42d77d\",\n        \"name\": \"dasdas\",\n        \"price\": \"500$\",\n        \"qty\": 3,\n        \"seller\": \"asasa\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"631ce196de61d14cb9e31ecf\",\n        \"name\": \"adsad\",\n        \"price\": \"500$\",\n        \"qty\": 3,\n        \"seller\": \"asasa\",\n        \"__v\": 0\n    }\n]"},{"id":"5fba02b5-1516-4fcb-887e-ef36055bd4f7","name":"failure","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3333/api/seller/item/find-by-seller/:name","protocol":"http","host":["localhost"],"port":"3333","path":["api","seller","item","find-by-seller",":name"],"variable":[{"key":"name","value":"ww"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"40"},{"key":"ETag","value":"W/\"28-oR73Vb/YPfDbgDgtA//MdHJasVY\""},{"key":"Date","value":"Sat, 10 Sep 2022 19:16:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 404,\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"ef98f818-8df4-4901-8a2f-b80ccaf11d1f"},{"name":"delete item","id":"541f15ce-4c7d-4e2e-84ab-8215d0f1b8dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:3333/api/seller/item/delete/:id","urlObject":{"protocol":"http","port":"3333","path":["api","seller","item","delete",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"635bc1a8906afd8f63e9fd21","key":"id"}]}},"response":[],"_postman_id":"541f15ce-4c7d-4e2e-84ab-8215d0f1b8dc"}],"id":"6eda1f8c-ae04-4139-ab97-266adf4b8b07","_postman_id":"6eda1f8c-ae04-4139-ab97-266adf4b8b07","description":""},{"name":"payment","item":[{"name":"card","id":"62709313-f7e5-4e4c-8228-8d8735ce6dcc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"cardHolderName\": \"ggwp\",\r\n    \"ccNo\": \"791274291487891\",\r\n    \"amount\": \"500\",\r\n    \"cvc\": \"213\",\r\n    \"buyerUsername\":\"km\",\r\n    \"itemList\": [\r\n        {\r\n            \"id\": \"631b517115fe951fdf42d773\",\r\n            \"name\": \"watches\",\r\n            \"price\": \"500$\",\r\n            \"qty\": 2\r\n        },\r\n        {\r\n            \"id\": \"631b51fd15fe951fdf42d77d\",\r\n            \"name\": \"dasdas\",\r\n            \"price\": \"500$\",\r\n            \"qty\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4444/api/payment/card","urlObject":{"protocol":"http","port":"4444","path":["api","payment","card"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0e40b6e8-8387-4904-b23a-579e8c8805c7","name":"failure","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:4444/api/payment/card"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"42"},{"key":"ETag","value":"W/\"2a-+qJhz/sMu76JG2EONg7/1lLVCFA\""},{"key":"Date","value":"Sat, 10 Sep 2022 05:16:23 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 400,\n    \"message\": \"Bad Request\"\n}"},{"id":"07e38163-d9e0-405d-938d-09a5fcccd800","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"cardHolderName\": \"ggwp\",\r\n    \"ccNo\": \"791274291487891\",\r\n    \"amount\": \"500\",\r\n    \"cvc\": \"213\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4444/api/payment/card"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"37"},{"key":"ETag","value":"W/\"25-daWg42Ibn6kSRFW7HRFjN6PlYo4\""},{"key":"Date","value":"Sat, 10 Sep 2022 05:18:39 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Card payment successful\"\n}"}],"_postman_id":"62709313-f7e5-4e4c-8228-8d8735ce6dcc"},{"name":"mobile","id":"32214740-18f6-40aa-8ddc-2b8b95ded3bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"mobileNo\": \"791274291487891\",\r\n    \"amount\": \"500\",\r\n    \"pinNo\": \"2132\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4444/api/payment/mobile","urlObject":{"protocol":"http","port":"4444","path":["api","payment","mobile"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"6f0561f6-e3af-472b-9c92-da2d04e32b0b","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"mobileNo\": \"791274291487891\",\r\n    \"amount\": \"500\",\r\n    \"pinNo\": \"2132\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4444/api/payment/mobile"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"39"},{"key":"ETag","value":"W/\"27-25fRg9UV3LWiyJOvK6rhGtNcDL4\""},{"key":"Date","value":"Sat, 10 Sep 2022 05:14:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Mobile payment successful\"\n}"},{"id":"1cc37ff4-cff4-4c9a-b8fd-b98cf9f5b696","name":"failure","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:4444/api/payment/mobile"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"42"},{"key":"ETag","value":"W/\"2a-+qJhz/sMu76JG2EONg7/1lLVCFA\""},{"key":"Date","value":"Sat, 10 Sep 2022 05:15:24 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 400,\n    \"message\": \"Bad Request\"\n}"}],"_postman_id":"32214740-18f6-40aa-8ddc-2b8b95ded3bd"}],"id":"6e739eb5-537e-4c6f-816e-1311797f3ba4","_postman_id":"6e739eb5-537e-4c6f-816e-1311797f3ba4","description":""},{"name":"delivery","item":[{"name":"setDeliveryData","id":"58e63834-7f8b-4761-9be0-54e1a6623320","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"kmd\",\r\n    \"location\": \"colombo\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/api/delivery","urlObject":{"protocol":"http","port":"5555","path":["api","delivery"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d1ec9008-182e-4389-aa77-b221081ec581","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"kmd\",\r\n    \"location\": \"colombo\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/api/delivery"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"31"},{"key":"ETag","value":"W/\"1f-6a13KrbX/MbW/nkdkihojpqqRP0\""},{"key":"Date","value":"Sat, 10 Sep 2022 14:06:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Delivery data set\"\n}"},{"id":"0ca4dac4-9be4-4818-82f7-e6aaac3604c4","name":"failure","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:5555/api/delivery"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"42"},{"key":"ETag","value":"W/\"2a-+qJhz/sMu76JG2EONg7/1lLVCFA\""},{"key":"Date","value":"Sat, 10 Sep 2022 14:06:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 400,\n    \"message\": \"Bad Request\"\n}"}],"_postman_id":"58e63834-7f8b-4761-9be0-54e1a6623320"}],"id":"c72f19df-f9a3-4e5f-ad4b-fb1f3d1fe5ce","_postman_id":"c72f19df-f9a3-4e5f-ad4b-fb1f3d1fe5ce","description":""},{"name":"mail-sms","item":[{"name":"send/mail","id":"e0059c93-1a23-430c-a3f8-73ca2e6dbce8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6666/api/mail-sms/mail/send/paymentConfirmation/:mail","urlObject":{"protocol":"http","port":"6666","path":["api","mail-sms","mail","send","paymentConfirmation",":mail"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"kmdragoucsc@gmail.com","key":"mail"}]}},"response":[{"id":"6b761ee7-03a2-4635-913d-805001f662e0","name":"send/mail","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:6666/api/mail-sms/mail/send/paymentConfirmation/:mail","protocol":"http","host":["localhost"],"port":"6666","path":["api","mail-sms","mail","send","paymentConfirmation",":mail"],"variable":[{"key":"mail","value":"kmdragoucsc@gmail.com"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"355"},{"key":"ETag","value":"W/\"163-P9ybKKKThkNoITYzlt+kAl8e3D4\""},{"key":"Date","value":"Sat, 10 Sep 2022 16:21:02 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"accepted\": [\n        \"kmdragoucsc@gmail.com\"\n    ],\n    \"rejected\": [],\n    \"envelopeTime\": 637,\n    \"messageTime\": 569,\n    \"messageSize\": 719,\n    \"response\": \"250 2.0.0 OK  1662826862 s90-20020a17090a2f6300b001f2ef3c7956sm2223684pjd.25 - gsmtp\",\n    \"envelope\": {\n        \"from\": \"buy@restapishopping.com\",\n        \"to\": [\n            \"kmdragoucsc@gmail.com\"\n        ]\n    },\n    \"messageId\": \"<51b33531-ef32-f912-4595-f11f21bdf2cc@restapishopping.com>\"\n}"}],"_postman_id":"e0059c93-1a23-430c-a3f8-73ca2e6dbce8"},{"name":"sms/send","id":"bcc29246-e3e1-4e38-9b70-77ce9e954747","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6666/api/mail-sms/sms/send/:teleno","urlObject":{"protocol":"http","port":"6666","path":["api","mail-sms","sms","send",":teleno"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"23131313","key":"teleno"}]}},"response":[{"id":"c88a0485-391e-415c-8bf4-7ce2c2ff864a","name":"failure","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:6666/api/mail-sms/sms/send/:teleno","protocol":"http","host":["localhost"],"port":"6666","path":["api","mail-sms","sms","send",":teleno"],"variable":[{"key":"teleno","value":null}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"42"},{"key":"ETag","value":"W/\"2a-+qJhz/sMu76JG2EONg7/1lLVCFA\""},{"key":"Date","value":"Sat, 10 Sep 2022 16:25:42 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 400,\n    \"message\": \"Bad Request\"\n}"},{"id":"e7b2550c-df15-47eb-9f92-4fcabe068ec9","name":"success","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:6666/api/mail-sms/sms/send/:teleno","protocol":"http","host":["localhost"],"port":"6666","path":["api","mail-sms","sms","send",":teleno"],"variable":[{"key":"teleno","value":"23131313"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"22"},{"key":"ETag","value":"W/\"16-DsCVzw9D+3dgxfS9nqNeQLGqhb0\""},{"key":"Date","value":"Sat, 10 Sep 2022 16:28:50 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"SMS sent\"\n}"}],"_postman_id":"bcc29246-e3e1-4e38-9b70-77ce9e954747"}],"id":"a79d23b0-4e8f-427b-a82c-2db24fb3c13b","_postman_id":"a79d23b0-4e8f-427b-a82c-2db24fb3c13b","description":""},{"name":"buyer","item":[{"name":"create","id":"771cd6fe-19f0-41e8-94f5-68bb6c744eef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"shoes\",\r\n    \"price\": \"500$\",\r\n    \"qty\": 1,\r\n    \"seller\": \"ggs\",\r\n    \"buyer\": \"kmdr\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:7777/api/buyer/buyer-item/create","urlObject":{"protocol":"http","port":"7777","path":["api","buyer","buyer-item","create"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"59fbc6e2-727d-4fc8-bf53-6b537e850507","name":"res","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Bags\",\r\n    \"price\": \"5000$\",\r\n    \"qty\": 1,\r\n    \"seller\": \"ggs\",\r\n    \"buyer\": \"kmdr\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:7777/api/buyer/buyer-item/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"110"},{"key":"ETag","value":"W/\"6e-h33l4PEXwnbpht0d+karRxDj/wA\""},{"key":"Date","value":"Sat, 10 Sep 2022 18:39:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Bags\",\n    \"price\": \"5000$\",\n    \"qty\": 1,\n    \"seller\": \"ggs\",\n    \"buyer\": \"kmdr\",\n    \"_id\": \"631cd9fc129db81a93a1318f\",\n    \"__v\": 0\n}"}],"_postman_id":"771cd6fe-19f0-41e8-94f5-68bb6c744eef"},{"name":"find by buyer","id":"af08f73d-f34a-4e2a-83a2-162b02f49ed0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:7777/api/buyer/buyer-item/find-by-buyer/:name","urlObject":{"protocol":"http","port":"7777","path":["api","buyer","buyer-item","find-by-buyer",":name"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"km","key":"name"}]}},"response":[{"id":"0d46e992-4825-4157-8c3c-286ef74a18de","name":"success","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:7777/api/buyer/buyer-item/find-by-buyer/:name","protocol":"http","host":["localhost"],"port":"7777","path":["api","buyer","buyer-item","find-by-buyer",":name"],"variable":[{"key":"name","value":"kmdr"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"223"},{"key":"ETag","value":"W/\"df-OwQPZu3MLE6VC9X9QO4R/zTyM3U\""},{"key":"Date","value":"Sat, 10 Sep 2022 18:42:23 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"631cd9ee129db81a93a1318d\",\n        \"name\": \"shoes\",\n        \"price\": \"500$\",\n        \"qty\": 1,\n        \"seller\": \"ggs\",\n        \"buyer\": \"kmdr\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"631cd9fc129db81a93a1318f\",\n        \"name\": \"Bags\",\n        \"price\": \"5000$\",\n        \"qty\": 1,\n        \"seller\": \"ggs\",\n        \"buyer\": \"kmdr\",\n        \"__v\": 0\n    }\n]"},{"id":"cb984ae7-3a9d-4f6e-bdf2-e7644c4c6578","name":"failure","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:7777/api/buyer/buyer-item/find-by-buyer/:name","protocol":"http","host":["localhost"],"port":"7777","path":["api","buyer","buyer-item","find-by-buyer",":name"],"variable":[{"key":"name","value":"kmdrd"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"40"},{"key":"ETag","value":"W/\"28-oR73Vb/YPfDbgDgtA//MdHJasVY\""},{"key":"Date","value":"Sat, 10 Sep 2022 18:49:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 404,\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"af08f73d-f34a-4e2a-83a2-162b02f49ed0"},{"name":"delete","id":"6666c1f7-125a-47ae-a892-691cbdf2cbfb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:7777/api/buyer/buyer-item/delete/:id","urlObject":{"protocol":"http","port":"7777","path":["api","buyer","buyer-item","delete",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"631cd9fc129db81a93a1318f","key":"id"}]}},"response":[{"id":"e703391b-c9ef-4028-ba0f-90447e196a94","name":"success","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:7777/api/buyer/buyer-item/delete/:id","protocol":"http","host":["localhost"],"port":"7777","path":["api","buyer","buyer-item","delete",":id"],"variable":[{"key":"id","value":"631cd9fc129db81a93a1318f"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"110"},{"key":"ETag","value":"W/\"6e-BtfDYZz7PUpiiFe6+bVxE/9I8fY\""},{"key":"Date","value":"Sat, 10 Sep 2022 19:05:35 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"631cd9fc129db81a93a1318f\",\n    \"name\": \"Bags\",\n    \"price\": \"5000$\",\n    \"qty\": 1,\n    \"seller\": \"ggs\",\n    \"buyer\": \"kmdr\",\n    \"__v\": 0\n}"},{"id":"d1627132-e1a4-4536-a832-3709ab8ebe0c","name":"failure","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:7777/api/buyer/buyer-item/delete/:id","protocol":"http","host":["localhost"],"port":"7777","path":["api","buyer","buyer-item","delete",":id"],"variable":[{"key":"id","value":"631cd9fc129db81a93a1318f"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"65"},{"key":"ETag","value":"W/\"41-vVZlab+RKU1todrMneIPX4Agkw8\""},{"key":"Date","value":"Sat, 10 Sep 2022 19:08:25 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 400,\n    \"message\": \"Delete Error\",\n    \"error\": \"Bad Request\"\n}"}],"_postman_id":"6666c1f7-125a-47ae-a892-691cbdf2cbfb"}],"id":"454d9dd3-7f5e-41d2-ae5a-4e66a9069614","_postman_id":"454d9dd3-7f5e-41d2-ae5a-4e66a9069614","description":""},{"name":"auth","item":[{"name":"login","id":"67144b00-f4e8-483e-b2c7-ca21373a0fcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"testing4@gmail.com\",\r\n    \"password\": \"pass\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8888/api/auth/login","urlObject":{"protocol":"http","port":"8888","path":["api","auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"67144b00-f4e8-483e-b2c7-ca21373a0fcb"},{"name":"create","id":"a234085c-479c-4346-b035-27477fad6271","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"testing4@gmail.com\",\r\n    \"password\": \"pass\",\r\n    \"role\": \"buyer\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8888/api/auth/create","urlObject":{"protocol":"http","port":"8888","path":["api","auth","create"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a234085c-479c-4346-b035-27477fad6271"}],"id":"b92b80ab-6544-4e33-9c58-b9f2df313a9f","_postman_id":"b92b80ab-6544-4e33-9c58-b9f2df313a9f","description":""},{"name":"WSO2 EI","item":[{"name":"seller find all","id":"3c3e9090-d0cf-4932-bac4-5d9c2c21e8a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://192.168.1.11:8280/api/seller/item/find-all","urlObject":{"protocol":"http","port":"8280","path":["api","seller","item","find-all"],"host":["192","168","1","11"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c3e9090-d0cf-4932-bac4-5d9c2c21e8a7"},{"name":"seller create","id":"5a6180d2-a2e8-441c-aa56-0cc997cffe6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"testing\",\r\n    \"price\": \"600$\",\r\n    \"qty\": 5,\r\n    \"seller\": \"asasa\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://192.168.1.11:8280/api/seller/item/create","urlObject":{"protocol":"http","port":"8280","path":["api","seller","item","create"],"host":["192","168","1","11"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a6180d2-a2e8-441c-aa56-0cc997cffe6e"},{"name":"seller find by name","id":"f6cc14a5-c754-43c6-8cff-c166b2745fcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://192.168.1.11:8280/api/seller/item/find-by-name/:name","urlObject":{"protocol":"http","port":"8280","path":["api","seller","item","find-by-name",":name"],"host":["192","168","1","11"],"query":[],"variable":[{"type":"any","value":"Ts","key":"name"}]}},"response":[],"_postman_id":"f6cc14a5-c754-43c6-8cff-c166b2745fcb"}],"id":"d650549a-b675-44ad-853a-0f1da231eabc","_postman_id":"d650549a-b675-44ad-853a-0f1da231eabc","description":""}]}