{"info":{"_postman_id":"1f95d2fd-ed51-4fb5-a878-1d9984764004","name":"FlexibilitySRL / examen","description":"<html><head></head><body><p>La prueba consiste en agregar nueva funcionalidad a la API REST que corre en el repositorio <a href=\"https://github.com/FlexibilitySRL/examen\">https://github.com/FlexibilitySRL/examen</a>.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"14355310","collectionId":"1f95d2fd-ed51-4fb5-a878-1d9984764004","publishedId":"UVeDtT1r","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-02-01T12:24:27.000Z"},"item":[{"name":"Client","item":[{"name":"Get Clients","id":"a0e9c13d-cae2-4db5-bc2e-3bb9dd854340","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/clients","urlObject":{"protocol":"https","path":["api","payments","clients"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"1acec323-88f9-4473-8f4e-c3c52c0c26c4","name":"Get Clients","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/payments/clients"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 13:03:18 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"numberID\": \"12345678\",\n        \"firstName\": \"John\",\n        \"lastName\": \"Doe\",\n        \"email\": \"johnDoe@john.com\",\n        \"photoUrl\": null\n    }\n]"}],"_postman_id":"a0e9c13d-cae2-4db5-bc2e-3bb9dd854340"},{"name":"Create Client","id":"336f8492-21a4-483d-adb4-433e093a106e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"numberID\" : \"12345678\",\r\n    \"firstName\" : \"John\",\r\n    \"lastName\" : \"Doe\",\r\n    \"email\": \"johnDoe@john.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/clients","urlObject":{"protocol":"https","path":["api","payments","clients"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"0c378463-09f8-45e7-b2f4-dbd3e1445f59","name":"Create Client","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"numberID\" : \"12345678\",\r\n    \"firstName\" : \"John\",\r\n    \"lastName\" : \"Doe\",\r\n    \"email\": \"johnDoe@john.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/payments/clients"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 13:01:26 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"numberID\": \"12345678\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"johnDoe@john.com\",\n    \"photoUrl\": null\n}"}],"_postman_id":"336f8492-21a4-483d-adb4-433e093a106e"},{"name":"Get Client by id","id":"dcfaa10f-37c2-4ba6-9cbb-702f5841963e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/clients/1","urlObject":{"protocol":"https","path":["api","payments","clients","1"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"9c57c761-cc72-4b2a-b980-b15c5c9e5a33","name":"Get Client by id","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/payments/clients/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 13:03:31 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"numberID\": \"12345678\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"johnDoe@john.com\",\n    \"photoUrl\": null\n}"}],"_postman_id":"dcfaa10f-37c2-4ba6-9cbb-702f5841963e"},{"name":"Update Client","id":"35043c7b-752c-4ab8-b286-e5688830f82b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"numberID\" : \"12345678\",\r\n    \"firstName\" : \"John\",\r\n    \"lastName\" : \"Doe\",\r\n    \"email\": \"johnDoe@john.com\",\r\n    \"photoUrl\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/clients/1","urlObject":{"protocol":"https","path":["api","payments","clients","1"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"603feead-90d5-4142-8033-2cb23461d3e6","name":"Update Client","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"numberID\": \"12345678\",\r\n    \"firstName\": \"John\",\r\n    \"lastName\": \"Doe\",\r\n    \"email\": \"johnDoe@john.com\",\r\n    \"photoUrl\": \"image.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/payments/clients/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 13:33:52 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"numberID\": \"12345678\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"johnDoe@john.com\",\n    \"photoUrl\": \"image.com\"\n}"}],"_postman_id":"35043c7b-752c-4ab8-b286-e5688830f82b"},{"name":"Delete Client","id":"fab77646-7422-4b59-8dbc-344978c00e0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/clients/1","urlObject":{"protocol":"https","path":["api","payments","clients","1"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"669c9f43-d64a-4a69-92dc-e763e9496cc3","name":"Delete Client","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/payments/clients/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 13:44:13 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"numberID\": \"12345678\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"johnDoe@john.com\",\n    \"photoUrl\": \"\"\n}"}],"_postman_id":"fab77646-7422-4b59-8dbc-344978c00e0d"}],"id":"2a3f9fb8-b92b-47a1-9a70-63a97f40397e","_postman_id":"2a3f9fb8-b92b-47a1-9a70-63a97f40397e","description":""},{"name":"Seller","item":[{"name":"Create Seller","id":"62d027a0-b500-430e-b003-a75ba21c7fe3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"numberId\" : \"45678932\",\r\n    \"firstName\" : \"John\",\r\n    \"lastName\" : \"Doe\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/sellers","urlObject":{"protocol":"https","path":["api","payments","sellers"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"5bc3d2aa-b950-48aa-9dc4-ddf99d5a9395","name":"Create Seller","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"numberId\" : \"45678932\",\r\n    \"firstName\" : \"John\",\r\n    \"lastName\" : \"Doe\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/payments/sellers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 13:52:24 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"numberId\": \"45678932\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"photoUrl\": null\n}"}],"_postman_id":"62d027a0-b500-430e-b003-a75ba21c7fe3"},{"name":"Get Sellers","id":"c574cb02-6b0d-45b0-92bc-c0e9ab090e76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/sellers","urlObject":{"protocol":"https","path":["api","payments","sellers"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"db75a519-ec9e-42c1-a31e-723a45837e9f","name":"Get Sellers","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/payments/sellers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 13:52:44 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"numberId\": \"45678932\",\n        \"firstName\": \"John\",\n        \"lastName\": \"Doe\",\n        \"photoUrl\": null\n    }\n]"}],"_postman_id":"c574cb02-6b0d-45b0-92bc-c0e9ab090e76"},{"name":"Get Seller By Id","id":"dcf7de2e-5748-46fd-b700-8e531fb132ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/sellers/1","urlObject":{"protocol":"https","path":["api","payments","sellers","1"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"d16ff7a6-4cfb-4036-a837-54697642c06a","name":"Get Seller By Id","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/payments/sellers/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 13:53:47 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"numberId\": \"45678932\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"photoUrl\": null\n}"}],"_postman_id":"dcf7de2e-5748-46fd-b700-8e531fb132ea"},{"name":"Update Seller","id":"76976151-a036-4006-bfe0-9e07a247e479","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"numberId\" : \"45678932\",\r\n    \"firstName\" : \"John\",\r\n    \"lastName\" : \"Doe\",\r\n    \"photoUrl\" : \"image.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/sellers/1","urlObject":{"protocol":"https","path":["api","payments","sellers","1"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"7f43edae-e65e-4d9e-ba6d-4e6b77a91146","name":"Update Seller","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"numberId\" : \"45678932\",\r\n    \"firstName\" : \"John\",\r\n    \"lastName\" : \"Doe\",\r\n    \"photoUrl\" : \"image.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/payments/sellers/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 13:57:11 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"numberId\": \"45678932\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"photoUrl\": \"image.com\"\n}"}],"_postman_id":"76976151-a036-4006-bfe0-9e07a247e479"},{"name":"Delete Seller","id":"9cc01f0b-cff0-4eda-82ac-6270d3281afe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/sellers/1","urlObject":{"protocol":"https","path":["api","payments","sellers","1"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"b0106788-59ff-434e-82b4-be7c7be97d28","name":"Delete Seller","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/payments/sellers/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 13:58:15 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"numberId\": \"45678932\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"photoUrl\": \"image.com\"\n}"}],"_postman_id":"9cc01f0b-cff0-4eda-82ac-6270d3281afe"}],"id":"ee3c06c0-81cd-4be1-93ce-74c2f342795e","_postman_id":"ee3c06c0-81cd-4be1-93ce-74c2f342795e","description":""},{"name":"Product","item":[{"name":"Delete Product","id":"4324c54e-dea5-485f-a2a3-c93f71eff772","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/products/1","urlObject":{"protocol":"https","path":["api","payments","products","1"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"c6b06f79-c7f9-4429-a09a-4cb879f827bd","name":"Delete Product","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/payments/products/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 14:00:13 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"code\": \"546\",\n    \"name\": \"television\",\n    \"description\": \"Television de 45 pulgadas, smart y led\",\n    \"stock\": 57,\n    \"status\": \"DELETED\",\n    \"price\": 125,\n    \"photoUrl\": null\n}"}],"_postman_id":"4324c54e-dea5-485f-a2a3-c93f71eff772"},{"name":"Create Product","id":"1a099a2c-427e-461d-af38-db2c6bbf573f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"code\" : \"546\",\r\n    \"name\" : \"television\",\r\n    \"description\" : \"Television de 45 pulgadas, smart y led\",\r\n    \"stock\" : 45,\r\n    \"price\" : 125\r\n}","options":{"raw":{"language":"json"}}},"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/products","urlObject":{"protocol":"https","path":["api","payments","products"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"cdf5ac65-f6b8-42fd-8055-9ced0705e4f8","name":"Create Product","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"code\" : \"546\",\r\n    \"name\" : \"television\",\r\n    \"description\" : \"Television de 45 pulgadas, smart y led\",\r\n    \"stock\" : 45,\r\n    \"price\" : 125\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/payments/products"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 13:59:10 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"code\": \"546\",\n    \"name\": \"television\",\n    \"description\": \"Television de 45 pulgadas, smart y led\",\n    \"stock\": 45,\n    \"status\": \"CREATED\",\n    \"price\": 125,\n    \"photoUrl\": null\n}"}],"_postman_id":"1a099a2c-427e-461d-af38-db2c6bbf573f"},{"name":"Update Stock Product","id":"9278e900-6fbd-4bbc-9705-058de5df786c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/products/1/stock?quantity=12","urlObject":{"protocol":"https","path":["api","payments","products","1","stock"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[{"key":"quantity","value":"12"}],"variable":[]}},"response":[{"id":"77242ca6-f563-4378-9277-a9bae1617027","name":"Update Stock Product","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/payments/products/1/stock?quantity=12","protocol":"http","host":["localhost"],"port":"8080","path":["api","payments","products","1","stock"],"query":[{"key":"quantity","value":"12"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 13:59:34 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"code\": \"546\",\n    \"name\": \"television\",\n    \"description\": \"Television de 45 pulgadas, smart y led\",\n    \"stock\": 57,\n    \"status\": \"CREATED\",\n    \"price\": 125,\n    \"photoUrl\": null\n}"}],"_postman_id":"9278e900-6fbd-4bbc-9705-058de5df786c"},{"name":"Get Products","id":"c6665902-fbfe-43c0-aad4-3f9118186d08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/products","urlObject":{"protocol":"https","path":["api","payments","products"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"49c3ff70-e8c2-4649-8c93-7ca5082050f9","name":"Get Products","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/payments/products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 13:59:24 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"code\": \"546\",\n        \"name\": \"television\",\n        \"description\": \"Television de 45 pulgadas, smart y led\",\n        \"stock\": 45,\n        \"status\": \"CREATED\",\n        \"price\": 125,\n        \"photoUrl\": null\n    }\n]"}],"_postman_id":"c6665902-fbfe-43c0-aad4-3f9118186d08"},{"name":"Get Product By Id","id":"b54871c0-29ca-4418-988f-5835e8fbbdd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/products/1","urlObject":{"protocol":"https","path":["api","payments","products","1"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"17bf402f-1483-42f2-a22d-e4a52bedd525","name":"Get Product By Id","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/payments/products/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 14:00:04 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"code\": \"546\",\n    \"name\": \"television\",\n    \"description\": \"Television de 45 pulgadas, smart y led\",\n    \"stock\": 57,\n    \"status\": \"CREATED\",\n    \"price\": 125,\n    \"photoUrl\": null\n}"}],"_postman_id":"b54871c0-29ca-4418-988f-5835e8fbbdd2"}],"id":"7a2118d8-eb2b-4113-a56c-b0031f3f06b1","_postman_id":"7a2118d8-eb2b-4113-a56c-b0031f3f06b1","description":""},{"name":"Transaction","item":[{"name":"Get Transactions","id":"c1f42e52-f23b-4e82-b808-827b3074742f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/transactions","urlObject":{"protocol":"https","path":["api","payments","transactions"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"b9cc6469-991d-423d-aaf6-e728c8c44f56","name":"Get Transactions","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/payments/transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 14:00:43 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"numberTransaction\": \"11992345s6\",\n        \"description\": \"este es la descripcion\",\n        \"type\": null,\n        \"clientId\": 1,\n        \"createAt\": \"2022-01-31\",\n        \"approved\": false,\n        \"total\": 410,\n        \"items\": [\n            {\n                \"id\": 1,\n                \"productId\": 2,\n                \"quantity\": 15,\n                \"price\": 14,\n                \"subTotal\": 210\n            },\n            {\n                \"id\": 2,\n                \"productId\": 1,\n                \"quantity\": 8,\n                \"price\": 25,\n                \"subTotal\": 200\n            }\n        ],\n        \"state\": \"CREATED\"\n    }\n]"}],"_postman_id":"c1f42e52-f23b-4e82-b808-827b3074742f"},{"name":"Create Transaction","id":"da8a2502-92c1-4dd5-982f-812c79ec2e9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"numberTransaction\": \"11992345s6\",\r\n    \"description\": \"este es la descripcion\",\r\n    \"clientId\": 1,\r\n    \"items\" : [\r\n        {\r\n          \"productId\" : 2,\r\n          \"quantity\" : 15.0,\r\n          \"price\" : 14.00\r\n        },\r\n        {\r\n            \"productId\" : 1,\r\n            \"quantity\" : 8,\r\n            \"price\" : 25\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/transactions","urlObject":{"protocol":"https","path":["api","payments","transactions"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"c5a8414b-1077-4587-bac5-6d2a4cf41947","name":"Create Transaction","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"numberTransaction\": \"11992345s6\",\r\n    \"description\": \"este es la descripcion\",\r\n    \"clientId\": 1,\r\n    \"items\" : [\r\n        {\r\n          \"productId\" : 2,\r\n          \"quantity\" : 15.0,\r\n          \"price\" : 14.00\r\n        },\r\n        {\r\n            \"productId\" : 1,\r\n            \"quantity\" : 8,\r\n            \"price\" : 25\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/payments/transactions"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 14:00:29 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"numberTransaction\": \"11992345s6\",\n    \"description\": \"este es la descripcion\",\n    \"type\": null,\n    \"clientId\": 1,\n    \"createAt\": \"2022-01-31T14:00:29.659+00:00\",\n    \"approved\": false,\n    \"total\": 410,\n    \"items\": [\n        {\n            \"id\": 1,\n            \"productId\": 2,\n            \"quantity\": 15,\n            \"price\": 14,\n            \"subTotal\": 210\n        },\n        {\n            \"id\": 2,\n            \"productId\": 1,\n            \"quantity\": 8,\n            \"price\": 25,\n            \"subTotal\": 200\n        }\n    ],\n    \"state\": \"CREATED\"\n}"}],"_postman_id":"da8a2502-92c1-4dd5-982f-812c79ec2e9f"},{"name":"Get Transaction By Id","id":"5e0a8cee-faf9-4d4a-b803-636d3a30b290","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/transactions/1","urlObject":{"protocol":"https","path":["api","payments","transactions","1"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"2fe67d2c-b9b4-47aa-9ae5-ba4a0477cb5a","name":"Get Transaction By Id","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/payments/transactions/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 14:01:07 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"numberTransaction\": \"11992345s6\",\n    \"description\": \"este es la descripcion\",\n    \"type\": null,\n    \"clientId\": 1,\n    \"createAt\": \"2022-01-31\",\n    \"approved\": false,\n    \"total\": 410,\n    \"items\": [\n        {\n            \"id\": 1,\n            \"productId\": 2,\n            \"quantity\": 15,\n            \"price\": 14,\n            \"subTotal\": 210\n        },\n        {\n            \"id\": 2,\n            \"productId\": 1,\n            \"quantity\": 8,\n            \"price\": 25,\n            \"subTotal\": 200\n        }\n    ],\n    \"state\": \"CREATED\"\n}"}],"_postman_id":"5e0a8cee-faf9-4d4a-b803-636d3a30b290"},{"name":"Update Transaction","id":"886244ec-0979-445f-811f-063ebf46e2c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"numberTransaction\": \"11992345s6\",\r\n    \"description\": \"este es la descripcion\",\r\n    \"clientId\": 1,\r\n    \"items\" : [\r\n        {\r\n          \"productId\" : 2,\r\n          \"quantity\" : 25.0,\r\n          \"price\" : 14.00\r\n        },\r\n        {\r\n            \"productId\" : 1,\r\n            \"quantity\" : 8,\r\n            \"price\" : 25\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/transactions/1","urlObject":{"protocol":"https","path":["api","payments","transactions","1"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"5355a403-0bbf-4715-8a98-84d7d9646447","name":"Update Transaction","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"numberTransaction\": \"11992345s6\",\r\n    \"description\": \"este es la descripcion\",\r\n    \"clientId\": 1,\r\n    \"items\" : [\r\n        {\r\n          \"productId\" : 2,\r\n          \"quantity\" : 25.0,\r\n          \"price\" : 14.00\r\n        },\r\n        {\r\n            \"productId\" : 1,\r\n            \"quantity\" : 8,\r\n            \"price\" : 25\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/payments/transactions/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 14:02:38 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"numberTransaction\": \"11992345s6\",\n    \"description\": \"este es la descripcion\",\n    \"type\": null,\n    \"clientId\": 1,\n    \"createAt\": \"2022-01-31\",\n    \"approved\": false,\n    \"total\": 550,\n    \"items\": [\n        {\n            \"id\": 3,\n            \"productId\": 2,\n            \"quantity\": 25,\n            \"price\": 14,\n            \"subTotal\": 350\n        },\n        {\n            \"id\": 4,\n            \"productId\": 1,\n            \"quantity\": 8,\n            \"price\": 25,\n            \"subTotal\": 200\n        }\n    ],\n    \"state\": \"CREATED\"\n}"}],"_postman_id":"886244ec-0979-445f-811f-063ebf46e2c2"},{"name":"Add Items to Transaction","id":"29fc2340-091c-420e-8af2-6a2939c47d48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"productId\" : 2,\r\n        \"quantity\" : 8.0,\r\n        \"price\" : 14.00\r\n    },\r\n    {\r\n        \"productId\" : 1,\r\n        \"quantity\" : 6,\r\n        \"price\" : 47\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/transactions/addItems/1","urlObject":{"protocol":"https","path":["api","payments","transactions","addItems","1"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"aab0d9ed-e1e8-4d10-b55e-fa8ae0b083b9","name":"Add Items to Transaction","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"productId\" : 2,\r\n        \"quantity\" : 8.0,\r\n        \"price\" : 14.00\r\n    },\r\n    {\r\n        \"productId\" : 1,\r\n        \"quantity\" : 6,\r\n        \"price\" : 47\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/payments/transactions/addItems/1"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 14:28:48 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"numberTransaction\": \"11992345s6\",\n    \"description\": \"este es la descripcion\",\n    \"type\": null,\n    \"clientId\": 1,\n    \"createAt\": \"2022-01-31\",\n    \"approved\": false,\n    \"total\": 804,\n    \"items\": [\n        {\n            \"id\": 1,\n            \"productId\": 2,\n            \"quantity\": 15,\n            \"price\": 14,\n            \"subTotal\": 210\n        },\n        {\n            \"id\": 2,\n            \"productId\": 1,\n            \"quantity\": 8,\n            \"price\": 25,\n            \"subTotal\": 200\n        },\n        {\n            \"id\": 3,\n            \"productId\": 2,\n            \"quantity\": 8,\n            \"price\": 14,\n            \"subTotal\": 112\n        },\n        {\n            \"id\": 4,\n            \"productId\": 1,\n            \"quantity\": 6,\n            \"price\": 47,\n            \"subTotal\": 282\n        }\n    ],\n    \"state\": \"CREATED\"\n}"}],"_postman_id":"29fc2340-091c-420e-8af2-6a2939c47d48"},{"name":"Approve a Transaction","id":"90de8639-7eb8-4401-83fe-709c514e2bb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://prueba-springboot-rest.herokuapp.com/api/payments/transactions/approve/1?approve=true","urlObject":{"protocol":"https","path":["api","payments","transactions","approve","1"],"host":["prueba-springboot-rest","herokuapp","com"],"query":[{"key":"approve","value":"true"}],"variable":[]}},"response":[{"id":"ca870628-acb6-4397-ba36-8812cf471c43","name":"Approve a Transaction","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/payments/transactions/approve/1?approve=true","protocol":"http","host":["localhost"],"port":"8080","path":["api","payments","transactions","approve","1"],"query":[{"key":"approve","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 31 Jan 2022 14:36:42 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"numberTransaction\": \"11992345s6\",\n    \"description\": \"este es la descripcion\",\n    \"type\": null,\n    \"clientId\": 1,\n    \"createAt\": \"2022-01-31\",\n    \"approved\": true,\n    \"total\": 410,\n    \"items\": [\n        {\n            \"id\": 1,\n            \"productId\": 2,\n            \"quantity\": 15,\n            \"price\": 14,\n            \"subTotal\": 210\n        },\n        {\n            \"id\": 2,\n            \"productId\": 1,\n            \"quantity\": 8,\n            \"price\": 25,\n            \"subTotal\": 200\n        }\n    ],\n    \"state\": \"CREATED\"\n}"}],"_postman_id":"90de8639-7eb8-4401-83fe-709c514e2bb9"}],"id":"fe824dc8-1592-4f19-ad6e-174a0ce32636","_postman_id":"fe824dc8-1592-4f19-ad6e-174a0ce32636","description":""}]}