From b0529eaec1fdb825e260968ecdd6b22bdfba2eb0 Mon Sep 17 00:00:00 2001 From: Abhishek Y Date: Tue, 26 Mar 2024 15:51:50 +0530 Subject: [PATCH] Added postman collection for Hotel --- ...NIX - PS Client.postman_collection_v1.json | 747 ++++++++++++++++++ 1 file changed, 747 insertions(+) create mode 100644 artifacts/ONIX - PS Client.postman_collection_v1.json diff --git a/artifacts/ONIX - PS Client.postman_collection_v1.json b/artifacts/ONIX - PS Client.postman_collection_v1.json new file mode 100644 index 0000000..62e3192 --- /dev/null +++ b/artifacts/ONIX - PS Client.postman_collection_v1.json @@ -0,0 +1,747 @@ +{ + "info": { + "_postman_id": "bd69837d-9546-4cfe-b7b3-18c810bad6a2", + "name": "ONIX - PS Client", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "13127879" + }, + "item": [ + { + "name": "EV-charging", + "item": [ + { + "name": "search", + "item": [ + { + "name": "Provider based", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"context\": {\n \"domain\": \"{{uei}}\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"search\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_id\": \"mit-ps-energy.becknprotocol.io\",\n \"bpp_uri\": \"https://mit-ps-energy.becknprotocol.io\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"intent\": {\n \"provider\": {\n \"id\": \"1\"\n }\n }\n }\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/search", + "host": [ + "{{base_url}}" + ], + "path": [ + "search" + ] + } + }, + "response": [] + }, + { + "name": "Item based", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"context\": {\n \"domain\": \"{{uei}}\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"search\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"intent\": {\n \"provider\": {\n \"locations\": [\n {\n \"circle\": {\n \"gps\": \"30.876877, 73.868969\",\n \"radius\": {\n \"type\": \"CONSTANT\",\n \"value\": \"3\",\n \"unit\": \"miles\"\n }\n }\n }\n ],\n \"rating\": \"gte>4\"\n },\n \"category\": {\n \"descriptor\": {\n \"code\": \"assembly\"\n },\n \"tags\": [\n {\n \"descriptor\": {\n \"code\": \"product-info\",\n \"name\": \"Product Information\"\n },\n \"list\": [\n {\n \"descriptor\": {\n \"name\": \"product-type\"\n },\n \"value\": \"electronics\"\n }\n ]\n },\n {\n \"descriptor\": {\n \"code\": \"assembly-info\",\n \"name\": \"Assembly Information\"\n },\n \"list\": [\n {\n \"descriptor\": {\n \"name\": \"assembly-method\"\n },\n \"value\": \"automated\"\n }\n ]\n },\n {\n \"descriptor\": {\n \"code\": \"scale-info\",\n \"name\": \"Scale Information\"\n },\n \"list\": [\n {\n \"descriptor\": {\n \"name\": \"scale-type\"\n },\n \"value\": \"industrial\"\n }\n ]\n },\n {\n \"descriptor\": {\n \"code\": \"printer-info\",\n \"name\": \"Printer Information\"\n },\n \"list\": [\n {\n \"descriptor\": {\n \"name\": \"Resolution\"\n },\n \"value\": \"gte>20%\"\n },\n {\n \"descriptor\": {\n \"name\": \"success-rate\"\n },\n \"value\": \"gte>95%\"\n }\n ]\n }\n ]\n }\n }\n }\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/search", + "host": [ + "{{base_url}}" + ], + "path": [ + "search" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "select", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"context\": {\n \"domain\": \"{{uei}}\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"select\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_uri\": \"{{bpp_uri_ev}}\",\n \"bpp_id\": \"{{bpp_id_ev}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order\": {\n \"provider\": {\n \"id\": \"1\"\n },\n \"items\": [\n {\n \"id\": \"1\"\n }\n ]\n }\n }\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/select", + "host": [ + "{{base_url}}" + ], + "path": [ + "select" + ] + } + }, + "response": [] + }, + { + "name": "init", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"context\": {\n \"domain\": \"{{uei}}\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"init\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_uri\": \"{{bpp_uri_ev}}\",\n \"bpp_id\": \"{{bpp_id_ev}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order\": {\n \"provider\": {\n \"id\": \"1\"\n },\n \"items\": [\n {\n \"id\": \"1\"\n }\n ],\n \"billing\": {\n \"name\": \"John Doe\",\n \"email\": \"abc@example.com\",\n \"phone\": \"+91-9876522222\"\n },\n \"fulfillments\": [\n {\n \"id\": \"1\",\n \"customer\": {\n \"person\": {\n \"name\": \"John Doe\"\n },\n \"contact\": {\n \"phone\": \"+91-9887766554\"\n }\n }\n }\n ]\n }\n }\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/init", + "host": [ + "{{base_url}}" + ], + "path": [ + "init" + ] + } + }, + "response": [] + }, + { + "name": "Confirm", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"context\": {\n \"domain\": \"{{uei}}\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"confirm\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_uri\": \"{{bpp_uri_ev}}\",\n \"bpp_id\": \"{{bpp_id_ev}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order\": {\n \"items\": [\n {\n \"id\": \"1\"\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"1\",\n \"customer\": {\n \"contact\": {\n \"email\": \"fox.judie61234@abc.org\",\n \"phone\": \"+91-9999999999\"\n },\n \"person\": {\n \"name\": \"Judie Fox6\"\n }\n }\n }\n ],\n \"billing\": {\n \"name\": \"Industry buyer\",\n \"address\": \"B005 aspire heights, Jurong East, SGP, 680230\",\n \"state\": {\n \"name\": \"Jurong East\"\n },\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"email\": \"nobody@nomail.com\",\n \"phone\": \"9886098860\"\n }\n }\n }\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/confirm", + "host": [ + "{{base_url}}" + ], + "path": [ + "confirm" + ] + } + }, + "response": [] + }, + { + "name": "Status", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"context\": {\n \"domain\": \"{{uei}}\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"status\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_uri\": \"{{bpp_uri_ev}}\",\n \"bpp_id\": \"{{bpp_id_ev}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order_id\": \"10\"\n }\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/status", + "host": [ + "{{base_url}}" + ], + "path": [ + "status" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "DHP", + "item": [] + }, + { + "name": "Ticket", + "item": [] + }, + { + "name": "retail", + "item": [ + { + "name": "search", + "item": [ + { + "name": "Provider based", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"context\": {\r\n \"domain\": \"{{retail}}\",\r\n \"location\": {\r\n \"country\": {\r\n \"code\": \"DE\"\r\n }\r\n },\r\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\r\n \"message_id\": \"{{$randomUUID}}\",\r\n \"action\": \"search\",\r\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\r\n \"version\": \"1.1.0\",\r\n \"bap_uri\": \"{{bap_uri}}\",\r\n \"bap_id\": \"{{bap_id}}\",\r\n \"bpp_id\": \"mit-ps-retail.becknprotocol.io\",\r\n \"bpp_uri\": \"https://mit-ps-retail.becknprotocol.io\",\r\n \"ttl\": \"PT10M\"\r\n },\r\n \"message\": {\r\n \"intent\": {\r\n \"provider\": {\r\n \"id\": \"1\"\r\n }\r\n }\r\n }\r\n}\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/search", + "host": [ + "{{base_url}}" + ], + "path": [ + "search" + ] + } + }, + "response": [] + }, + { + "name": "Item based", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": " {\n\n \"context\": {\n \"domain\": \"{{retail}}\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"search\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_id\": \"mit-ps-retail.becknprotocol.io\",\n \"bpp_uri\": \"https://mit-ps-retail.becknprotocol.io\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"intent\": {\n \"item\": {\n \"descriptor\": {\n \"code\": \"Chicken_Treat\"\n }\n }\n }\n }\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/search", + "host": [ + "{{base_url}}" + ], + "path": [ + "search" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Select", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": " {\n\n \"context\": {\n \"domain\": \"{{retail}}\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"select\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_id\": \"{{bpp_id_retail}}\",\n \"bpp_uri\": \"{{bpp_uri_retail}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order\": {\n \"provider\": {\n \"id\": \"1\"\n },\n \"items\": [\n {\n \"id\": \"1\"\n }\n ]\n }\n }\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/select", + "host": [ + "{{base_url}}" + ], + "path": [ + "select" + ] + } + }, + "response": [] + }, + { + "name": "Init", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": " {\n\n \"context\": {\n \"domain\": \"{{retail}}\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"init\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_id\": \"{{bpp_id_retail}}\",\n \"bpp_uri\": \"{{bpp_uri_retail}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order\": {\n \"provider\": {\n \"id\": \"1\"\n },\n \"items\": [\n {\n \"id\": \"1\"\n }\n ]\n }\n }\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/init", + "host": [ + "{{base_url}}" + ], + "path": [ + "init" + ] + } + }, + "response": [] + }, + { + "name": "Confirm", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": " {\n\n \"context\": {\n \"domain\": \"{{retail}}\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"confirm\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_id\": \"{{bpp_id_retail}}\",\n \"bpp_uri\": \"{{bpp_uri_retail}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order\": {\n \"items\": [\n {\n \"id\": \"1\"\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"1\",\n \"customer\": {\n \"contact\": {\n \"email\": \"fox.judie61234@abc.org\",\n \"phone\": \"+91-9999999999\"\n },\n \"person\": {\n \"name\": \"Judie Fox6\"\n }\n }\n }\n ],\n \"billing\": {\n \"name\": \"Industry buyer\",\n \"address\": \"B005 aspire heights, Jurong East, SGP, 680230\",\n \"state\": {\n \"name\": \"Jurong East\"\n },\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"email\": \"nobody@nomail.com\",\n \"phone\": \"9886098860\"\n }\n }\n }\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/confirm", + "host": [ + "{{base_url}}" + ], + "path": [ + "confirm" + ] + } + }, + "response": [] + }, + { + "name": "Status", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": " {\n\n \"context\": {\n \"domain\": \"{{retail}}\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"status\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_id\": \"{{bpp_id_retail}}\",\n \"bpp_uri\": \"{{bpp_uri_retail}}\",\n \"ttl\": \"PT10M\"\n },\n \n \"message\": {\n \"order_id\": \"1\"\n }\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/status", + "host": [ + "{{base_url}}" + ], + "path": [ + "status" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Hotel", + "item": [ + { + "name": "Search", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"context\": {\n \"domain\": \"{{hospitality}}\",\n \"location\": {\n \"city\": {\n \"name\": \"Bangalore\",\n \"code\": \"std:080\"\n },\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"action\": \"search\",\n \"version\": \"1.1.0\",\n \"timestamp\": \"2023-10-09T04:46:28.012Z\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_id\": \"{{bpp_id_hotel}}\",\n \"bpp_uri\": \"{{bpp_uri_hotel}}\"\n },\n \"message\": {\n \"intent\": {\n \"category\": {\n \"descriptor\": {\n \"code\": \"hotel\"\n }\n }\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/search", + "host": [ + "{{base_url}}" + ], + "path": [ + "search" + ] + } + }, + "response": [] + }, + { + "name": "Select", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"context\": {\n \"domain\": \"{{hospitality}}\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"select\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_id\": \"{{bpp_id_hotel}}\",\n \"bpp_uri\": \"{{bpp_uri_hotel}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order\": {\n \"provider\":{\n \"id\":\"45\"\n },\n \"items\": [\n {\n \"id\": \"66\",\n \"quantity\": {\n \"selected\": {\n \"count\": 2\n }\n }\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"3\",\n \"customer\": {\n \"person\": {\n \"tags\": [\n {\n \"descriptor\": {\n \"name\": \"Guest & Room count\"\n },\n \"list\": [\n {\n \"descriptor\": {\n \"name\": \"Room count\"\n },\n \"value\": \"2\"\n },\n {\n \"descriptor\": {\n \"name\": \"Guest Count\"\n },\n \"value\": \"2\"\n },\n {\n \"descriptor\": {\n \"name\": \"Children Count\"\n },\n \"value\": \"0\"\n }\n ]\n }\n ]\n }\n },\n \"stops\": [\n {\n \"time\": {\n \"label\": \"Checkin & Checkout Dates\",\n \"range\": {\n \"start\": \"2024-04-01T00:00:00Z\",\n \"end\": \"2024-04-05T00:00:00Z\"\n }\n }\n }\n ]\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/select", + "host": [ + "{{base_url}}" + ], + "path": [ + "select" + ] + } + }, + "response": [] + }, + { + "name": "Init", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"context\": {\n \"domain\": \"{{hospitality}}\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"init\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_id\": \"{{bpp_id_hotel}}\",\n \"bpp_uri\": \"{{bpp_uri_hotel}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order\": {\n \"provider\": {\n \"id\": \"45\"\n },\n \"items\": [\n {\n \"id\": \"66\"\n }\n ],\n \"billing\": {\n \"name\": \"Motiur Rehman\",\n \"phone\": \"9191223433\",\n \"email\": \"nc.rehman@gmail.com\",\n \"address\": \"123, Terminal 1, Kempegowda Int'l Airport Rd, A - Block, Gangamuthanahalli, Karnataka 560300, India\",\n \"city\": {\n \"name\": \"Gangamuthanahalli\"\n },\n \"state\": {\n \"name\": \"Karnataka\"\n }\n }\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/init", + "host": [ + "{{base_url}}" + ], + "path": [ + "init" + ] + } + }, + "response": [] + }, + { + "name": "Confirm", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"context\": {\n \"domain\": \"{{hospitality}}\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"confirm\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_id\": \"{{bpp_id_hotel}}\",\n \"bpp_uri\": \"{{bpp_uri_hotel}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order\": {\n \"items\": [\n {\n \"id\": \"66\"\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"3\",\n \"customer\": {\n \"contact\": {\n \"email\": \"fox.judie61234@abc.org\",\n \"phone\": \"+91-9999999999\"\n },\n \"person\": {\n \"name\": \"Judie Fox6\"\n }\n }\n }\n ],\n \"billing\": {\n \"name\": \"Industry buyer\",\n \"address\": \"B005 aspire heights, Jurong East, SGP, 680230\",\n \"state\": {\n \"name\": \"Jurong East\"\n },\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"email\": \"nobody@nomail.com\",\n \"phone\": \"9886098860\"\n },\n \"payments\": [\n {\n \"status\": \"PAID\",\n \"type\": \"PRE-FULFILLMENT\",\n \"params\": {\n \"transaction_id\": \"raz816863816313\",\n \"amount\": \"264000.00\",\n \"currency\": \"INR\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_number\": \"1234002341\"\n }\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/confirm", + "host": [ + "{{base_url}}" + ], + "path": [ + "confirm" + ] + } + }, + "response": [] + }, + { + "name": "Status", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"context\": {\n \"domain\": \"{{hospitality}}\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"action\": \"status\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_id\": \"{{bpp_id_hotel}}\",\n \"bpp_uri\": \"{{bpp_uri_hotel}}\",\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62195\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"ttl\": \"P30M\"\n },\n \"message\": {\n \"order_id\": \"380\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/status", + "host": [ + "{{base_url}}" + ], + "path": [ + "status" + ] + } + }, + "response": [] + }, + { + "name": "Rating", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"context\": {\n \"domain\": \"{{hospitality}}\",\n \"location\": {\n \"city\": {\n \"name\": \"Bangalore\",\n \"code\": \"std:080\"\n },\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"action\": \"rating\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_id\": \"{{bpp_id_hotel}}\",\n \"bpp_uri\": \"{{bpp_uri_hotel}}\",\n \"timestamp\": \"2023-10-09T04:46:28.012Z\"\n },\n \"message\": {\n \"ratings\": [\n {\n \"id\": \"380\",\n \"rating_category\": \"Order\",\n \"value\": \"10\"\n }\n ]\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/rating", + "host": [ + "{{base_url}}" + ], + "path": [ + "rating" + ] + } + }, + "response": [] + }, + { + "name": "Cancel", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"context\": {\n \"domain\": \"{{hospitality}}\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"action\": \"cancel\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_id\": \"{{bpp_id_hotel}}\",\n \"bpp_uri\": \"{{bpp_uri_hotel}}\",\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62195\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-05-25T05:23:04.443Z\",\n \"ttl\": \"P30M\"\n },\n \"message\": {\n \"order_id\": \"380\",\n \"cancellation_reason_id\": \"4\",\n \"descriptor\": {\n \"short_desc\": \"Found better price\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/cancel", + "host": [ + "{{base_url}}" + ], + "path": [ + "cancel" + ] + } + }, + "response": [] + }, + { + "name": "Track", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"context\": {\n \"domain\": \"{{hospitality}}\",\n \"location\": {\n \"city\": {\n \"name\": \"Bangalore\",\n \"code\": \"std:080\"\n },\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"action\": \"track\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_id\": \"{{bpp_id_hotel}}\",\n \"bpp_uri\": \"{{bpp_uri_hotel}}\",\n \"timestamp\": \"2023-10-09T04:46:28.012Z\"\n },\n \"message\": {\n \"order_id\": \"380\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/track", + "host": [ + "{{base_url}}" + ], + "path": [ + "track" + ] + } + }, + "response": [] + }, + { + "name": "Update", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"context\": {\n \"domain\": \"{{hospitality}}\",\n \"location\": {\n \"city\": {\n \"name\": \"Bangalore\",\n \"code\": \"std:080\"\n },\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"action\": \"update\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_id\": \"{{bpp_id_hotel}}\",\n \"bpp_uri\": \"{{bpp_uri_hotel}}\",\n \"timestamp\": \"2023-10-09T04:46:28.012Z\"\n },\n \"message\": {\n \"order\": {\n \"id\": \"380\",\n \"fulfillments\": [\n {\n \"customer\": {\n \"contact\": {\n \"phone\": \"8056475648\"\n }\n }\n }\n ]\n },\n \"update_target\": \"order.fulfillments[0].customer.contact.phone\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/update", + "host": [ + "{{base_url}}" + ], + "path": [ + "update" + ] + } + }, + "response": [] + }, + { + "name": "Support", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"context\": {\n \"domain\": \"{{hospitality}}\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62195\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"support\",\n \"timestamp\": \"2024-01-20T10:59:11.559Z\",\n \"version\": \"1.1.0\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bap_id\": \"{{bap_id}}\",\n \"bpp_id\": \"{{bpp_id_hotel}}\",\n \"bpp_uri\": \"{{bpp_uri_hotel}}\"\n },\n \"message\": {\n \"support\": {\n \"ref_id\": \"1\",\n \"callback_phone\": \"+91-81347776660\",\n \"phone\": \"+91 9988776543\",\n \"email\": \"supportperson@gmail.com\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{base_url}}/support", + "host": [ + "{{base_url}}" + ], + "path": [ + "support" + ] + } + }, + "response": [] + } + ] + } + ], + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "key": "core_version", + "value": "1.1.0", + "type": "string" + }, + { + "key": "dhp_consultation", + "value": "dhp:consultation:0.1.0", + "type": "string" + }, + { + "key": "uei", + "value": "uei:charging", + "type": "string" + }, + { + "key": "retail", + "value": "retail:1.1.0", + "type": "string" + }, + { + "key": "bap_id", + "value": "mit-ps-bap.becknprotocol.io", + "type": "string" + }, + { + "key": "bap_uri", + "value": "https://mit-ps-bap.becknprotocol.io", + "type": "string" + }, + { + "key": "bpp_id_retail", + "value": "mit-ps-retail.becknprotocol.io", + "type": "string" + }, + { + "key": "bpp_uri_retail", + "value": "https://mit-ps-retail.becknprotocol.io", + "type": "string" + }, + { + "key": "bpp_id_ev", + "value": "mit-ps-energy.becknprotocol.io", + "type": "string" + }, + { + "key": "bpp_uri_ev", + "value": "https://mit-ps-energy.becknprotocol.io", + "type": "string" + }, + { + "key": "bpp_id_dhp", + "value": "mit-ps-healthcare.becknprotocol.io", + "type": "string" + }, + { + "key": "bpp_uri_dhp", + "value": "https://mit-ps-healthcare.becknprotocol.io", + "type": "string" + }, + { + "key": "bpp_id_hotel", + "value": "mit-ps-hotel.becknprotocol.io", + "type": "string" + }, + { + "key": "bpp_uri_hotel", + "value": "https://mit-ps-hotel.becknprotocol.io", + "type": "string" + }, + { + "key": "bpp_id_ticket", + "value": "mit-ps-tourism.becknprotocol.io", + "type": "string" + }, + { + "key": "bpp_uri_ticket", + "value": "https://mit-ps-tourism.becknprotocol.io", + "type": "string" + }, + { + "key": "base_url", + "value": "https://mit-ps-bap-client.becknprotocol.io", + "type": "string" + }, + { + "key": "bpp_uri", + "value": "https://onix-bpp.becknprotocol.io", + "type": "string" + }, + { + "key": "bpp_id", + "value": "onix-bpp.becknprotocol.io", + "type": "string" + }, + { + "key": "supply_chain", + "value": "supply-chain-services:assembly", + "type": "string" + }, + { + "key": "base_url_assembly", + "value": "https://onix-bap-client.becknprotocol.io", + "type": "string" + }, + { + "key": "hospitality", + "value": "hospitality", + "type": "string" + } + ] +} \ No newline at end of file