{ "info": { "_postman_id": "986fb144-7449-4944-8b08-0dfc975c364e", "name": "DHP Sandbox", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "23690031" }, "item": [ { "name": "Pharmacy", "item": [ { "name": "Search", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"search\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n },\n \"city\": {\n \"code\": \"std:080\"\n }\n },\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"intent\": {\n \"category\": {\n \"id\": \"pharmacy\"\n }\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/search", "host": ["{{base_url}}"], "path": ["search"] } }, "response": [] }, { "name": "Search_-Item-Location-provider", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"search\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"city\": \"std:080\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"intent\": {\n \"category\": {\n \"id\": \"pharmacy\"\n },\n \"location\": {\n \"gps\": \"12.423423,77.325647\",\n \"radius\": {\n \"type\": \"CONSTANT\",\n \"value\": \"5\",\n \"unit\": \"km\"\n }\n },\n \"item\": {\n \"name\": \"paracetamol\"\n },\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\"\n }\n }\n }\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/search", "host": ["{{base_url}}"], "path": ["search"] } }, "response": [] }, { "name": "Search-Item-Location", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"search\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"city\": \"std:080\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"intent\": {\n \"category\": {\n \"id\": \"pharmacy\"\n },\n \"location\": {\n \"gps\": \"12.423423,77.325647\",\n \"radius\": {\n \"type\": \"CONSTANT\",\n \"value\": \"5\",\n \"unit\": \"km\"\n }\n },\n \"item\": {\n \"name\": \"paracetamol\"\n }\n }\n }\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/search", "host": ["{{base_url}}"], "path": ["search"] } }, "response": [] }, { "name": "Search-Loaction", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"search\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"city\": \"std:080\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"intent\": {\n \"category\": {\n \"id\": \"pharmacy\"\n },\n \"location\": {\n \"gps\": \"12.423423,77.325647\",\n \"radius\": {\n \"type\": \"CONSTANT\",\n \"value\": \"5\",\n \"unit\": \"km\"\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\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"select\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"city\": \"std:080\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"order\": {\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\"\n },\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"2\",\n \"unit\": \"units\"\n }\n }\n }\n },\n {\n \"id\": \"1cef39d8-72d0-46f7-99ca-3f18f4bda8e3\",\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"3\",\n \"unit\": \"units\"\n }\n }\n }\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"ful-02\",\n \"stops\": [\n {\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"area_code\": \"680230\"\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\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"init\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"city\": \"std:080\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"order\": {\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\"\n },\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"2\",\n \"unit\": \"units\"\n }\n }\n }\n },\n {\n \"id\": \"1cef39d8-72d0-46f7-99ca-3f18f4bda8e3\",\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"3\",\n \"unit\": \"units\"\n }\n }\n }\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"ful-02\",\n \"customer\": {\n \"contact\": {\n \"email\": \"fox.judie@abc.org\",\n \"phone\": \"+91-9999999999\"\n },\n \"person\": {\n \"name\": \"Judie Fox\"\n }\n },\n \"stops\": [\n {\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"address\": \"My House #, My building\",\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"country\": {\n \"code\": \"SGP\"\n },\n \"area_code\": \"680230\",\n \"state\": {\n \"name\": \"bayern\"\n }\n },\n \"contact\": {\n \"phone\": \"9886098860\"\n }\n }\n ]\n }\n ],\n \"billing\": {\n \"name\": \"Alice Smith\",\n \"address\": \"Apt 303, Maple Towers, Richmond Road, 560001\",\n \"state\": {\n \"name\": \"Jurong East\"\n },\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"email\": \"alice.smith@example.com\",\n \"phone\": \"9886098860\"\n },\n \"docs\": [\n {\n \"descriptor\": {\n \"code\": \"prescription\",\n \"name\": \"Medicine prescription\",\n \"short_desc\": \"Prescription uploaded here\"\n },\n \"mime_type\": \"application/pdf\",\n \"url\": \"https://quickpharma.in/prescription/04389d8c-6a50-4664-9c08-4ee45fef44e8.pdf\"\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\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"confirm\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"city\": \"std:080\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"order\": {\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\"\n },\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"2\",\n \"unit\": \"units\"\n }\n }\n }\n },\n {\n \"id\": \"1cef39d8-72d0-46f7-99ca-3f18f4bda8e3\",\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"3\",\n \"unit\": \"units\"\n }\n }\n }\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"ful-02\",\n \"customer\": {\n \"contact\": {\n \"email\": \"fox.judie@abc.org\",\n \"phone\": \"+91-9999999999\"\n },\n \"person\": {\n \"name\": \"Judie Fox\"\n }\n },\n \"stops\": [\n {\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"address\": \"My House #, My building\",\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"country\": {\n \"code\": \"SGP\"\n },\n \"area_code\": \"680230\",\n \"state\": {\n \"name\": \"bayern\"\n }\n },\n \"contact\": {\n \"phone\": \"9886098860\"\n }\n }\n ]\n }\n ],\n \"billing\": {\n \"name\": \"Alice Smith\",\n \"address\": \"Apt 303, Maple Towers, Richmond Road, 560001\",\n \"state\": {\n \"name\": \"Jurong East\"\n },\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"email\": \"alice.smith@example.com\",\n \"phone\": \"9886098860\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"700\",\n \"currency\": \"INR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Strapi BPP Limited\"\n },\n \"status\": \"PAID\",\n \"type\": \"PRE-ORDER\",\n \"transaction_id\": \"a35b56cf-e5cf-41f1-9b5d-fa99d8d5ac8c\"\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\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"status\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"city\": \"std:080\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"order_id\": \"853c7593-f4bf-4557-8832-118a591787ba\"\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\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"rating\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"city\": \"std:080\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"ratings\": [\n {\n \"id\": \"853c7593-f4bf-4557-8832-118a591787ba\",\n \"rating_category\": \"Item\",\n \"value\": \"5\"\n }\n ]\n }\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/rating", "host": ["{{base_url}}"], "path": ["rating"] } }, "response": [] }, { "name": "Track", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"track\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"city\": \"std:080\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"order_id\": \"853c7593-f4bf-4557-8832-118a591787ba\",\n \"callback_url\": \"https://dhp-network-bap.becknprotocol.io/track/callback\"\n }\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\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"update\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"city\": \"std:080\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"update_target\": \"order.fulfillments[0].stops[0]\",\n \"order\": {\n \"id\": \"853c7593-f4bf-4557-8832-118a591787ba\",\n \"fulfillments\": [\n {\n \"stops\": [\n {\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"address\": \"My House #, My building\",\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"country\": {\n \"code\": \"SGP\"\n },\n \"area_code\": \"680230\",\n \"state\": {\n \"name\": \"bayern\"\n }\n },\n \"contact\": {\n \"phone\": \"9886098860\"\n }\n }\n ]\n }\n ]\n }\n }\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\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"support\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"city\": \"std:080\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"support\": {\n \"order_id\": \"853c7593-f4bf-4557-8832-118a591787ba\",\n \"callback_phone\": \"+91-8858150053\"\n }\n }\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/support", "host": ["{{base_url}}"], "path": ["support"] } }, "response": [] }, { "name": "Cancel", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"cancel\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"city\": \"std:080\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"order_id\": \"853c7593-f4bf-4557-8832-118a591787ba\",\n \"cancellation_reason_id\": \"4\",\n \"descriptor\": {\n \"short_desc\": \"Prescription Changed\",\n \"long_desc\": \"The patient's prescription has been changed, and the medication order is no longer valid.\"\n }\n }\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/cancel", "host": ["{{base_url}}"], "path": ["cancel"] } }, "response": [] } ] }, { "name": "Consultation", "item": [ { "name": "Search", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:consultation:0.1.0\",\n \"action\": \"search\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n },\n \"city\": {\n \"code\": \"std:080\"\n }\n },\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"intent\": {\n \"category\": {\n \"descriptor\": {\n \"code\": \"cardiology\"\n }\n },\n \"fulfillment\": {\n \"stops\": [\n {\n \"location\": {\n \"circle\": {\n \"gps\": \"12.423423,77.325647\",\n \"radius\": {\n \"type\": \"CONSTANT\",\n \"value\": \"5\",\n \"unit\": \"km\"\n }\n }\n }\n }\n ]\n },\n \"item\": {\n \"descriptor\": {\n \"name\": \"Orthopedaedic Surgeon\"\n }\n },\n \"provider\": {\n \"id\": \"289edce4-d002-4962-b311-4c025e22b4f6\"\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\": \"dhp:consultation:0.1.0\",\n \"action\": \"select\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n },\n \"city\": {\n \"code\": \"std:080\"\n }\n },\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"order\": {\n \"provider\": {\n \"id\": \"289edce4-d002-4962-b311-4c025e22b4f6\"\n },\n \"fulfillments\": [\n {\n \"id\": \"ful-01\"\n }\n ],\n \"items\": [\n {\n \"id\": \"cons-01\"\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\": \"dhp:consultation:0.1.0\",\n \"action\": \"init\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n },\n \"city\": {\n \"code\": \"std:080\"\n }\n },\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"order\": {\n \"provider\": {\n \"id\": \"289edce4-d002-4962-b311-4c025e22b4f6\"\n },\n \"fulfillments\": [\n {\n \"id\": \"ful-01\",\n \"customer\": {\n \"person\": {\n \"name\": \"Jane Doe\",\n \"age\": \"13\",\n \"gender\": \"female\",\n \"dob\": \"1995-09-11\"\n },\n \"contact\": {\n \"phone\": \"+91-9663088848\",\n \"email\": \"jane.doe@example.com\"\n }\n },\n \"stops\": [\n {\n \"time\": {\n \"label\": \"Booking Slots\",\n \"range\": {\n \"start\": \"2023-11-04T10:00:00.000Z\",\n \"end\": \"2023-11-04T10:30:00.000Z\"\n }\n }\n }\n ]\n }\n ],\n \"items\": [\n {\n \"id\": \"cons-01\"\n }\n ],\n \"billing\": {\n \"name\": \"Rajesh Kumar\",\n \"address\": \"Villa 5, Green Valley, Malleshwaram, 560012\",\n \"state\": {\n \"name\": \"Madhya Pradesh\"\n },\n \"city\": {\n \"name\": \"Bhopal\"\n },\n \"email\": \"rajesh.kumar@example.com\",\n \"phone\": \"+91-9999999999\"\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": [], "url": { "raw": "{{base_url}}/confirm", "host": ["{{base_url}}"], "path": ["confirm"] } }, "response": [] }, { "name": "Status", "request": { "method": "POST", "header": [], "url": { "raw": "{{base_url}}/status", "host": ["{{base_url}}"], "path": ["status"] } }, "response": [] }, { "name": "Rating", "request": { "method": "POST", "header": [], "url": { "raw": "{{base_url}}/rating", "host": ["{{base_url}}"], "path": ["rating"] } }, "response": [] }, { "name": "Update-Booking-Slots", "request": { "method": "POST", "header": [], "url": { "raw": "{{base_url}}/update", "host": ["{{base_url}}"], "path": ["update"] } }, "response": [] }, { "name": "Update-Patient-Details", "request": { "method": "POST", "header": [], "url": { "raw": "{{base_url}}/update", "host": ["{{base_url}}"], "path": ["update"] } }, "response": [] }, { "name": "Support", "request": { "method": "POST", "header": [], "url": { "raw": "{{base_url}}/support", "host": ["{{base_url}}"], "path": ["support"] } }, "response": [] }, { "name": "Track", "request": { "method": "POST", "header": [], "url": { "raw": "{{base_url}}/track", "host": ["{{base_url}}"], "path": ["track"] } }, "response": [] }, { "name": "Cancel", "request": { "method": "POST", "header": [], "url": { "raw": "{{base_url}}/cancel", "host": ["{{base_url}}"], "path": ["cancel"] } }, "response": [] } ] }, { "name": "Diagnostics", "item": [ { "name": "Search", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:diagnostics:0.1.0\",\n \"action\": \"search\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n },\n \"city\": {\n \"code\": \"std:080\"\n }\n },\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"intent\": {\n \"category\": {\n \"descriptor\": {\n \"name\": \"cardiology\"\n }\n },\n \"item\": {\n \"descriptor\": {\n \"name\": \"ecg\"\n }\n },\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\"\n },\n \"location\": {\n \"circle\": {\n \"gps\": \"12.423423,77.325647\",\n \"radius\": {\n \"type\": \"CONSTANT\",\n \"value\": \"5\",\n \"unit\": \"km\"\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\": \"dhp:diagnostics:0.1.0\",\n \"action\": \"select\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n },\n \"city\": {\n \"code\": \"std:080\"\n }\n },\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"order\": {\n \"provider\": {\n \"id\": \"289edce4-d002-4962-b311-4c025e22b4f6\"\n },\n \"fulfillments\": [\n {\n \"id\": \"ful-01\"\n }\n ],\n \"items\": [\n {\n \"id\": \"lab-test-01\"\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\": \"dhp:diagnostics:0.1.0\",\n \"action\": \"init\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n },\n \"city\": {\n \"code\": \"std:080\"\n }\n },\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"order\": {\n \"provider\": {\n \"id\": \"289edce4-d002-4962-b311-4c025e22b4f6\"\n },\n \"items\": [\n {\n \"id\": \"lab-test-01\"\n }\n ],\n \"billing\": {\n \"name\": \"Rajesh Kumar\",\n \"address\": \"Villa 5, Green Valley, Malleshwaram, 560012\",\n \"email\": \"rajesh.kumar@example.com\",\n \"phone\": \"+91-9999999999\"\n },\n \"fulfillments\": [\n {\n \"id\": \"ful-01\",\n \"customer\": {\n \"person\": {\n \"name\": \"Rajesh Kumar\",\n \"age\": \"26\",\n \"gender\": \"M\",\n \"dob\": \"1995-09-11\"\n },\n \"contact\": {\n \"phone\": \"+91-9999999999\",\n \"email\": \"rajesh.kumar@example.com\"\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": [], "url": { "raw": "" } }, "response": [] }, { "name": "Status", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:diagnostics:0.1.0\",\n \"action\": \"status\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n },\n \"city\": {\n \"code\": \"std:080\"\n }\n },\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"order_id\": \"be69bb43-8286-48b4-801f-a8c5b41ad450\"\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\": \"dhp:diagnostics:0.1.0\",\n \"action\": \"rating\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n },\n \"city\": {\n \"code\": \"std:080\"\n }\n },\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"ratings\": [\n {\n \"id\": \"lab-test-01\",\n \"rating_category\": \"Item\",\n \"value\": \"5\"\n }\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/rating", "host": ["{{base_url}}"], "path": ["rating"] } }, "response": [] }, { "name": "Support", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:diagnostics:0.1.0\",\n \"action\": \"support\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n },\n \"city\": {\n \"code\": \"std:080\"\n }\n },\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"support\": {\n \"ref_id\": \"be69bb43-8286-48b4-801f-a8c5b41ad450\",\n \"callback_phone\": \"+91-8858150053\"\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/support", "host": ["{{base_url}}"], "path": ["support"] } }, "response": [] }, { "name": "Track", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:diagnostics:0.1.0\",\n \"action\": \"track\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n },\n \"city\": {\n \"code\": \"std:080\"\n }\n },\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"order_id\": \"be69bb43-8286-48b4-801f-a8c5b41ad450\",\n \"callback_url\": \"https://dhp-network-bap.becknprotocol.io/track/callback\"\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\": \"dhp:diagnostics:0.1.0\",\n \"action\": \"update\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n },\n \"city\": {\n \"code\": \"std:080\"\n }\n },\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"update_target\": \"order.billing\",\n \"order\": {\n \"id\": \"be69bb43-8286-48b4-801f-a8c5b41ad450\",\n \"billing\": {\n \"name\": \"Rajesh Kumar\",\n \"address\": \"Villa 5, Green Valley, Malleshwaram, 560012\",\n \"email\": \"rajesh.kumar@example.com\",\n \"phone\": \"+91-9999999999\"\n }\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/update", "host": ["{{base_url}}"], "path": ["update"] } }, "response": [] }, { "name": "Cancel", "request": { "method": "POST", "header": [], "url": { "raw": "" } }, "response": [] } ] }, { "name": "Ambulance", "item": [ { "name": "Search", "item": [ { "name": "search-start-drop-location-scheduled", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:ambulance:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"intent\": {\n \"category\": {\n \"descriptor\": {\n \"code\": \"ambulance-service\"\n }\n },\n \"fulfillment\": {\n \"type\": \"EMERGENCY\",\n \"stops\": [\n {\n \"type\": \"START\",\n \"time\": {\n \"label\": \"scheduled-time\",\n \"timestamp\": \"2023-09-15T08:00:00Z\"\n },\n \"location\": {\n \"gps\": \"12.423423,77.325647\"\n }\n },\n {\n \"type\": \"END\",\n \"location\": {\n \"gps\": \"12.423483,77.325697\"\n }\n }\n ]\n }\n }\n }\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/search", "host": ["{{base_url}}"], "path": ["search"] } }, "response": [] }, { "name": "search-start-drop-location", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:ambulance:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"intent\": {\n \"category\": {\n \"descriptor\": {\n \"code\": \"ambulance-service\"\n }\n },\n \"fulfillment\": {\n \"type\": \"EMERGENCY\",\n \"stops\": [\n {\n \"type\": \"START\",\n \"location\": {\n \"gps\": \"12.423423,77.325647\"\n }\n },\n {\n \"type\": \"END\",\n \"location\": {\n \"gps\": \"12.423483,77.325697\"\n }\n }\n ]\n }\n }\n }\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/search", "host": ["{{base_url}}"], "path": ["search"] } }, "response": [] }, { "name": "search-start-location-vehicle-patient-type", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:ambulance:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"intent\": {\n \"category\": {\n \"descriptor\": {\n \"code\": \"ambulance-service\"\n }\n },\n \"fulfillment\": {\n \"customer\": {\n \"person\": {\n \"gender\": \"male\",\n \"age\": \"56\"\n }\n },\n \"stops\": [\n {\n \"type\": \"START\",\n \"location\": {\n \"gps\": \"12.423423,77.325647\",\n \"circle\": {\n \"radius\": {\n \"type\": \"CONSTANT\",\n \"value\": \"5\",\n \"unit\": \"km\"\n }\n }\n }\n }\n ],\n \"vehicle\": {\n \"category\": \"pediatric\"\n }\n }\n }\n }\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/search", "host": ["{{base_url}}"], "path": ["search"] } }, "response": [] }, { "name": "search-start-location-vehicle-type", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:ambulance:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"intent\": {\n \"category\": {\n \"descriptor\": {\n \"code\": \"ambulance-service\"\n }\n },\n \"fulfillment\": {\n \"stops\": [\n {\n \"type\": \"START\",\n \"location\": {\n \"gps\": \"12.423423,77.325647\",\n \"circle\": {\n \"radius\": {\n \"type\": \"CONSTANT\",\n \"value\": \"5\",\n \"unit\": \"km\"\n }\n }\n }\n }\n ],\n \"vehicle\": {\n \"category\": \"pediatric\"\n }\n }\n }\n }\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/search", "host": ["{{base_url}}"], "path": ["search"] } }, "response": [] }, { "name": "search-start-location", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:ambulance:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"intent\": {\n \"category\": {\n \"descriptor\": {\n \"code\": \"ambulance-service\"\n }\n },\n \"fulfillment\": {\n \"stops\": [\n {\n \"type\": \"START\",\n \"location\": {\n \"gps\": \"12.423423,77.325647\",\n \"circle\": {\n \"radius\": {\n \"type\": \"CONSTANT\",\n \"value\": \"5\",\n \"unit\": \"km\"\n }\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\": \"dhp:ambulance:0.1.0\",\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order\": {\n \"provider\": {\n \"id\": \"4ab0cbbc-f246-4199-96c9-28a776d46c60\"\n },\n \"items\": [\n {\n \"id\": \"35230bc4-b966-43ae-bc01-79593ed49217\",\n \"add_ons\": [\n {\n \"id\": \"f31ca7cd-b1f1-4b46-b6b8-7c6432e32261\"\n }\n ]\n }\n ],\n \"fulfillment\": [\n {\n \"id\": \"ab-ful-01\",\n \"type\": \"EMERGENCY\",\n \"stops\": [\n {\n \"type\": \"START\",\n \"time\": {\n \"label\": \"scheduled-time\",\n \"timestamp\": \"2023-09-15T08:00:00Z\"\n },\n \"location\": {\n \"gps\": \"12.423423,77.325647\"\n }\n },\n {\n \"type\": \"END\",\n \"location\": {\n \"gps\": \"12.423483,77.325697\"\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\": \"dhp:ambulance:0.1.0\",\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order\": {\n \"provider\": {\n \"id\": \"4ab0cbbc-f246-4199-96c9-28a776d46c60\"\n },\n \"items\": [\n {\n \"id\": \"35230bc4-b966-43ae-bc01-79593ed49217\",\n \"add_ons\": [\n {\n \"id\": \"f31ca7cd-b1f1-4b46-b6b8-7c6432e32261\"\n }\n ]\n }\n ],\n \"fulfillment\": [\n {\n \"id\": \"ab-ful-01\",\n \"type\": \"EMERGENCY\",\n \"customer\": {\n \"person\": {\n \"id\": \"patient-123\",\n \"name\": \"Mr John Smith\",\n \"creds\": [\n {\n \"url\": \"john.smith@example.com\"\n }\n ]\n }\n },\n \"stops\": [\n {\n \"type\": \"START\",\n \"time\": {\n \"label\": \"scheduled-time\",\n \"timestamp\": \"2023-09-15T08:00:00Z\"\n },\n \"location\": {\n \"gps\": \"12.423423,77.325647\"\n }\n },\n {\n \"type\": \"END\",\n \"location\": {\n \"gps\": \"12.423483,77.325697\"\n }\n }\n ]\n }\n ],\n \"billing\": {\n \"name\": \"John Doe\",\n \"address\": \"Door 12, Salarpuria Greenage, Street No 7, Hosur Road, 560068\",\n \"email\": \"john.doe@example.com\",\n \"phone\": \"+91-9999999999\"\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\": \"dhp:ambulance:0.1.0\",\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order\": {\n \"provider\": {\n \"id\": \"4ab0cbbc-f246-4199-96c9-28a776d46c60\"\n },\n \"items\": [\n {\n \"id\": \"35230bc4-b966-43ae-bc01-79593ed49217\",\n \"add_ons\": [\n {\n \"id\": \"f31ca7cd-b1f1-4b46-b6b8-7c6432e32261\"\n }\n ]\n }\n ],\n \"fulfillment\": [\n {\n \"id\": \"ab-ful-01\",\n \"type\": \"EMERGENCY\",\n \"customer\": {\n \"person\": {\n \"id\": \"patient-123\",\n \"name\": \"Mr John Smith\",\n \"creds\": [\n {\n \"url\": \"john.smith@example.com\"\n }\n ]\n }\n },\n \"stops\": [\n {\n \"type\": \"START\",\n \"time\": {\n \"label\": \"scheduled-time\",\n \"timestamp\": \"2023-09-15T08:00:00Z\"\n },\n \"location\": {\n \"gps\": \"12.423423,77.325647\"\n }\n },\n {\n \"type\": \"END\",\n \"location\": {\n \"gps\": \"12.423483,77.325697\"\n }\n }\n ]\n }\n ],\n \"billing\": {\n \"name\": \"John Doe\",\n \"address\": \"Door 12, Salarpuria Greenage, Street No 7, Hosur Road, 560068\",\n \"email\": \"john.doe@example.com\",\n \"phone\": \"+91-9999999999\"\n },\n \"payments\": [\n {\n \"type\": \"PRE-FULFILLMENT\",\n \"status\": \"PAID\",\n \"params\": {\n \"amount\": \"55000\",\n \"currency\": \"INR\",\n \"transaction_id\": \"bb579fb8-cb82-4824-be12-fcbc405b6608\"\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\": \"dhp:ambulance:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order_id\": \"3210fedcba98\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/status", "host": ["{{base_url}}"], "path": ["status"] } }, "response": [] }, { "name": "Track", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:ambulance:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"track\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order_id\": \"3210fedcba98\",\n \"callback_url\": \"https://dhp-network-bap.becknprotocol.io/track/callback\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/track", "host": ["{{base_url}}"], "path": ["track"] } }, "response": [] }, { "name": "Support", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:ambulance:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"support\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"support\": {\n \"order_id\": \"3210fedcba98\",\n \"phone\": \"+919876543210\",\n \"email\": \"john.doe@gmail.com\"\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/support", "host": ["{{base_url}}"], "path": ["support"] } }, "response": [] }, { "name": "Update", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:ambulance:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"update\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"update_target\": \"order.fulfillment[0].stops[0].location\",\n \"order\": {\n \"id\": \"3210fedcba98\",\n \"fulfillment\": [\n {\n \"id\": \"ab-ful-01\",\n \"type\": \"EMERGENCY\",\n \"stops\": [\n {\n \"type\": \"END\",\n \"location\": {\n \"gps\": \"12.423483,77.325697\"\n }\n }\n ]\n }\n ]\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/update", "host": ["{{base_url}}"], "path": ["update"] } }, "response": [] }, { "name": "Cancel", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:ambulance:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"cancel\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order_id\": \"3210fedcba98\",\n \"cancellation_reason_id\": \"2\",\n \"descriptor\": {\n \"short_desc\": \"Patient Discharged\",\n \"long_desc\": \"The patient has been discharged and no longer requires the ambulance service.\"\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/cancel", "host": ["{{base_url}}"], "path": ["cancel"] } }, "response": [] }, { "name": "Rating", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:ambulance:0.1.0\",\n \"action\": \"rating\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n },\n \"city\": {\n \"code\": \"std:080\"\n }\n },\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"ratings\": [\n {\n \"rating_category\": \"Agent\",\n \"id\": \"FULAGE123\",\n \"value\": \"5\"\n }\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/rating", "host": ["{{base_url}}"], "path": ["rating"] } }, "response": [] } ] }, { "name": "BloodBank", "item": [ { "name": "Search Copy", "item": [ { "name": "search-emergency-blood-bank-availability", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:bloodbank:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"intent\": {\n \"provider\": {\n \"descriptor\": {\n \"name\": \"Max Blood Bank\"\n }\n },\n \"category\": {\n \"id\": \"blood-availability\"\n },\n \"item\": {\n \"descriptor\": {\n \"code\": \"O+ve\"\n },\n \"quantity\": {\n \"available\": {\n \"measure\": {\n \"value\": \"3\",\n \"unit\": \"units\"\n }\n }\n }\n }\n }\n }\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/search", "host": ["{{base_url}}"], "path": ["search"] } }, "response": [] }, { "name": "search-emergency-blood-bank-location", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:bloodbank:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"intent\": {\n \"category\": {\n \"id\": \"blood-bank\"\n },\n \"fulfillment\": {\n \"type\": \"NORMAL\",\n \"stops\": [\n {\n \"type\": \"START\",\n \"location\": {\n \"gps\": \"12.423423,77.325647\",\n \"circle\": {\n \"radius\": {\n \"type\": \"CONSTANT\",\n \"value\": \"5\",\n \"unit\": \"km\"\n }\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": "search-emergency-blood-bank", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:bloodbank:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"intent\": {\n \"provider\": {\n \"descriptor\": {\n \"name\": \"Max Blood Bank\"\n }\n }\n }\n }\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/search", "host": ["{{base_url}}"], "path": ["search"] } }, "response": [] }, { "name": "search-emergency-blood-camps", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:bloodbank:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"intent\": {\n \"provider\": {\n \"descriptor\": {\n \"name\": \"blood donation camp\"\n }\n },\n \"fulfillment\": {\n \"type\": \"NORMAL\",\n \"stops\": [\n {\n \"time\": {\n \"timestamp\": \"2023-10-10T00:00:00.0Z\"\n }\n }\n ]\n }\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/search", "host": ["{{base_url}}"], "path": ["search"] } }, "response": [] }, { "name": "search-emergency-blood-location", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:bloodbank:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"intent\": {\n \"category\": {\n \"id\": \"blood-availability\"\n },\n \"item\": {\n \"descriptor\": {\n \"code\": \"O+ve\"\n },\n \"quantity\": {\n \"available\": {\n \"measure\": {\n \"value\": \"3\",\n \"unit\": \"units\"\n }\n }\n }\n },\n \"fulfillment\": {\n \"type\": \"NORMAL\",\n \"stops\": [\n {\n \"type\": \"START\",\n \"location\": {\n \"gps\": \"12.423423,77.325647\",\n \"circle\": {\n \"radius\": {\n \"type\": \"CONSTANT\",\n \"value\": \"5\",\n \"unit\": \"km\"\n }\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": "search-emergency-blood", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:bloodbank:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"intent\": {\n \"category\": {\n \"id\": \"blood-availability\"\n },\n \"item\": {\n \"descriptor\": {\n \"code\": \"O+ve\"\n },\n \"quantity\": {\n \"available\": {\n \"measure\": {\n \"value\": \"3\",\n \"unit\": \"units\"\n }\n }\n }\n },\n \"fulfillment\": {\n \"type\": \"EMERGENCY\"\n }\n }\n }\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/search", "host": ["{{base_url}}"], "path": ["search"] } }, "response": [] }, { "name": "search-request", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:bloodbank:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"intent\": {\n \"category\": {\n \"id\": \"blood-availability\"\n },\n \"item\": {\n \"descriptor\": {\n \"code\": \"O+ve\"\n },\n \"quantity\": {\n \"available\": {\n \"measure\": {\n \"value\": \"3\",\n \"unit\": \"units\"\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\": \"dhp:bloodbank:0.1.0\",\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order\": {\n \"provider\": {\n \"id\": \"23847572-53a0-49f2-9159-6b89b0168f49\"\n },\n \"items\": [\n {\n \"id\": \"f47e5d7c-1e9f-414f-a9e2-9359d4434d73\",\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"2\",\n \"unit\": \"units\"\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\": \"dhp:bloodbank:0.1.0\",\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order\": {\n \"provider\": {\n \"id\": \"23847572-53a0-49f2-9159-6b89b0168f49\"\n },\n \"items\": [\n {\n \"id\": \"f47e5d7c-1e9f-414f-a9e2-9359d4434d73\",\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"2\",\n \"unit\": \"units\"\n }\n }\n }\n }\n ],\n \"billing\": {\n \"name\": \"Jane Doe\",\n \"address\": \"Flat 102, Serene Springs, JP Nagar, 560078\",\n \"email\": \"jane.doe@example.com\",\n \"phone\": \"+91-8888888888\"\n },\n \"fulfillment\": {\n \"customer\": {\n \"person\": {\n \"id\": \"patient-123\",\n \"name\": \"Jane Doe\",\n \"creds\": [\n {\n \"url\": \"jane.doe@example.com\"\n }\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\": \"dhp:bloodbank:0.1.0\",\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order\": {\n \"provider\": {\n \"id\": \"23847572-53a0-49f2-9159-6b89b0168f49\"\n },\n \"items\": [\n {\n \"id\": \"f47e5d7c-1e9f-414f-a9e2-9359d4434d73\",\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"2\",\n \"unit\": \"units\"\n }\n }\n }\n }\n ],\n \"billing\": {\n \"name\": \"Jane Doe\",\n \"address\": \"Flat 102, Serene Springs, JP Nagar, 560078\",\n \"email\": \"jane.doe@example.com\",\n \"phone\": \"+91-8888888888\"\n },\n \"fulfillment\": {\n \"customer\": {\n \"person\": {\n \"id\": \"patient-123\",\n \"name\": \"Jane Doe\",\n \"creds\": [\n {\n \"url\": \"jane.doe@example.com\"\n }\n ]\n }\n }\n },\n \"payments\": [\n {\n \"type\": \"PRE-FULFILLMENT\",\n \"status\": \"PAID\",\n \"params\": {\n \"amount\": \"0\",\n \"currency\": \"INR\"\n }\n }\n ]\n }\n }\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/confirm", "host": ["{{base_url}}"], "path": ["confirm"] } }, "response": [] }, { "name": "Support", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:bloodbank:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"support\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"support\": {\n \"order_id\": \"9ff3e9f5-31f7-454e-bbed-e37e8c014404\",\n \"phone\": \"+919876543210\",\n \"email\": \"john.doe@gmail.com\"\n }\n }\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/support", "host": ["{{base_url}}"], "path": ["support"] } }, "response": [] }, { "name": "Rating", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:bloodbank:0.1.0\",\n \"action\": \"rating\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n },\n \"city\": {\n \"code\": \"std:080\"\n }\n },\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"ratings\": [\n {\n \"rating_category\": \"Agent\",\n \"id\": \"FULAGE123\",\n \"value\": \"5\"\n }\n ]\n }\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/rating", "host": ["{{base_url}}"], "path": ["rating"] } }, "response": [] }, { "name": "Track", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:bloodbank:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"track\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order_id\": \"3210fedcba98\",\n \"callback_url\": \"https://dhp-network-bap.becknprotocol.io/track/callback\"\n }\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\": \"dhp:bloodbank:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n },\n \"city\": {\n \"code\": \"std:080\"\n }\n },\n \"action\": \"update\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"transaction_id\": \"553727fa-4329-4c8f-9101-ba7eed1796b1\",\n \"message_id\": \"{{$randomUUID}}\",\n \"timestamp\": \"2023-09-09T16:00:00.052Z\"\n },\n \"message\": {\n \"update_target\": \"order.billing\",\n \"order\": {\n \"id\": \"9ff3e9f5-31f7-454e-bbed-e37e8c014404\",\n \"billing\": {\n \"name\": \"John Doe\",\n \"address\": \"Flat 102, Serene Springs, JP Nagar, 560078\",\n \"email\": \"john.doe@example.com\",\n \"phone\": \"+91-8888888888\"\n }\n }\n }\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/update", "host": ["{{base_url}}"], "path": ["update"] } }, "response": [] }, { "name": "Status", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:bloodbank:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\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_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order_id\": \"9ff3e9f5-31f7-454e-bbed-e37e8c014404\"\n }\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/status", "host": ["{{base_url}}"], "path": ["status"] } }, "response": [] }, { "name": "Cancel", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"context\": {\n \"domain\": \"dhp:bloodbank:0.1.0\",\n \"location\": {\n \"country\": {\n \"code\": \"IND\"\n }\n },\n \"transaction_id\": \"a9aaecca-10b7-4d19-b640-b047a7c62196\",\n \"message_id\": \"{{$randomUUID}}\",\n \"action\": \"cancel\",\n \"timestamp\": \"2023-05-25T05:23:03.443Z\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"{{bap_id}}\",\n \"bap_uri\": \"{{bap_uri}}\",\n \"bpp_id\": \"{{bpp_id}}\",\n \"bpp_uri\": \"{{bpp_uri}}\",\n \"ttl\": \"PT10M\"\n },\n \"message\": {\n \"order_id\": \"23847572-53a0-49f2-9159-6b89b0168f49\",\n \"cancellation_reason_id\": \"3\",\n \"descriptor\": {\n \"short_desc\": \"Received blood from somewhere else\"\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/cancel", "host": ["{{base_url}}"], "path": ["cancel"] } }, "response": [] } ] } ], "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "packages": {}, "exec": [""] } }, { "listen": "test", "script": { "type": "text/javascript", "packages": {}, "exec": [""] } } ], "variable": [ { "key": "base_url", "value": "https://ps-bap-client.becknprotocol.io", "type": "string" }, { "key": "bap_id", "value": "ps-bap-network.becknprotocol.io", "type": "string" }, { "key": "bap_uri", "value": "https://ps-bap-network.becknprotocol.io", "type": "string" }, { "key": "bpp_id", "value": "sandbox-bpp-network.becknprotocol.io", "type": "string" }, { "key": "bpp_uri", "value": "https://sandbox-bpp-network.becknprotocol.io", "type": "string" } ] }