{ "info": { "_postman_id": "c7985eeb-ffd6-41e9-807d-ba271d559ec3", "name": "Project65", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "4185850" }, "item": [ { "name": "Save Customer", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"name\": \"roger\",\n \"age\": 32,\n \"metadata\" : \"{\\\"city\\\": \\\"bangalore\\\"}\",\n \"paymentType\" : \"ANNUAL\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://localhost:8080/customer/save", "protocol": "http", "host": [ "localhost" ], "port": "8080", "path": [ "customer", "save" ] } }, "response": [] }, { "name": "Get All Customers", "request": { "method": "GET", "header": [], "url": { "raw": "http://localhost:8080/customer/all", "protocol": "http", "host": [ "localhost" ], "port": "8080", "path": [ "customer", "all" ] } }, "response": [] }, { "name": "Get Customer By Id", "request": { "method": "GET", "header": [], "url": { "raw": "http://localhost:8080/customer/6ebec980-feba-474d-995c-422f82bb226c", "protocol": "http", "host": [ "localhost" ], "port": "8080", "path": [ "customer", "6ebec980-feba-474d-995c-422f82bb226c" ] } }, "response": [] }, { "name": "Update Customer", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"id\": \"6ebec980-feba-474d-995c-422f82bb226c\",\n \"name\": \"roger\",\n \"age\": 33,\n \"metadata\" : \"{\\\"city\\\": \\\"bangalore\\\"}\",\n \"paymentType\" : \"ANNUAL\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://localhost:8080/customer/update", "protocol": "http", "host": [ "localhost" ], "port": "8080", "path": [ "customer", "update" ] } }, "response": [] }, { "name": "Find Customer By Name & Age", "request": { "method": "GET", "header": [], "url": { "raw": "http://localhost:8080/customer/find?name=roger&age=33", "protocol": "http", "host": [ "localhost" ], "port": "8080", "path": [ "customer", "find" ], "query": [ { "key": "name", "value": "roger" }, { "key": "age", "value": "33" } ] } }, "response": [] }, { "name": "Search Customer", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"name\": \"roger\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://localhost:8080/customer/search", "protocol": "http", "host": [ "localhost" ], "port": "8080", "path": [ "customer", "search" ] } }, "response": [] }, { "name": "Get All Customers Page", "request": { "method": "GET", "header": [], "url": { "raw": "http://localhost:8080/customer/page?page=0&size=10", "protocol": "http", "host": [ "localhost" ], "port": "8080", "path": [ "customer", "page" ], "query": [ { "key": "page", "value": "0" }, { "key": "size", "value": "10" } ] } }, "response": [] }, { "name": "Delete Customer By Id", "request": { "method": "DELETE", "header": [], "url": { "raw": "http://localhost:8080/customer/d20f414e-f549-4264-8843-099f5e9b2b94", "protocol": "http", "host": [ "localhost" ], "port": "8080", "path": [ "customer", "d20f414e-f549-4264-8843-099f5e9b2b94" ] } }, "response": [] }, { "name": "FindOne Customer", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"name\": \"roger\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://localhost:8080/customer/findOne", "protocol": "http", "host": [ "localhost" ], "port": "8080", "path": [ "customer", "findOne" ] } }, "response": [] } ] }