{
  "info": {
    "_postman_id": "a9d8c234-8c43-4be9-b472-abdm-milestone-suite",
    "name": "ABDM APIs (M1, M2, M3 Suite)",
    "description": "Comprehensive Postman Collection for Ayushman Bharat Digital Mission (ABDM) integration.\n\nOrganized by Milestone subdirectories:\n- `front_end/m1/` & `m1/`: Milestone 1 - ABHA Number Creation & Verification\n- `m2/`: Milestone 2 - Health Information Provider (HIP)\n- `m3/`: Milestone 3 - Health Information User (HIU)",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "http://localhost:9007",
      "type": "string",
      "description": "Local PHP dev server"
    },
    {
      "key": "aadhaar",
      "value": "917325641594",
      "type": "string",
      "description": "12-digit Aadhaar number"
    },
    {
      "key": "mobile",
      "value": "9609418837",
      "type": "string",
      "description": "10-digit mobile number"
    },
    {
      "key": "txnId",
      "value": "",
      "type": "string",
      "description": "M1 Aadhaar OTP txnId"
    },
    {
      "key": "otp",
      "value": "578656",
      "type": "string",
      "description": "Aadhaar OTP"
    },
    {
      "key": "gatewayUrl",
      "value": "https://dev.abdm.gov.in/api/hiecm/gateway/v3",
      "type": "string",
      "description": "ABDM Gateway v3 URL"
    },
    {
      "key": "clientId",
      "value": "SBXID_086675",
      "type": "string",
      "description": "ABDM Client ID"
    },
    {
      "key": "clientSecret",
      "value": "1a6c8669-7261-4db1-9d13-4862be8e0447",
      "type": "string",
      "description": "ABDM Client Secret"
    },
    {
      "key": "accessToken",
      "value": "",
      "type": "string",
      "description": "Bearer token from session API"
    },
    {
      "key": "X-CM-ID",
      "value": "sbx",
      "type": "string",
      "description": "Consent Manager ID"
    },
    {
      "key": "bridgeId",
      "value": "SBX_002167",
      "type": "string",
      "description": "Registered Bridge ID"
    },
    {
      "key": "hipId",
      "value": "SBX_HIP_001",
      "type": "string",
      "description": "HIP Service ID"
    },
    {
      "key": "facilityId",
      "value": "IN0710001283",
      "type": "string",
      "description": "Facility ID"
    },
    {
      "key": "facilityName",
      "value": "S Y Hospital New Delhi",
      "type": "string",
      "description": "Facility Name"
    },
    {
      "key": "linkToken",
      "value": "",
      "type": "string",
      "description": "Authentication Link Token"
    },
    {
      "key": "transactionId",
      "value": "",
      "type": "string",
      "description": "HIP Linking / HI Transaction ID"
    },
    {
      "key": "careContextReference",
      "value": "CC-1001",
      "type": "string",
      "description": "Care Context Reference"
    }
  ],
  "item": [
    {
      "name": "Milestone 1 - ABHA Number Creation & Verification (M1)",
      "description": "APIs for ABHA Card Generation via Aadhaar under `front_end/m1/`.",
      "item": [
        {
          "name": "Single-Call APIs (Task 2)",
          "description": "Single API calls that handle token generation, encryption, OTP request, verification, and SVG card download in one step.",
          "item": [
            {
              "name": "1. Generate Aadhaar OTP [Single Call]",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "pm.test(\"Status code is 200\", function () {",
                      "    pm.response.to.have.status(200);",
                      "});",
                      "",
                      "var jsonData = pm.response.json();",
                      "pm.test(\"OTP request succeeded\", function () {",
                      "    pm.expect(jsonData.success).to.eql(true);",
                      "    pm.expect(jsonData.txnId).to.not.be.empty;",
                      "});",
                      "",
                      "if (jsonData.txnId) {",
                      "    pm.collectionVariables.set(\"txnId\", jsonData.txnId);",
                      "    console.log(\"Captured new txnId: \" + jsonData.txnId);",
                      "}"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"aadhaar\": \"{{aadhaar}}\",\n  \"mobile\": \"{{mobile}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m1/api_generate_otp.php",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m1",
                    "api_generate_otp.php"
                  ]
                },
                "description": "Single API call in `front_end/m1/` that:\n1. Obtains session access token from ABDM Gateway\n2. Fetches public certificate & encrypts Aadhaar (RSA-OAEP)\n3. Requests Aadhaar OTP from UIDAI/ABDM\n4. Automatically captures and sets `txnId` collection variable."
              },
              "response": []
            },
            {
              "name": "2. Verify OTP & Download Card SVG [Single Call]",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "pm.test(\"Status code is 200\", function () {",
                      "    pm.response.to.have.status(200);",
                      "});",
                      "",
                      "var jsonData = pm.response.json();",
                      "if (jsonData.success) {",
                      "    pm.test(\"ABHA Profile Enrolled\", function () {",
                      "        pm.expect(jsonData.ABHAProfile).to.not.be.null;",
                      "        console.log(\"ABHA Number: \" + jsonData.ABHAProfile.ABHANumber);",
                      "    });",
                      "    pm.test(\"Card SVG Downloaded & Saved\", function () {",
                      "        pm.expect(jsonData.card.downloaded).to.eql(true);",
                      "    });",
                      "} else {",
                      "    console.warn(\"ABDM Response Message: \" + jsonData.message);",
                      "}"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"otp\": \"{{otp}}\",\n  \"mobile\": \"{{mobile}}\",\n  \"txnId\": \"{{txnId}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m1/api_verify_otp.php",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m1",
                    "api_verify_otp.php"
                  ]
                },
                "description": "Single API call in `front_end/m1/` that:\n1. Encrypts OTP using public key certificate\n2. Enrolls beneficiary via `/enrollment/enrol/byAadhaar`\n3. Saves X-Token & Profile\n4. Automatically downloads ABHA Card SVG from ABDM and saves it to `abha_card.svg`\n5. Returns full profile and card details."
              },
              "response": []
            },
            {
              "name": "3. Unified Controller - Generate OTP",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "var jsonData = pm.response.json();",
                      "if (jsonData.txnId) {",
                      "    pm.collectionVariables.set(\"txnId\", jsonData.txnId);",
                      "}"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"action\": \"generate_otp\",\n  \"aadhaar\": \"{{aadhaar}}\",\n  \"mobile\": \"{{mobile}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m1/api_abha.php?action=generate_otp",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m1",
                    "api_abha.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "generate_otp"
                    }
                  ]
                },
                "description": "Unified M1 controller endpoint calling `action=generate_otp`."
              },
              "response": []
            },
            {
              "name": "4. Unified Controller - Verify OTP & Download Card",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"action\": \"verify_otp\",\n  \"otp\": \"{{otp}}\",\n  \"mobile\": \"{{mobile}}\",\n  \"txnId\": \"{{txnId}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m1/api_abha.php?action=verify_otp",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m1",
                    "api_abha.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "verify_otp"
                    }
                  ]
                },
                "description": "Unified M1 controller endpoint calling `action=verify_otp`."
              },
              "response": []
            },
            {
              "name": "5. View / Download ABHA Card (SVG/PNG)",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/front_end/m1/api_card.php",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m1",
                    "api_card.php"
                  ]
                },
                "description": "Returns the generated ABHA card image/SVG directly."
              },
              "response": []
            },
            {
              "name": "6. Get Cached Beneficiary Profile",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/front_end/m1/api_abha.php?action=profile",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m1",
                    "api_abha.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "profile"
                    }
                  ]
                },
                "description": "Fetches cached profile metadata from profile.json."
              },
              "response": []
            },
            {
              "name": "7. M1 API Health & Status",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/front_end/m1/api_abha.php?action=status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m1",
                    "api_abha.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "status"
                    }
                  ]
                },
                "description": "Returns M1 API health status, gateway connectivity, and available endpoints."
              },
              "response": []
            }
          ]
        },
        {
          "name": "Step-by-Step Flow (Milestone 1 Core)",
          "description": "Granular step requests under `front_end/m1/`.",
          "item": [
            {
              "name": "Step 1: Get Gateway Access Token",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/front_end/m1/get_token.php?format=json",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m1",
                    "get_token.php"
                  ],
                  "query": [
                    {
                      "key": "format",
                      "value": "json"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Step 2: Encrypt Aadhaar Data",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"aadhaar\": \"{{aadhaar}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m1/encrypt_data.php",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m1",
                    "encrypt_data.php"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Step 3: Generate Aadhaar OTP",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m1/generate_otp.php",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m1",
                    "generate_otp.php"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Step 4: Verify OTP & Create ABHA",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"otp\": \"{{otp}}\",\n  \"mobile\": \"{{mobile}}\",\n  \"txnId\": \"{{txnId}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m1/verify_otp.php",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m1",
                    "verify_otp.php"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Step 5: Get ABHA Card SVG",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/front_end/m1/get_card.php?format=json",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m1",
                    "get_card.php"
                  ],
                  "query": [
                    {
                      "key": "format",
                      "value": "json"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Milestone 2 - Health Information Provider (HIP - M2)",
      "description": "Comprehensive Milestone 2 HIP APIs.\n- Local M2 APIs under `m2/`\n- Direct ABDM Gateway Endpoints from official Postman Collection.",
      "item": [
        {
          "name": "Local M2 Provider APIs (under front_end/m2/)",
          "description": "Standardized local endpoints managing Bridge, HIP Linking, User Linking, SMS, Data Transfer, and Webhooks.",
          "item": [
            {
              "name": "1. Gateway Session Token [M2]",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "var jsonData = pm.response.json();",
                      "pm.test(\"Status code is 200\", function () { pm.response.to.have.status(200); });",
                      "if (jsonData.accessToken) {",
                      "    pm.collectionVariables.set(\"accessToken\", jsonData.accessToken);",
                      "    console.log(\"Captured M2 accessToken: \" + jsonData.accessToken.substring(0, 20) + \"...\");",
                      "}"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"refresh\": false\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_session.php",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_session.php"
                  ]
                },
                "description": "Fetches or generates Gateway Session Token in m2/ and automatically sets {{accessToken}}."
              }
            },
            {
              "name": "2. Update Bridge Webhook URL",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"{{baseUrl}}/front_end/m2/webhook.php\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_bridge.php?action=update_url",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_bridge.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "update_url"
                    }
                  ]
                },
                "description": "Registers local/public webhook endpoint with ABDM Gateway."
              }
            },
            {
              "name": "3. Register Bridge Services (MultipleHRPAddUpdateServices)",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"facilityId\": \"{{facilityId}}\",\n  \"facilityName\": \"{{facilityName}}\",\n  \"bridgeId\": \"{{bridgeId}}\",\n  \"hipName\": \"{{facilityName}}\",\n  \"type\": \"HIP\",\n  \"active\": true\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_bridge.php?action=register_services",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_bridge.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "register_services"
                    }
                  ]
                },
                "description": "Registers hospital/facility HIP services under Bridge."
              }
            },
            {
              "name": "4. Find Bridge Services by Bridge ID",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_bridge.php?action=find_bridge&bridgeId={{bridgeId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_bridge.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "find_bridge"
                    },
                    {
                      "key": "bridgeId",
                      "value": "{{bridgeId}}"
                    }
                  ]
                }
              }
            },
            {
              "name": "5. Find Service by Service ID",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_bridge.php?action=find_service&serviceId={{hipId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_bridge.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "find_service"
                    },
                    {
                      "key": "serviceId",
                      "value": "{{hipId}}"
                    }
                  ]
                }
              }
            },
            {
              "name": "6. Get Gateway Public Certs",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_bridge.php?action=certs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_bridge.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "certs"
                    }
                  ]
                }
              }
            },
            {
              "name": "7. Generate Link Token [HIP-Initiated]",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"abhaNumber\": 917325641594,\n  \"abhaAddress\": \"abdulkalam.vthree@sbx\",\n  \"name\": \"Abdulkalam Sheikh\",\n  \"gender\": \"M\",\n  \"yearOfBirth\": 1989,\n  \"hipId\": \"{{hipId}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_hip_link.php?action=generate_token",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_hip_link.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "generate_token"
                    }
                  ]
                },
                "description": "Requests ABDM Link Token for patient demographic linking (202 Accepted)."
              }
            },
            {
              "name": "8. Link Care Context Single [HIP-Initiated]",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"abhaNumber\": \"917325641594\",\n  \"abhaAddress\": \"abdulkalam.vthree@sbx\",\n  \"linkToken\": \"{{linkToken}}\",\n  \"patientReference\": \"MRN-91178386101731\",\n  \"careContextReference\": \"{{careContextReference}}\",\n  \"careContextDisplay\": \"Prescription Consultation\",\n  \"hiType\": \"Prescription\",\n  \"hipId\": \"{{hipId}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_hip_link.php?action=link_single",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_hip_link.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "link_single"
                    }
                  ]
                }
              }
            },
            {
              "name": "9. Link Care Context Multiple [HIP-Initiated]",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"abhaNumber\": \"917325641594\",\n  \"abhaAddress\": \"abdulkalam.vthree@sbx\",\n  \"linkToken\": \"{{linkToken}}\",\n  \"patientReference\": \"MRN-91178386101731\",\n  \"hipId\": \"{{hipId}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_hip_link.php?action=link_multiple",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_hip_link.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "link_multiple"
                    }
                  ]
                }
              }
            },
            {
              "name": "10. Link Care Context Notify",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"abhaAddress\": \"abdulkalam.vthree@sbx\",\n  \"careContextReference\": \"{{careContextReference}}\",\n  \"linkToken\": \"{{linkToken}}\",\n  \"hipId\": \"{{hipId}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_hip_link.php?action=context_notify",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_hip_link.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "context_notify"
                    }
                  ]
                }
              }
            },
            {
              "name": "11. Deep Linking - SMS Notify",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"phoneNo\": \"{{mobile}}\",\n  \"hipName\": \"{{facilityName}}\",\n  \"hipId\": \"{{hipId}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_deep_link.php?action=sms_notify",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_deep_link.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "sms_notify"
                    }
                  ]
                }
              }
            },
            {
              "name": "12. User Linking - On Discover",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"transactionId\": \"{{transactionId}}\",\n  \"patientReference\": \"91178386101731@sbx\",\n  \"hiType\": \"Prescription\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_user_link.php?action=on_discover",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_user_link.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "on_discover"
                    }
                  ]
                }
              }
            },
            {
              "name": "13. User Linking - Link On-Init (OTP)",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"transactionId\": \"{{transactionId}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_user_link.php?action=on_init",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_user_link.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "on_init"
                    }
                  ]
                }
              }
            },
            {
              "name": "14. User Linking - Link On-Confirm",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"patientReference\": \"Mayur C\",\n  \"display\": \"Apollo Encounter 2026\",\n  \"careContextReference\": \"{{careContextReference}}\",\n  \"hiType\": \"Prescription\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_user_link.php?action=on_confirm",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_user_link.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "on_confirm"
                    }
                  ]
                }
              }
            },
            {
              "name": "15. Data Transfer - Consent On-Notify",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consentId\": \"6fd112df-d172-47f6-8835-55839273c702\",\n  \"status\": \"ok\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_data_transfer.php?action=consent_notify",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_data_transfer.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "consent_notify"
                    }
                  ]
                }
              }
            },
            {
              "name": "16. Data Transfer - HI On-Request (ACK)",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"transactionId\": \"{{transactionId}}\",\n  \"sessionStatus\": \"ACKNOWLEDGED\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_data_transfer.php?action=hi_response",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_data_transfer.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "hi_response"
                    }
                  ]
                }
              }
            },
            {
              "name": "17. Data Transfer - Calling Data Push URL (FHIR)",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"transactionId\": \"{{transactionId}}\",\n  \"careContextReference\": \"{{careContextReference}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_data_transfer.php?action=data_push",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_data_transfer.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "data_push"
                    }
                  ]
                }
              }
            },
            {
              "name": "18. Data Transfer - Data Flow Notification",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consentId\": \"97c3668e-49e3-4121-b2d3-1ca6d949cd8a\",\n  \"transactionId\": \"{{transactionId}}\",\n  \"careContextReference\": \"{{careContextReference}}\",\n  \"sessionStatus\": \"TRANSFERRED\",\n  \"hiStatus\": \"DELIVERED\",\n  \"hipId\": \"{{hipId}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_data_transfer.php?action=data_notify",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_data_transfer.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "data_notify"
                    }
                  ]
                }
              }
            },
            {
              "name": "19. M2 Unified Controller (Status / Router)",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_hip.php?action=status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_hip.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "status"
                    }
                  ]
                }
              }
            },
            {
              "name": "20. Webhook Inspection - Get Callbacks",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/api_webhook.php?action=get_callbacks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "api_webhook.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "get_callbacks"
                    }
                  ]
                }
              }
            },
            {
              "name": "21. Webhook Receiver Endpoint",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"simulated\": true,\n  \"event\": \"test-callback\",\n  \"timestamp\": \"2026-10-12T00:00:00.000Z\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m2/webhook.php",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m2",
                    "webhook.php"
                  ]
                }
              }
            }
          ]
        },
        {
          "name": "ABDM Gateway Direct Endpoints (Official HIP)",
          "description": "Official ABDM Gateway endpoints directly targeting dev.abdm.gov.in using collection variables.",
          "item": [
            {
              "name": "Registration and Auth",
              "item": [
                {
                  "name": "Session API",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "var jsonData = pm.response.json();\r",
                          "pm.environment.set(\"accessToken\", jsonData.accessToken);"
                        ],
                        "type": "text/javascript",
                        "packages": {}
                      }
                    },
                    {
                      "listen": "prerequest",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript",
                        "packages": {}
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "sbx",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n    \"clientId\": \"<<Enter Client Id>>\",\n    \"clientSecret\": \"<<Enter Client Secret>>\",\n    \"grantType\": \"client_credentials\"\n}"
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/sessions",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "gateway",
                        "v3",
                        "sessions"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Update Bridge URL",
                  "event": [
                    {
                      "listen": "prerequest",
                      "script": {
                        "exec": [
                          "const datetime = require('moment');\r",
                          "pm.globals.set(\"current_timestamp\",datetime().format(\"YYYY-MM-DD HH:mm:ss.SSS\"));"
                        ],
                        "type": "text/javascript",
                        "packages": {}
                      }
                    }
                  ],
                  "request": {
                    "auth": {
                      "type": "bearer",
                      "bearer": [
                        {
                          "key": "token",
                          "value": "{{accessToken}}",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "PATCH",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "{{X-CM-ID}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"url\": \"{{URL to be updated}}\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge/url",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "gateway",
                        "v3",
                        "bridge",
                        "url"
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "Success",
                      "originalRequest": {
                        "method": "PATCH",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}",
                            "type": "text"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}",
                            "type": "text"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx",
                            "type": "text"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"bridgeId\": \"MOHANK_LTI\",\r\n    \"url\": \"https://webhook.site/3b21e640-493e-4b09-98b9-0fa88acb65ae\"\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge/url",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "gateway",
                            "v3",
                            "bridge",
                            "url"
                          ]
                        }
                      },
                      "status": "Accepted",
                      "code": 202,
                      "_postman_previewlanguage": "plain",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "48"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": "*"
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "PATCH"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,apikey,Internal-Key,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "12d3aa13-f3d8-4764-b762-780b74efe17e"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 11:45:54 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": ""
                    },
                    {
                      "name": "Access Denied",
                      "originalRequest": {
                        "method": "PATCH",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}",
                            "type": "text"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}",
                            "type": "text"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "",
                            "type": "text"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"bridgeId\": \"MOHANK_LT\",\r\n    \"url\": \"https://webhook.site/3b21e640-493e-4b09-98b9-0fa88acb65ae\"\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge/url",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "gateway",
                            "v3",
                            "bridge",
                            "url"
                          ]
                        }
                      },
                      "status": "Forbidden",
                      "code": 403,
                      "_postman_previewlanguage": "plain",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "8"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": "*"
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "PATCH"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,apikey,Internal-Key,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "284f60f8-e63c-4ae1-9653-470ea18f73ae"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "text/plain"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 12:31:47 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "Access Denied"
                    }
                  ]
                },
                {
                  "name": "Registration of bridge services (HIP/HIU)",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Authorization",
                        "value": "Bearer {{Auth_Token}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n  \"facilityId\": \"IN07100*****\",\r\n  \"facilityName\": \"S Y Hospital\",\r\n  \"HRP\": [\r\n    {\r\n      \"bridgeId\": \"{{Bridge_ID}}\",\r\n      \"hipName\": \"S Y Hospital\",\r\n      \"type\": \"HIP\",\r\n      \"active\": true\r\n    }\r\n  ]\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://apihspsbx.abdm.gov.in/v4/int/v1/bridges/MutipleHRPAddUpdateServices",
                      "protocol": "https",
                      "host": [
                        "apihspsbx",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "v4",
                        "int",
                        "v1",
                        "bridges",
                        "MutipleHRPAddUpdateServices"
                      ]
                    },
                    "description": "Generated from cURL: curl --location 'https://apihspsbx.abdm.gov.in/v1/bridges/MutipleHRPAddUpdateServices' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE3MjQxMzI3MTUsImlhdCI6MTcyNDEzMTUxNSwianRpIjoiN2MzNWI1NzctYWQ4ZC00ZmVjLTk2NWMtM2U2YzFiYjg1NzliIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJkZTMxN2ZlYi03NjM4LTQ3NWUtYjI5OS0zM2NhYTVkMTUxNDEiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfVEVTVF9TQyIsInNlc3Npb25fc3RhdGUiOiJlMTdmNWMxMy1kNDRkLTQwODUtYmFlYi04Y2YwNWRmN2JhMGUiLCJhY3IiOiIxIiwiYWxsb3dlZC1vcmlnaW5zIjpbImh0dHA6Ly9sb2NhbGhvc3Q6OTAwNyJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiSGlkSW50ZWdyYXRlZFByb2dyYW0iLCJoZnIiLCJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsIkhpZF9DaGlsZCIsImhlYWx0aElkIiwicGhyIiwiT0lEQyIsImhlYWx0aF9sb2NrZXIiLCJoaXAiLCJIaWRBYmhhU2VhcmNoIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiU0JYX1RFU1RfU0MiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRJZCI6IlNCWF9URVNUX1NDIiwiY2xpZW50SG9zdCI6IjEwMC42NS4xNjAuMjE0IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc2J4X3Rlc3Rfc2MiLCJjbGllbnRBZGRyZXNzIjoiMTAwLjY1LjE2MC4yMTQifQ.VfvoH8S941BemqaYKyB_qfCS4oNLd211AaZ0Hori38ZMCIPJeFx1euSM_oImPRssabuhDIjX6QqVblm9pmft34rPG1XwLPWO53tv6Tidi9s91yp5KluxsqJB0699sFspx9WJvycrOdyv6zKegmcKJ8u-x8hFC8mN3nXSYNIiBIjFIQPgsKDsrnau2G8bf7UYo9UPIzMWuglcy44CDZE6PDdfaVEPwt12NcCbzmfanUXlomEyO7fpJPkB-iDEqyG6dq3o93j_SdhhjjZmQwigACdrYG0z3XXoLLLVzrQKA3thguI4f2QNPSy8NGpij1YG_axOxItr1iwaR6CBtBODZg' \\\r\n--data '{\r\n  \"facilityId\": \"IN0710001283\",\r\n  \"facilityName\": \"S Y Hospital New Delhi\",\r\n  \"HRP\": [\r\n    {\r\n      \"bridgeId\": \"{{Bridge_ID}}\",\r\n      \"hipName\": \"S Y Hospital New Delhi\",\r\n      \"type\": \"HIP\",\r\n      \"active\": true\r\n    }\r\n  ]\r\n}'"
                  },
                  "response": []
                },
                {
                  "name": "Find Bridge Service By Service ID",
                  "event": [
                    {
                      "listen": "prerequest",
                      "script": {
                        "exec": [
                          "const datetime = require('moment');\r",
                          "pm.globals.set(\"current_timestamp\",datetime().format(\"YYYY-MM-DD HH:mm:ss.SSS\"));"
                        ],
                        "type": "text/javascript",
                        "packages": {}
                      }
                    }
                  ],
                  "request": {
                    "auth": {
                      "type": "bearer",
                      "bearer": [
                        {
                          "key": "token",
                          "value": "{{accessToken}}",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "GET",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "{{X-CM-ID}}"
                      }
                    ],
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge-service/serviceId/{{service ID}}",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "gateway",
                        "v3",
                        "bridge-service",
                        "serviceId",
                        "{{service ID}}"
                      ],
                      "query": [
                        {
                          "key": "stateCode",
                          "value": "10",
                          "disabled": true
                        },
                        {
                          "key": "districtCode",
                          "value": "20",
                          "disabled": true
                        }
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "Success",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}",
                            "type": "text"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}",
                            "type": "text"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx",
                            "type": "text"
                          }
                        ],
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge-service/serviceId/Mohan_HIP1",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "gateway",
                            "v3",
                            "bridge-service",
                            "serviceId",
                            "Mohan_HIP1"
                          ],
                          "query": [
                            {
                              "key": "stateCode",
                              "value": "10",
                              "disabled": true
                            },
                            {
                              "key": "districtCode",
                              "value": "20",
                              "disabled": true
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "31"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": "*"
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "GET"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,apikey,Internal-Key,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "1411d724-5426-4303-9c3a-61a12cb3887f"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "application/json"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 11:46:12 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "{\n    \"id\": 9687,\n    \"bridgeId\": \"MOHANK_LTI\",\n    \"serviceId\": \"Mohan_HIP1\",\n    \"name\": \"Mohan Hospital\",\n    \"isHip\": true,\n    \"isPhr\": false,\n    \"endpoints\": {},\n    \"active\": true,\n    \"registerTime\": \"2022-06-10 09:02:52.252\",\n    \"dateCreated\": \"2022-06-10 09:02:52.252\",\n    \"dateModified\": \"2023-12-15 16:01:39.139\"\n}"
                    },
                    {
                      "name": "404 Not found",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}",
                            "type": "text"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}",
                            "type": "text"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx",
                            "type": "text"
                          }
                        ],
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge-service/serviceId/Mohan_HIP1$",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "gateway",
                            "v3",
                            "bridge-service",
                            "serviceId",
                            "Mohan_HIP1$"
                          ],
                          "query": [
                            {
                              "key": "stateCode",
                              "value": "10",
                              "disabled": true
                            },
                            {
                              "key": "districtCode",
                              "value": "20",
                              "disabled": true
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "x-request-id",
                          "value": "fe0af795-5bf0-4732-a044-84537542e647"
                        },
                        {
                          "key": "x-forwarded-proto",
                          "value": "http"
                        },
                        {
                          "key": "postman-token",
                          "value": "f94fa938-c2ef-4559-9be5-c946d5fe5ccc"
                        },
                        {
                          "key": "x-b3-sampled",
                          "value": "0"
                        },
                        {
                          "key": "x-forwarded-for",
                          "value": "100.65.201.149"
                        },
                        {
                          "key": "request-id",
                          "value": "ccae69a6-3eb9-4dbb-a6e6-0cc8cfeff043"
                        },
                        {
                          "key": "x-envoy-attempt-count",
                          "value": "1"
                        },
                        {
                          "key": "activityid",
                          "value": "119233e0-e8ce-45ff-8cc0-aa33b41e61f4"
                        },
                        {
                          "key": "x-cm-id",
                          "value": "sbx"
                        },
                        {
                          "key": "x-envoy-external-address",
                          "value": "100.65.201.149"
                        },
                        {
                          "key": "x-b3-spanid",
                          "value": "9c77814d71528d6d"
                        },
                        {
                          "key": "x-b3-traceid",
                          "value": "03e852a044b577cc9c77814d71528d6d"
                        },
                        {
                          "key": "accept-encoding",
                          "value": "gzip, deflate, br"
                        },
                        {
                          "key": "timestamp",
                          "value": "2024-05-09T11:46:31.988Z"
                        },
                        {
                          "key": "content-type",
                          "value": "application/json; charset=UTF-8"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 11:46:31 GMT"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "2"
                        },
                        {
                          "key": "X-Frame-Options",
                          "value": "DENY"
                        },
                        {
                          "key": "X-XSS-Protection",
                          "value": "1; mode=block"
                        },
                        {
                          "key": "X-Content-Type-Options",
                          "value": "nosniff"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Referrer-Policy",
                          "value": "strict-origin"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "{\n    \"code\": \"404\",\n    \"type\": \"Status report\",\n    \"message\": \"Runtime Error\",\n    \"description\": \"No matching resource found for given API Request\"\n}"
                    }
                  ]
                },
                {
                  "name": "Find Services By Bridge ID",
                  "event": [
                    {
                      "listen": "prerequest",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript",
                        "packages": {}
                      }
                    }
                  ],
                  "request": {
                    "auth": {
                      "type": "bearer",
                      "bearer": [
                        {
                          "key": "token",
                          "value": "{{accessToken}}",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "GET",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "{{X-CM-ID}}"
                      }
                    ],
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge-services",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "gateway",
                        "v3",
                        "bridge-services"
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "Success",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}",
                            "type": "text"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}",
                            "type": "text"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx",
                            "type": "text"
                          }
                        ],
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge-services/SBX_002167",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "gateway",
                            "v3",
                            "bridge-services",
                            "SBX_002167"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "40"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": "*"
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "GET"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,apikey,Internal-Key,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "a62c0d0c-ea45-4a80-bcfa-8d36085c0130"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "application/json"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 11:47:04 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "{\n    \"bridge\": {\n        \"id\": \"SBX_002167\",\n        \"name\": \"barot dhruv\",\n        \"url\": \"https://webhook.site/23961f0f-3500-48d7-8ce2-8d48ad3dc0e9\",\n        \"active\": true,\n        \"blocklisted\": false\n    },\n    \"services\": [\n        {\n            \"id\": \"A1_HL\",\n            \"name\": \"Aarogya One Health Loker\",\n            \"types\": [\n                \"HIP\"\n            ],\n            \"endpoints\": {\n                \"hipEndpoints\": [\n                    {\n                        \"use\": \"registration\",\n                        \"connectionType\": \"HTTPS\",\n                        \"address\": \"https://events.hookdeck.com/e/src_3gsnEgI941mh/registration\"\n                    },\n                    {\n                        \"use\": \"data-upload\",\n                        \"connectionType\": \"HTTPS\",\n                        \"address\": \"https://events.hookdeck.com/e/src_3gsnEgI941mh/data-upload\"\n                    }\n                ],\n                \"hiuEndpoints\": [\n                    {\n                        \"use\": \"registration\",\n                        \"connectionType\": \"HTTPS\",\n                        \"address\": \"https://events.hookdeck.com/e/src_3gsnEgI941mh/registration\"\n                    },\n                    {\n                        \"use\": \"data-upload\",\n                        \"connectionType\": \"HTTPS\",\n                        \"address\": \"https://events.hookdeck.com/e/src_3gsnEgI941mh/data-upload\"\n                    }\n                ],\n                \"healthLockerEndpoints\": [\n                    {\n                        \"use\": \"registration\",\n                        \"connectionType\": \"HTTPS\",\n                        \"address\": \"https://events.hookdeck.com/e/src_3gsnEgI941mh/registration\"\n                    },\n                    {\n                        \"use\": \"data-upload\",\n                        \"connectionType\": \"HTTPS\",\n                        \"address\": \"https://events.hookdeck.com/e/src_3gsnEgI941mh/data-upload\"\n                    }\n                ]\n            },\n            \"active\": true\n        },\n        {\n            \"id\": \"DHRUV_DEV_PHR_001\",\n            \"name\": \"Dhruv PHR APP\",\n            \"types\": [\n                \"PHR\"\n            ],\n            \"endpoints\": {},\n            \"active\": true\n        },\n        {\n            \"id\": \"DHRUV_DEV_PHR_002\",\n            \"name\": \"Dhruv PHR APP Only PHR\",\n            \"types\": [\n                \"PHR\"\n            ],\n            \"endpoints\": {},\n            \"active\": true\n        },\n        {\n            \"id\": \"Dhruv_HEALTH_LOCKER\",\n            \"name\": \"Aarogya One Health Loker\",\n            \"types\": [],\n            \"endpoints\": {\n                \"healthLockerEndpoints\": [\n                    {\n                        \"use\": \"registration\",\n                        \"connectionType\": \"HTTPS\",\n                        \"address\": \"https://webhook.site/248a81d7-4194-4445-ad9c-db7541d8983b/registration\"\n                    },\n                    {\n                        \"use\": \"data-upload\",\n                        \"connectionType\": \"HTTPS\",\n                        \"address\": \"https://webhook.site/248a81d7-4194-4445-ad9c-db7541d8983b/data-upload\"\n                    }\n                ]\n            },\n            \"active\": true\n        },\n        {\n            \"id\": \"Dhruv_HIP\",\n            \"name\": \"Dhruv HIP\",\n            \"types\": [\n                \"HIP\"\n            ],\n            \"endpoints\": {},\n            \"active\": true\n        },\n        {\n            \"id\": \"Dhruv_HIU\",\n            \"name\": \"Dhruv HIU\",\n            \"types\": [\n                \"HIU\"\n            ],\n            \"endpoints\": {},\n            \"active\": true\n        },\n        {\n            \"id\": \"IN1210000232\",\n            \"name\": \"NP AR WEST SIANG aalo hq\",\n            \"types\": [\n                \"HIP\"\n            ],\n            \"endpoints\": {},\n            \"active\": true\n        },\n        {\n            \"id\": \"IN1210000232_1\",\n            \"name\": \"NP AR WEST SIANG aalo hq\",\n            \"types\": [\n                \"HIP\"\n            ],\n            \"endpoints\": {},\n            \"active\": true\n        },\n        {\n            \"id\": \"IN2410000190\",\n            \"name\": \"dhruv hospital\",\n            \"types\": [\n                \"HIP\"\n            ],\n            \"endpoints\": {},\n            \"active\": true\n        }\n    ]\n}"
                    },
                    {
                      "name": "Access Denied",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}",
                            "type": "text"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}",
                            "type": "text"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "",
                            "type": "text"
                          }
                        ],
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge-services/SBX_002167",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "gateway",
                            "v3",
                            "bridge-services",
                            "SBX_002167"
                          ]
                        }
                      },
                      "status": "Forbidden",
                      "code": 403,
                      "_postman_previewlanguage": "plain",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "23"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": "*"
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "GET"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,apikey,Internal-Key,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "75c8e478-2888-442c-9732-3fa93ad8c464"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "text/plain"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 12:32:32 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "Access Denied"
                    }
                  ]
                },
                {
                  "name": "certs",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript",
                        "packages": {}
                      }
                    }
                  ],
                  "protocolProfileBehavior": {
                    "disabledSystemHeaders": {}
                  },
                  "request": {
                    "auth": {
                      "type": "noauth"
                    },
                    "method": "GET",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "{{cm-id}}",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/certs",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "gateway",
                        "v3",
                        "certs"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "openid-configuration",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "{{cm-id}}"
                      }
                    ],
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/.well-known/openid-configuration",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "gateway",
                        "v3",
                        ".well-known",
                        "openid-configuration"
                      ]
                    }
                  },
                  "response": []
                }
              ]
            },
            {
              "name": "HIP Initiated Linking",
              "item": [
                {
                  "name": "Link Token Generation",
                  "event": [
                    {
                      "listen": "prerequest",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript",
                        "packages": {}
                      }
                    },
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "pm.test(\"Positive Scenarios : Generate Link Token\", function () {\r",
                          "});\r",
                          "pm.test(\"Status code is 202\", function () {\r",
                          "    pm.response.to.have.status(202);\r",
                          "});\r",
                          "pm.test(\"Body matches string : \" + (pm.response.text()), function () {\r",
                          "    pm.expect(pm.response.text()).to.equals(\"\");\r",
                          "});\r",
                          "\r",
                          ""
                        ],
                        "type": "text/javascript",
                        "packages": {}
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}"
                      },
                      {
                        "key": "X-HIP-ID",
                        "value": "{{X-HIP-ID}}"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "{{X-CM-ID}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"abhaNumber\": {{ABHA Number}},\r\n    \"abhaAddress\": \"{{ABHA Address}}\",\r\n    \"name\": \"{{name}}\",\r\n    \"gender\": \"{{gender}}\",\r\n    \"yearOfBirth\": {{year}}\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/v3/token/generate-token",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "v3",
                        "token",
                        "generate-token"
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "Success",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-HIP-ID",
                            "value": "SBX_HIP_V2"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"abhaNumber\": 91536782361862,\r\n    \"abhaAddress\": \"abdulkalam.vthree@sbx\",\r\n    \"name\": \"abdulkalam husain Sheikh\",\r\n    \"gender\": \"M\",\r\n    \"yearOfBirth\": 1989\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/v3/token/generate-token",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "v3",
                            "token",
                            "generate-token"
                          ]
                        }
                      },
                      "status": "Accepted",
                      "code": 202,
                      "_postman_previewlanguage": "Text",
                      "header": [],
                      "cookie": [],
                      "body": "Note: this response is expected on Webhook url. \r\nhttps://webhook.site/61350a6f-2a80-4dc0-9f87-80649933e989/api/v3/hip/token/on-generate-token\r\n\r\n{\r\n  \"abhaAddress\": \"abdulkalam.vthree@sbx\",\r\n  \"linkToken\": \"eyJhbGciOiJSUzUxMiJ9.eyJoaXBJZCI6IlNCWF9ISVBfVjIiLCJzdWIiOiJuaXJzaGFkLnZ0aHJlZUBzYngiLCJhYmhhTnVtYmVyIjo5MTUzNjc4MjM2MTg2MiwiZXhwIjoxNzMxMDE0NjQ5LCJpYXQiOjE3MTUyNDY2NDksInRyYW5zYWN0aW9uSWQiOiIxZWNkYjg5Yy05ZGMxLTQwZDEtOTg2Yy0xN2YzYTQxM2NmZDAiLCJhYmhhQWRkcmVzcyI6Im5pcnNoYWQudnRocmVlQHNieCJ9.IG1exoiGJirKiohjltXSeuAIG1y70quMJofgX1C4MDaYdNfADj1IrE1t24cmAKB2c72jEsI4DBhVColzpCnqflMUPnQ3EL6X76pmSa_A2uOu_ffrlIkbetSqw03VLBlVY6b6dCv9qGC_iV8jah8cBlPKBeVIVNQCW-UL2RTBj2IEK3r814vX4cMjaIFV_ry_FRweGcYC38mKQMvqW6uATQnytFDgYicok3uY-lDLgBYk7Ux4KtlRw5RhYactqXv0OJDEPLbnFmLmhYRtXW5xZp-P_e9YvodCIwob5kdGDNJJAg5vNc9lnm3R5343OfJaOaRtotXq4AV_EEdxG1FWag\",\r\n  \"response\": {\r\n    \"requestId\": \"7c9962d4-b259-42b5-8aba-342bea26fbb4\"\r\n  }\r\n}"
                    },
                    {
                      "name": "Access Denied",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-HIP-ID",
                            "value": "SBX_HIP_V3"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx",
                            "disabled": true
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"abhaNumber\": 91536782361862,\r\n    \"abhaAddress\": \"abdulkalam.vthree@sbx\",\r\n    \"name\": \"abdulkalam husain Sheikh\",\r\n    \"gender\": \"M\",\r\n    \"yearOfBirth\": 1989\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/v3/token/generate-token",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "v3",
                            "token",
                            "generate-token"
                          ]
                        }
                      },
                      "status": "Forbidden",
                      "code": 403,
                      "_postman_previewlanguage": "plain",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "12"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": ""
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "POST"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "671c8ef2-2b0e-43c6-acd3-252d626c1197"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "text/plain"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 13:01:01 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "Access Denied"
                    }
                  ]
                },
                {
                  "name": "HIP Initiated Linking Single",
                  "request": {
                    "auth": {
                      "type": "bearer",
                      "bearer": [
                        {
                          "key": "token",
                          "value": "{{accessToken}}",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}"
                      },
                      {
                        "key": "X-HIP-ID",
                        "value": "{{HIP Id}}"
                      },
                      {
                        "key": "X-LINK-TOKEN",
                        "value": "{{Link Token}}"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "{{X-CM-ID}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"abhaNumber\": \"{{ABHA Number}}\",\r\n    \"abhaAddress\": \"{{ABHA Address}}\",\r\n    \"patient\": [\r\n        {\r\n            \"referenceNumber\": \"{{referenceNumber}}\",\r\n            \"display\": \"{{display name}}\",\r\n            \"careContexts\": [\r\n                {\r\n                    \"referenceNumber\": \"{{$guid}}\",\r\n                    \"display\": \"{{display name}}\"\r\n                }\r\n            ],\r\n            \"hiType\": \"{{hiTypes}}\",\r\n            \"count\": 1\r\n        }\r\n    ]\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/hip/v3/link/carecontext",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "hip",
                        "v3",
                        "link",
                        "carecontext"
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "Success",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-HIP-ID",
                            "value": "SBX_HIP_V3"
                          },
                          {
                            "key": "X-LINK-TOKEN",
                            "value": "eyJhbGciOiJSUzUxMiJ9.eyJoaXBJZCI6IlNCWF9ISVBfVjMiLCJzdWIiOiJuaXJzaGFkLnZ0aHJlZUBzYngiLCJhYmhhTnVtYmVyIjo5MTUzNjc4MjM2MTg2MiwiZXhwIjoxNzMxMDE2NTkzLCJpYXQiOjE3MTUyNDg1OTMsInRyYW5zYWN0aW9uSWQiOiIxZWNkYjg5Yy05ZGMxLTQwZDEtOTg2Yy0xN2YzYTQxM2NmZDAiLCJhYmhhQWRkcmVzcyI6Im5pcnNoYWQudnRocmVlQHNieCJ9.gCsTl-BVtdFZ3sBPGSvNkrrEJvJCvPpRENTKCqFxKRZ-aXVUvQ1IHVzHL2-3d_ZbDBZMBNh9nSe8DunWtj8nE5MDZYLe0NhTBo4L34DERUgkAfZ6bUNNpipGx57DOx_943Djtj5gX8n0HHN2VGJHaW17PczZprXmB_SsHleV1VeazTQWAIeq8uG3Y04eYQ2efDw7VaxKjK_a9IP2I-97Wr-ZlA6TVUE_N7vwJ1aKk01u9x3LlWTnPDaWTGMyT-d4a_QjY5ZZnN0EzXhVJTBbCEf-hfVaWMMa-Lm1i76ufEciQU5-SRPHCRNRe_t9gLUdxkYIkigKlaJbsXNM_-b6kw"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"abhaNumber\": \"91536782361862\",\r\n    \"abhaAddress\": \"abdulkalam.vthree@sbx\",\r\n    \"patient\": [\r\n        {\r\n            \"referenceNumber\": \"91178386101731@sbx\",\r\n            \"display\": \"HIP-HOSPITAL_Encounter_1_20240401\",\r\n            \"careContexts\": [\r\n                {\r\n                    \"referenceNumber\": \"{{$guid}}\",\r\n                    \"display\": \"Sugar Test\"\r\n                }\r\n            ],\r\n            \"hiType\": \"Prescription\",\r\n            \"count\": 1\r\n        }\r\n    ]\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/hip/v3/link/carecontext",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "hip",
                            "v3",
                            "link",
                            "carecontext"
                          ]
                        }
                      },
                      "status": "Accepted",
                      "code": 202,
                      "_postman_previewlanguage": "Text",
                      "header": [],
                      "cookie": [],
                      "body": "2 Callbacks will be received on webhook\r\n\r\n1. https://webhook.site/2086641f-2f45-4341-8d8d-63ff0797f61f/api/v3/link/on_carecontext\r\n{\r\n  \"abhaAddress\": \"abdulkalam.vthree@sbx\",\r\n  \"status\": \"Successfully Linked care context\",\r\n  \"response\": {\r\n    \"requestId\": \"721083da-a276-4205-a159-09250c6c908b\"\r\n  }\r\n}\r\n\r\n2. https://webhook.site/2086641f-2f45-4341-8d8d-63ff0797f61f/api/v3/consent/request/hip/notify\r\n{\r\n  \"notification\": {\r\n    \"status\": \"GRANTED\",\r\n    \"consentId\": \"ed486d33-3efa-4b8e-9a5c-47359467c20d\",\r\n    \"consentDetail\": {\r\n      \"schemaVersion\": \"v3\",\r\n      \"consentId\": \"ed486d33-3efa-4b8e-9a5c-47359467c20d\",\r\n      \"createdAt\": \"2024-05-09T09:57:59.680Z\",\r\n      \"patient\": {\r\n        \"id\": \"abdulkalam.vthree@sbx\"\r\n      },\r\n      \"careContexts\": [\r\n        {\r\n          \"patientReference\": \"91178386101731\",\r\n          \"careContextReference\": \"4fe7ada3-1bcd-4987-8f6f-deccfa537665\"\r\n        }\r\n      ],\r\n      \"purpose\": {\r\n        \"text\": \"Self Requested\",\r\n        \"code\": \"PATRQT\",\r\n        \"refUri\": \"www.abdm.gov.in\"\r\n      },\r\n      \"hip\": {\r\n        \"id\": \"SBX_HIP_V3\"\r\n      },\r\n      \"consentManager\": {\r\n        \"id\": \"sbx\"\r\n      },\r\n      \"hiTypes\": [\r\n        \"Prescription\"\r\n      ],\r\n      \"permission\": {\r\n        \"accessMode\": \"VIEW\",\r\n        \"dateRange\": {\r\n          \"from\": \"2024-05-02T09:57:59.626Z\",\r\n          \"to\": \"2024-05-09T09:57:59.626Z\"\r\n        },\r\n        \"dataEraseAt\": \"2124-05-09T09:57:59.626Z\",\r\n        \"frequency\": {\r\n          \"unit\": \"DAY\",\r\n          \"value\": \"0\",\r\n          \"repeats\": \"2\"\r\n        }\r\n      }\r\n    },\r\n    \"signature\": \"lCpFHzAO8P1AkDzxl47AtQoclddPGR+mpOu5GTI/wJAWvlr2KnUIZvfIsBWXpn5+R0QcPCTDc8oxq+DY3jyrbtFqtzGxcWS1iEt6hD+rqnj/HWm8xIgtHX+mHASrKPot1S7iLQPlZkSEQg+4r0MJf4LIogMRQzcwIy8Ot9FNAsabrK9WocN/WLECHRWSjxiDJhP2ymqmZ+IqWGRRnLz3SWah6yGQynPT3lySsNmK1mpUx7hC7shGmFWD8axFtlRVG3u95TvrIx1qGxVOiGB1jDcQuk69UIgSwP/Z7LfBtqIMtpXerwyLb5IejrTLC5uijNofMTW6ULek8id/1YcwWg==\",\r\n    \"grantAcknowledgement\": false\r\n  }\r\n}"
                    },
                    {
                      "name": "Access Denied",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-HIP-ID",
                            "value": "SBX_HIP_V3"
                          },
                          {
                            "key": "X-LINK-TOKEN",
                            "value": "eyJhbGciOiJSUzUxMiJ9.eyJoaXBJZCI6IlNCWF9ISVBfVjMiLCJzdWIiOiJuaXJzaGFkLnZ0aHJlZUBzYngiLCJhYmhhTnVtYmVyIjo5MTUzNjc4MjM2MTg2MiwiZXhwIjoxNzMxMDE2NTkzLCJpYXQiOjE3MTUyNDg1OTMsInRyYW5zYWN0aW9uSWQiOiIxZWNkYjg5Yy05ZGMxLTQwZDEtOTg2Yy0xN2YzYTQxM2NmZDAiLCJhYmhhQWRkcmVzcyI6Im5pcnNoYWQudnRocmVlQHNieCJ9.gCsTl-BVtdFZ3sBPGSvNkrrEJvJCvPpRENTKCqFxKRZ-aXVUvQ1IHVzHL2-3d_ZbDBZMBNh9nSe8DunWtj8nE5MDZYLe0NhTBo4L34DERUgkAfZ6bUNNpipGx57DOx_943Djtj5gX8n0HHN2VGJHaW17PczZprXmB_SsHleV1VeazTQWAIeq8uG3Y04eYQ2efDw7VaxKjK_a9IP2I-97Wr-ZlA6TVUE_N7vwJ1aKk01u9x3LlWTnPDaWTGMyT-d4a_QjY5ZZnN0EzXhVJTBbCEf-hfVaWMMa-Lm1i76ufEciQU5-SRPHCRNRe_t9gLUdxkYIkigKlaJbsXNM_-b6kw"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx",
                            "disabled": true
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"abhaNumber\": \"91536782361862\",\r\n    \"abhaAddress\": \"abdulkalam.vthree@sbx\",\r\n    \"patient\": [\r\n        {\r\n            \"referenceNumber\": \"91178386101731\",\r\n            \"display\": \"HIP-HOSPITAL_Encounter_1_20240401\",\r\n            \"careContexts\": [\r\n                {\r\n                    \"referenceNumber\": \"{{$guid}}\",\r\n                    \"display\": \"Sugar Test\"\r\n                }\r\n            ],\r\n            \"hiType\": \"Prescription\",\r\n            \"count\": 1\r\n        }\r\n    ]\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/hip/v3/link/carecontext",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "hip",
                            "v3",
                            "link",
                            "carecontext"
                          ]
                        }
                      },
                      "status": "Forbidden",
                      "code": 403,
                      "_postman_previewlanguage": "plain",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "15"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": ""
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "POST"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "6f202c4f-be99-4e44-bf95-00719b1dacdd"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "text/plain"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 13:01:38 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "Access Denied"
                    },
                    {
                      "name": "Error Message",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-HIP-ID",
                            "value": "SBX_HIP_V3"
                          },
                          {
                            "key": "X-LINK-TOKEN",
                            "value": "eyJhbGciOiJSUzUxMiJ9.eyJoaXBJZCI6IlNCWF9ISVBfVjMiLCJzdWIiOiJuaXJzaGFkLnZ0aHJlZUBzYngiLCJhYmhhTnVtYmVyIjo5MTUzNjc4MjM2MTg2MiwiZXhwIjoxNzMxMDE2NTkzLCJpYXQiOjE3MTUyNDg1OTMsInRyYW5zYWN0aW9uSWQiOiIxZWNkYjg5Yy05ZGMxLTQwZDEtOTg2Yy0xN2YzYTQxM2NmZDAiLCJhYmhhQWRkcmVzcyI6Im5pcnNoYWQudnRocmVlQHNieCJ9.gCsTl-BVtdFZ3sBPGSvNkrrEJvJCvPpRENTKCqFxKRZ-aXVUvQ1IHVzHL2-3d_ZbDBZMBNh9nSe8DunWtj8nE5MDZYLe0NhTBo4L34DERUgkAfZ6bUNNpipGx57DOx_943Djtj5gX8n0HHN2VGJHaW17PczZprXmB_SsHleV1VeazTQWAIeq8uG3Y04eYQ2efDw7VaxKjK_a9IP2I-97Wr-ZlA6TVUE_N7vwJ1aKk01u9x3LlWTnPDaWTGMyT-d4a_QjY5ZZnN0EzXhVJTBbCEf-hfVaWMMa-Lm1i76ufEciQU5-SRPHCRNRe_t9gLUdxkYIkigKlaJbsXNM_-b6kw"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"abhaNumber\": \"\",\r\n    \"abhaAddress\": \"abdulkalam.vthree@sbx\",\r\n    \"patient\": [\r\n        {\r\n            \"referenceNumber\": \"91178386101731\",\r\n            \"display\": \"HIP-HOSPITAL_Encounter_1_20240401\",\r\n            \"careContexts\": [\r\n                {\r\n                    \"referenceNumber\": \"{{$guid}}\",\r\n                    \"display\": \"Sugar Test\"\r\n                }\r\n            ],\r\n            \"hiType\": \"Prescription\",\r\n            \"count\": 1\r\n        }\r\n    ]\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/hip/v3/link/carecontext",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "hip",
                            "v3",
                            "link",
                            "carecontext"
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "36"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": ""
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "POST"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "67d8f48b-3715-4402-9401-105058902385"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "application/json"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 13:02:24 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "{\n    \"error\": {\n        \"code\": \"ABDM-1062\",\n        \"message\": \"ABHA number mismatch with Link token\"\n    }\n}"
                    }
                  ]
                },
                {
                  "name": "HIP Initiated Linking Multiple",
                  "request": {
                    "auth": {
                      "type": "bearer",
                      "bearer": [
                        {
                          "key": "token",
                          "value": "{{accessToken}}",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}"
                      },
                      {
                        "key": "X-HIP-ID",
                        "value": "{{HIP Id}}"
                      },
                      {
                        "key": "X-LINK-TOKEN",
                        "value": "{{Link Token}}"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "{{X-CM-ID}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"abhaNumber\": \"{{ABHA Number}}\",\r\n    \"abhaAddress\": \"{{ABHA Address}}\",\r\n    \"patient\": [\r\n        {\r\n            \"referenceNumber\": \"{{referenceNumber}}\",\r\n            \"display\": \"{{display name}}\",\r\n            \"careContexts\": [\r\n                {\r\n                     \"referenceNumber\": \"{{$guid}}\",\r\n                    \"display\": \"{{display name}}\"\r\n                }\r\n            ],\r\n           \"hiType\": \"{{hiTypes}}\",\r\n            \"count\": 1\r\n        },\r\n        {\r\n           \"referenceNumber\": \"{{referenceNumber}}\",\r\n            \"display\": \"{{display name}}\",\r\n            \"careContexts\": [\r\n                {\r\n                      \"referenceNumber\": \"{{$guid}}\",\r\n                    \"display\": \"{{display name}}\"\r\n                }\r\n            ],\r\n             \"hiType\": \"{{hiTypes}}\",\r\n            \"count\": 1\r\n        }\r\n    ]\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/hip/v3/link/carecontext",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "hip",
                        "v3",
                        "link",
                        "carecontext"
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "Success",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-HIP-ID",
                            "value": "MAYUR_HIP"
                          },
                          {
                            "key": "X-LINK-TOKEN",
                            "value": "eyJhbGciOiJSUzUxMiJ9.eyJoaXBJZCI6IlNCWF9ISVBfVjMiLCJzdWIiOiJuaXJzaGFkLnZ0aHJlZUBzYngiLCJhYmhhTnVtYmVyIjo5MTUzNjc4MjM2MTg2MiwiZXhwIjoxNzMxMDE3MjQ0LCJpYXQiOjE3MTUyNDkyNDQsInRyYW5zYWN0aW9uSWQiOiIxZWNkYjg5Yy05ZGMxLTQwZDEtOTg2Yy0xN2YzYTQxM2NmZDAiLCJhYmhhQWRkcmVzcyI6Im5pcnNoYWQudnRocmVlQHNieCJ9.MXD0Jl1bshJl4baMx-k1nWLmR3kAqUQamR2jlgLISr2Yxp-4zlV0jLVrrL2UPGxg2Y82E5Wf3yHoknbhcVC4a8kfebpQrUd8xbDpGVZ6qKvYrl5N_RlamfWKWHGvtP59SFtcssyS6MSYXSh5l9jFs300lO6ZJi90eFExHhYbOYeoXi0_Y76M-1X52HW2nq6Auay7ScFUp_TRwzfvOqWIfaYF9gkvYEnP0xOJZfpH8uBaeOY064cqZsha0kHuePgIOj8wtE50Bc7aHgL-jUt44PUCPm3gade8NmYWQfxVcnEXu6zwz6_e0PgfH_R8WNlnDP2KZE0pba795U0U_16nzQ"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"abhaNumber\": \"91536782361862\",\r\n    \"abhaAddress\": \"abdulkalam.vthree@sbx\",\r\n    \"patient\": [\r\n        {\r\n            \"referenceNumber\": \"abdulkalam H Sheikh\",\r\n            \"display\": \"Apollo_Encounter_123_2023070414zz\",\r\n            \"careContexts\": [\r\n                {\r\n                    \"referenceNumber\": \"Sugar-0002\",\r\n                    \"display\": \"Sugar Testo\"\r\n                }\r\n            ],\r\n            \"hiType\": \"Prescription\",\r\n            \"count\": 1\r\n        },\r\n        {\r\n            \"referenceNumber\": \"Mayuri C\",\r\n            \"display\": \"Apollo_Encounter_123_2023070414YY\",\r\n            \"careContexts\": [\r\n                {\r\n                    \"referenceNumber\": \"Blood-0001\",\r\n                    \"display\": \"Blood Testol\"\r\n                }\r\n            ],\r\n            \"hiType\": \"WellnessRecord\",\r\n            \"count\": 1\r\n        }\r\n    ]\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/hip/v3/link/carecontext",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "hip",
                            "v3",
                            "link",
                            "carecontext"
                          ]
                        }
                      },
                      "status": " Accepted",
                      "code": 202,
                      "_postman_previewlanguage": "Text",
                      "header": [],
                      "cookie": [],
                      "body": "2 Callbacks will be received on webhook\r\n\r\n1. https://webhook.site/2086641f-2f45-4341-8d8d-63ff0797f61f/api/v3/link/on_carecontext\r\n{\r\n  \"abhaAddress\": \"abdulkalam.vthree@sbx\",\r\n  \"status\": \"Successfully Linked care context\",\r\n  \"response\": {\r\n    \"requestId\": \"33256f1f-8663-4b44-ba1f-44b91671e543\"\r\n  }\r\n}\r\n======================================================\r\n2. {\r\n  \"notification\": {\r\n    \"status\": \"GRANTED\",\r\n    \"consentId\": \"b13bf5b6-6112-4ae7-b501-3ae8d9de0db3\",\r\n    \"consentDetail\": {\r\n      \"schemaVersion\": \"v3\",\r\n      \"consentId\": \"b13bf5b6-6112-4ae7-b501-3ae8d9de0db3\",\r\n      \"createdAt\": \"2024-05-09T10:08:02.964Z\",\r\n      \"patient\": {\r\n        \"id\": \"abdulkalam.vthree@sbx\"\r\n      },\r\n      \"careContexts\": [\r\n        {\r\n          \"patientReference\": \"abdulkalam H Sheikh\",\r\n          \"careContextReference\": \"Sugar-0002\"\r\n        },\r\n        {\r\n          \"patientReference\": \"Mayuri C\",\r\n          \"careContextReference\": \"Blood-0001\"\r\n        }\r\n      ],\r\n      \"purpose\": {\r\n        \"text\": \"Self Requested\",\r\n        \"code\": \"PATRQT\",\r\n        \"refUri\": \"www.abdm.gov.in\"\r\n      },\r\n      \"hip\": {\r\n        \"id\": \"SBX_HIP_V3\"\r\n      },\r\n      \"consentManager\": {\r\n        \"id\": \"sbx\"\r\n      },\r\n      \"hiTypes\": [\r\n        \"Prescription\",\r\n        \"WellnessRecord\"\r\n      ],\r\n      \"permission\": {\r\n        \"accessMode\": \"VIEW\",\r\n        \"dateRange\": {\r\n          \"from\": \"2024-05-02T10:08:02.898Z\",\r\n          \"to\": \"2024-05-09T10:08:02.898Z\"\r\n        },\r\n        \"dataEraseAt\": \"2124-05-09T10:08:02.898Z\",\r\n        \"frequency\": {\r\n          \"unit\": \"DAY\",\r\n          \"value\": \"0\",\r\n          \"repeats\": \"2\"\r\n        }\r\n      }\r\n    },\r\n    \"signature\": \"C14GUKIZtt4tk\r\n"
                    },
                    {
                      "name": "Access Denied",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-HIP-ID",
                            "value": "SBX_HIP_V3"
                          },
                          {
                            "key": "X-LINK-TOKEN",
                            "value": "eyJhbGciOiJSUzUxMiJ9.eyJoaXBJZCI6IlNCWF9ISVBfVjMiLCJzdWIiOiJuaXJzaGFkLnZ0aHJlZUBzYngiLCJhYmhhTnVtYmVyIjo5MTUzNjc4MjM2MTg2MiwiZXhwIjoxNzMxMDE3MjQ0LCJpYXQiOjE3MTUyNDkyNDQsInRyYW5zYWN0aW9uSWQiOiIxZWNkYjg5Yy05ZGMxLTQwZDEtOTg2Yy0xN2YzYTQxM2NmZDAiLCJhYmhhQWRkcmVzcyI6Im5pcnNoYWQudnRocmVlQHNieCJ9.MXD0Jl1bshJl4baMx-k1nWLmR3kAqUQamR2jlgLISr2Yxp-4zlV0jLVrrL2UPGxg2Y82E5Wf3yHoknbhcVC4a8kfebpQrUd8xbDpGVZ6qKvYrl5N_RlamfWKWHGvtP59SFtcssyS6MSYXSh5l9jFs300lO6ZJi90eFExHhYbOYeoXi0_Y76M-1X52HW2nq6Auay7ScFUp_TRwzfvOqWIfaYF9gkvYEnP0xOJZfpH8uBaeOY064cqZsha0kHuePgIOj8wtE50Bc7aHgL-jUt44PUCPm3gade8NmYWQfxVcnEXu6zwz6_e0PgfH_R8WNlnDP2KZE0pba795U0U_16nzQ"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx",
                            "disabled": true
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"abhaNumber\": \"91536782361862\",\r\n    \"abhaAddress\": \"abdulkalam.vthree@sbx\",\r\n    \"patient\": [\r\n        {\r\n            \"referenceNumber\": \"abdulkalam H Sheikh\",\r\n            \"display\": \"Apollo_Encounter_123_2023070414zz\",\r\n            \"careContexts\": [\r\n                {\r\n                    \"referenceNumber\": \"Sugar-0002\",\r\n                    \"display\": \"Sugar Testo\"\r\n                }\r\n            ],\r\n            \"hiType\": \"Prescription\",\r\n            \"count\": 1\r\n        },\r\n        {\r\n            \"referenceNumber\": \"Mayuri C\",\r\n            \"display\": \"Apollo_Encounter_123_2023070414YY\",\r\n            \"careContexts\": [\r\n                {\r\n                    \"referenceNumber\": \"Blood-0001\",\r\n                    \"display\": \"Blood Testol\"\r\n                }\r\n            ],\r\n            \"hiType\": \"WellnessRecord\",\r\n            \"count\": 1\r\n        }\r\n    ]\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/hip/v3/link/carecontext",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "hip",
                            "v3",
                            "link",
                            "carecontext"
                          ]
                        }
                      },
                      "status": "Forbidden",
                      "code": 403,
                      "_postman_previewlanguage": "plain",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "9"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": ""
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "POST"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "856e9591-a33e-419e-966a-000461a320ee"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "text/plain"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 13:02:54 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "Access Denied"
                    },
                    {
                      "name": "Error Message",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-HIP-ID",
                            "value": "SBX_HIP_V3"
                          },
                          {
                            "key": "X-LINK-TOKEN",
                            "value": "eyJhbGciOiJSUzUxMiJ9.eyJoaXBJZCI6IlNCWF9ISVBfVjMiLCJzdWIiOiJuaXJzaGFkLnZ0aHJlZUBzYngiLCJhYmhhTnVtYmVyIjo5MTUzNjc4MjM2MTg2MiwiZXhwIjoxNzMxMDE3MjQ0LCJpYXQiOjE3MTUyNDkyNDQsInRyYW5zYWN0aW9uSWQiOiIxZWNkYjg5Yy05ZGMxLTQwZDEtOTg2Yy0xN2YzYTQxM2NmZDAiLCJhYmhhQWRkcmVzcyI6Im5pcnNoYWQudnRocmVlQHNieCJ9.MXD0Jl1bshJl4baMx-k1nWLmR3kAqUQamR2jlgLISr2Yxp-4zlV0jLVrrL2UPGxg2Y82E5Wf3yHoknbhcVC4a8kfebpQrUd8xbDpGVZ6qKvYrl5N_RlamfWKWHGvtP59SFtcssyS6MSYXSh5l9jFs300lO6ZJi90eFExHhYbOYeoXi0_Y76M-1X52HW2nq6Auay7ScFUp_TRwzfvOqWIfaYF9gkvYEnP0xOJZfpH8uBaeOY064cqZsha0kHuePgIOj8wtE50Bc7aHgL-jUt44PUCPm3gade8NmYWQfxVcnEXu6zwz6_e0PgfH_R8WNlnDP2KZE0pba795U0U_16nzQ"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"abhaNumber\": \"\",\r\n    \"abhaAddress\": \"abdulkalam.vthree@sbx\",\r\n    \"patient\": [\r\n        {\r\n            \"referenceNumber\": \"abdulkalam H Sheikh\",\r\n            \"display\": \"Apollo_Encounter_123_2023070414zz\",\r\n            \"careContexts\": [\r\n                {\r\n                    \"referenceNumber\": \"Sugar-0002\",\r\n                    \"display\": \"Sugar Testo\"\r\n                }\r\n            ],\r\n            \"hiType\": \"Prescription\",\r\n            \"count\": 1\r\n        },\r\n        {\r\n            \"referenceNumber\": \"Mayuri C\",\r\n            \"display\": \"Apollo_Encounter_123_2023070414YY\",\r\n            \"careContexts\": [\r\n                {\r\n                    \"referenceNumber\": \"Blood-0001\",\r\n                    \"display\": \"Blood Testol\"\r\n                }\r\n            ],\r\n            \"hiType\": \"WellnessRecord\",\r\n            \"count\": 1\r\n        }\r\n    ]\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/hip/v3/link/carecontext",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "hip",
                            "v3",
                            "link",
                            "carecontext"
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "38"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": ""
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "POST"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "d27c8976-af15-465d-9b18-f842ab10c37a"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "application/json"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 13:03:31 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "{\n    \"error\": {\n        \"code\": \"ABDM-1062\",\n        \"message\": \"ABHA number mismatch with Link token\"\n    }\n}"
                    }
                  ]
                },
                {
                  "name": "Link Care Context Notify",
                  "request": {
                    "auth": {
                      "type": "bearer",
                      "bearer": [
                        {
                          "key": "token",
                          "value": "{{BEARER_AUTH}}",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}"
                      },
                      {
                        "key": "X-HIP-ID",
                        "value": "{{hip-id}}"
                      },
                      {
                        "key": "X-LINK-TOKEN",
                        "value": "{{link-token}}"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "{{X-CM-ID}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n    \"notification\": {\n        \"patient\": {\n            \"id\": \"{{abha-address}}\"\n        },\n        \"careContext\": {\n            \"patientReference\": \"{{abha-address}}\",\n            \"careContextReference\": \"{{careContextReference}}\"\n        },\n        \"hiTypes\": [\n            \"Prescription\"\n        ],\n        \"date\": \"{{$isoTimestamp}}\",\n        \"hip\": {\n            \"id\": \"{{hip-id}}\"\n        }\n    }\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/hip/v3/link/context/notify",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "hip",
                        "v3",
                        "link",
                        "context",
                        "notify"
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "Forbidden Error",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-HIP-ID",
                            "value": "{{hip-id}}"
                          },
                          {
                            "key": "X-LINK-TOKEN",
                            "value": "{{link-token}}"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "{{X-CM-ID}}",
                            "disabled": true
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n    \"notification\": {\n        \"patient\": {\n            \"id\": \"{{abha-address}}\"\n        },\n        \"careContext\": {\n            \"patientReference\": \"{{abha-address}}\",\n            \"careContextReference\": \"{{careContextReference}}\"\n        },\n        \"hiTypes\": [\n            \"Prescription\"\n        ],\n        \"date\": \"{{$isoTimestamp}}\",\n        \"hip\": {\n            \"id\": \"{{hip-id}}\"\n        }\n    }\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/hip/v3/link/context/notify",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "hip",
                            "v3",
                            "link",
                            "context",
                            "notify"
                          ]
                        }
                      },
                      "status": "Forbidden",
                      "code": 403,
                      "_postman_previewlanguage": "Text",
                      "header": [],
                      "cookie": [],
                      "body": ""
                    },
                    {
                      "name": "Success",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-HIP-ID",
                            "value": "{{hip-id}}"
                          },
                          {
                            "key": "X-LINK-TOKEN",
                            "value": "{{link-token}}"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "{{X-CM-ID}}"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n    \"notification\": {\n        \"patient\": {\n            \"id\": \"{{abha-address}}\"\n        },\n        \"careContext\": {\n            \"patientReference\": \"{{abha-address}}\",\n            \"careContextReference\": \"{{careContextReference}}\"\n        },\n        \"hiTypes\": [\n            \"Prescription\"\n        ],\n        \"date\": \"{{$isoTimestamp}}\",\n        \"hip\": {\n            \"id\": \"{{hip-id}}\"\n        }\n    }\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/hip/v3/link/context/notify",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "hip",
                            "v3",
                            "link",
                            "context",
                            "notify"
                          ]
                        }
                      },
                      "status": "Accepted",
                      "code": 202,
                      "_postman_previewlanguage": "Text",
                      "header": [],
                      "cookie": [],
                      "body": ""
                    }
                  ]
                }
              ]
            },
            {
              "name": "Deep Linking",
              "item": [
                {
                  "name": "SMS Notify",
                  "request": {
                    "auth": {
                      "type": "bearer",
                      "bearer": [
                        {
                          "key": "token",
                          "value": "{{accessToken}}",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "{{X-CM-ID}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n    \"requestId\": \"{{$guid}}\",\n    \"timestamp\": \"{{$isoTimestamp}}\",\n    \"notification\": {\n        \"phoneNo\": \"{{phone number}}\",\n        \"hip\": {\n            \"name\": \"{{name}}\",\n            \"id\": \"{{hipId}}\"\n        }\n    }\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/hip/v3/link/patient/links/sms/notify2",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "hip",
                        "v3",
                        "link",
                        "patient",
                        "links",
                        "sms",
                        "notify2"
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "Success",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n    \"requestId\": \"{{$guid}}\",\n    \"timestamp\": \"{{$isoTimestamp}}\",\n    \"notification\": {\n        \"phoneNo\": \"9096577694\",\n        \"hip\": {\n            \"name\": \"mani\",\n            \"id\": \"SBX_HIP_V3\"\n        }\n    }\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/hip/v3/link/patient/links/sms/notify2",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "hip",
                            "v3",
                            "link",
                            "patient",
                            "links",
                            "sms",
                            "notify2"
                          ]
                        }
                      },
                      "_postman_previewlanguage": "Text",
                      "header": [],
                      "cookie": [],
                      "body": "This response is expected on webhook url \r\nhttps://webhook.site/2086641f-2f45-4341-8d8d-63ff0797f61f/api/v3/patients/sms/on-notify\r\n{\r\n  \"requestId\": null,\r\n  \"timestamp\": null,\r\n  \"acknowledgement\": {\r\n    \"status\": \"SUCCESS\"\r\n  },\r\n  \"error\": null,\r\n  \"resp\": {\r\n    \"requestId\": \"3b593436-5f3d-41c1-9121-93ebc8dcbb74\"\r\n  }\r\n}"
                    },
                    {
                      "name": "Access Denied",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx",
                            "disabled": true
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n    \"requestId\": \"{{$guid}}\",\n    \"timestamp\": \"{{$isoTimestamp}}\",\n    \"notification\": {\n        \"phoneNo\": \"9096577694\",\n        \"hip\": {\n            \"name\": \"mani\",\n            \"id\": \"SBX_HIP_V3\"\n        }\n    }\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/hip/v3/link/patient/links/sms/notify2",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "hip",
                            "v3",
                            "link",
                            "patient",
                            "links",
                            "sms",
                            "notify2"
                          ]
                        }
                      },
                      "status": "Forbidden",
                      "code": 403,
                      "_postman_previewlanguage": "plain",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "10"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": ""
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "POST"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "c6acb435-6547-4586-b764-9e74aecb6b3d"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "text/plain"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 13:04:50 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "Access Denied"
                    }
                  ]
                }
              ]
            },
            {
              "name": "User Initiated Linking",
              "item": [
                {
                  "name": "On Discovery",
                  "request": {
                    "auth": {
                      "type": "bearer",
                      "bearer": [
                        {
                          "key": "token",
                          "value": "{{accessToken}}",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "{{X-CM-ID}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"transactionId\": \"{{transaction Id}}\",\r\n    \"patient\": [\r\n        {\r\n            \"referenceNumber\": \"{{referenceNumber}}\",\r\n            \"display\": \"{{display name}}\",\r\n            \"careContexts\": [\r\n                {\r\n                    \"referenceNumber\": \"{{$guid}}\",\r\n                    \"display\": \"{{display name}}\"\r\n                }\r\n            ],\r\n            \"hiType\": \"{{hiTypes}}\",\r\n            \"count\": 1\r\n        }\r\n    ],\r\n    \"matchedBy\": [\r\n        \"MR\"\r\n    ],\r\n    \"response\": {\r\n        \"requestId\": \"{{request Id from callback}}\"\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/user-initiated-linking/v3/patient/care-context/on-discover",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "user-initiated-linking",
                        "v3",
                        "patient",
                        "care-context",
                        "on-discover"
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "Success",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"transactionId\": \"d0b865a0-4571-4926-8941-258febd4ff74\",\r\n    \"patient\": [\r\n        {\r\n            \"referenceNumber\": \"91178386101731@sbx\",\r\n            \"display\": \"HIECM-HIP-LTI_20240226_1\",\r\n            \"careContexts\": [\r\n                {\r\n                    \"referenceNumber\": \"{{$guid}}\",\r\n                    \"display\": \"Urine Test\"\r\n                }\r\n            ],\r\n            \"hiType\": \"Prescription\",\r\n            \"count\": 1\r\n        }\r\n    ],\r\n    \"matchedBy\": [\r\n        \"MR\"\r\n    ],\r\n    \"response\": {\r\n        \"requestId\": \"25040d98-b4d2-4531-9496-95cc70510e39\"\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/user-initiated-linking/v3/patient/care-context/on-discover",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "user-initiated-linking",
                            "v3",
                            "patient",
                            "care-context",
                            "on-discover"
                          ]
                        }
                      },
                      "status": "Accepted",
                      "code": 202,
                      "_postman_previewlanguage": "plain",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "87"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": ""
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "POST"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "6b04e0cf-cedf-4e2f-9259-b27d5813cff4"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 12:15:42 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": ""
                    },
                    {
                      "name": "Access Denied",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx",
                            "disabled": true
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"transactionId\": \"d0b865a0-4571-4926-8941-258febd4ff74\",\r\n    \"patient\": [\r\n        {\r\n            \"referenceNumber\": \"91178386101731@sbx\",\r\n            \"display\": \"HIECM-HIP-LTI_20240226_1\",\r\n            \"careContexts\": [\r\n                {\r\n                    \"referenceNumber\": \"{{$guid}}\",\r\n                    \"display\": \"Urine Test\"\r\n                }\r\n            ],\r\n            \"hiType\": \"Prescription\",\r\n            \"count\": 1\r\n        }\r\n    ],\r\n    \"matchedBy\": [\r\n        \"MR\"\r\n    ],\r\n    \"response\": {\r\n        \"requestId\": \"25040d98-b4d2-4531-9496-95cc70510e39\"\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/user-initiated-linking/v3/patient/care-context/on-discover",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "user-initiated-linking",
                            "v3",
                            "patient",
                            "care-context",
                            "on-discover"
                          ]
                        }
                      },
                      "status": "Forbidden",
                      "code": 403,
                      "_postman_previewlanguage": "plain",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "11"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": ""
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "POST"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "742e921f-5661-4486-b2dc-cd52a5171c25"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "text/plain"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 13:08:58 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "Access Denied"
                    },
                    {
                      "name": "Error Message",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"transactionId\": \"\",\r\n    \"patient\": [\r\n        {\r\n            \"referenceNumber\": \"91178386101731@sbx\",\r\n            \"display\": \"HIECM-HIP-LTI_20240226_1\",\r\n            \"careContexts\": [\r\n                {\r\n                    \"referenceNumber\": \"{{$guid}}\",\r\n                    \"display\": \"Urine Test\"\r\n                }\r\n            ],\r\n            \"hiType\": \"Prescription\",\r\n            \"count\": 1\r\n        }\r\n    ],\r\n    \"matchedBy\": [\r\n        \"MR\"\r\n    ],\r\n    \"response\": {\r\n        \"requestId\": \"25040d98-b4d2-4531-9496-95cc70510e39\"\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/user-initiated-linking/v3/patient/care-context/on-discover",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "user-initiated-linking",
                            "v3",
                            "patient",
                            "care-context",
                            "on-discover"
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "14"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": ""
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "POST"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "9ec9f673-5979-4c12-811c-1e22f521a0a8"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "application/json"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 13:09:13 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "[\n    {\n        \"error\": {\n            \"code\": \"ABDM-9999: \",\n            \"message\": \"Invalid Transaction Id\"\n        }\n    }\n]"
                    }
                  ]
                },
                {
                  "name": "Link on-init",
                  "request": {
                    "auth": {
                      "type": "bearer",
                      "bearer": [
                        {
                          "key": "token",
                          "value": "{{accessToken}}",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "{{X-CM-ID}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"transactionId\": \"{{transaction Id}}\",\r\n    \"link\": {\r\n        \"referenceNumber\": \"{{$guid}}\",\r\n        \"authenticationType\": \"{{authenticationType}}\",\r\n        \"meta\": {\r\n            \"communicationMedium\": \"MOBILE\",\r\n            \"communicationHint\": \"OTP\",\r\n            \"communicationExpiry\": \"{{communicationExpiry}}\"\r\n        }\r\n    },\r\n    \"response\": {\r\n        \"requestId\": \"{{request Id from callback}}\"\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/user-initiated-linking/v3/link/care-context/on-init",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "user-initiated-linking",
                        "v3",
                        "link",
                        "care-context",
                        "on-init"
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "Success",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-AUTH-TOKEN",
                            "value": "eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiI5MTE3ODM4NjEwMTczMUBzYngiLCJjbGllbnRJZCI6IlBIUi1XRUIiLCJyZXF1ZXN0ZXJJZCI6ImtfaGlwIiwiYWRkcmVzcyI6bnVsbCwiZ2VuZGVyIjoiTSIsInRyYW5zYWN0aW9uSWQiOiI1MjZmYzgzZS04ZWVkLTQzYTEtYjZhOS1hNTE4OTAwNzk1NDAiLCJhYmhhQWRkcmVzcyI6IjkxMTc4Mzg2MTAxNzMxQHNieCIsIm1vbnRoT2ZCaXJ0aCI6IjExIiwic3lzdGVtIjoiQUJETSIsInBob25lTnVtYmVyIjoiNzM4NzI2ODQyOSIsImRheU9mQmlydGgiOiIxNyIsIm5hbWUiOiJNYXl1ciBCYXB1IENoYXNrYXIiLCJhYmhhTnVtYmVyIjo5MTE3ODM4NjEwMTczMSwiZXhwIjoxNzAxODU1MDM0LCJpYXQiOjE2ODYzMDMwMzQsInllYXJPZkJpcnRoIjoiMTk5NCJ9.lRTZvqSV-_UdGQ2ouzZPli33DJOLOBJ_4llfzmrCcHG9MvDphqHUilu_dSJkGcWCQbZOfKYK701L57UrQiM0fjY18qLrJ4hxTKEbGhTkUToBeSGiGdF7rKDq0knhMTwtPfQzZ83jd2uQYGgEpw9EYhHyVC8hqSgInkiXMVAQucugdDY33ubXY1ouwKa4M7En2AasPPh_pPs8u4b7eVeIYNwt9HQWNtJtU8giBhoen_UCEA3Rcty3Yym7LprFxxaR76lp0n1KqVsir6ybd6Ohtcs_Ihi6_nm3q7E5HqWjZDnkwNnCY0xKoMIuFerFbkSHGvIfBSDY98jHDEXPExLCtQ"
                          },
                          {
                            "key": "X-HIU-ID",
                            "value": "HIU_PS"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"transactionId\": \"10fee8f3-9414-4311-869d-c5b3fe679fc9\",\r\n    \"link\": {\r\n        \"referenceNumber\": \"{{$guid}}\",\r\n        \"authenticationType\": \"DIRECT\",\r\n        \"meta\": {\r\n            \"communicationMedium\": \"MOBILE\",\r\n            \"communicationHint\": \"OTP\",\r\n            \"communicationExpiry\": \"2023-12-28T05:45:57.637Z\"\r\n        }\r\n    },\r\n    \"response\": {\r\n        \"requestId\": \"cf381839-eb05-4353-a3ee-80a02bb4be6a\"\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/user-initiated-linking/v3/link/care-context/on-init",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "user-initiated-linking",
                            "v3",
                            "link",
                            "care-context",
                            "on-init"
                          ]
                        }
                      },
                      "status": "Accepted",
                      "code": 202,
                      "_postman_previewlanguage": "Text",
                      "header": [],
                      "cookie": [],
                      "body": ""
                    },
                    {
                      "name": "Access Denied",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-AUTH-TOKEN",
                            "value": "eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiI5MTE3ODM4NjEwMTczMUBzYngiLCJjbGllbnRJZCI6IlBIUi1XRUIiLCJyZXF1ZXN0ZXJJZCI6ImtfaGlwIiwiYWRkcmVzcyI6bnVsbCwiZ2VuZGVyIjoiTSIsInRyYW5zYWN0aW9uSWQiOiI1MjZmYzgzZS04ZWVkLTQzYTEtYjZhOS1hNTE4OTAwNzk1NDAiLCJhYmhhQWRkcmVzcyI6IjkxMTc4Mzg2MTAxNzMxQHNieCIsIm1vbnRoT2ZCaXJ0aCI6IjExIiwic3lzdGVtIjoiQUJETSIsInBob25lTnVtYmVyIjoiNzM4NzI2ODQyOSIsImRheU9mQmlydGgiOiIxNyIsIm5hbWUiOiJNYXl1ciBCYXB1IENoYXNrYXIiLCJhYmhhTnVtYmVyIjo5MTE3ODM4NjEwMTczMSwiZXhwIjoxNzAxODU1MDM0LCJpYXQiOjE2ODYzMDMwMzQsInllYXJPZkJpcnRoIjoiMTk5NCJ9.lRTZvqSV-_UdGQ2ouzZPli33DJOLOBJ_4llfzmrCcHG9MvDphqHUilu_dSJkGcWCQbZOfKYK701L57UrQiM0fjY18qLrJ4hxTKEbGhTkUToBeSGiGdF7rKDq0knhMTwtPfQzZ83jd2uQYGgEpw9EYhHyVC8hqSgInkiXMVAQucugdDY33ubXY1ouwKa4M7En2AasPPh_pPs8u4b7eVeIYNwt9HQWNtJtU8giBhoen_UCEA3Rcty3Yym7LprFxxaR76lp0n1KqVsir6ybd6Ohtcs_Ihi6_nm3q7E5HqWjZDnkwNnCY0xKoMIuFerFbkSHGvIfBSDY98jHDEXPExLCtQ"
                          },
                          {
                            "key": "X-HIU-ID",
                            "value": "HIU_PS"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx",
                            "disabled": true
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"transactionId\": \"10fee8f3-9414-4311-869d-c5b3fe679fc9\",\r\n    \"link\": {\r\n        \"referenceNumber\": \"{{$guid}}\",\r\n        \"authenticationType\": \"DIRECT\",\r\n        \"meta\": {\r\n            \"communicationMedium\": \"MOBILE\",\r\n            \"communicationHint\": \"OTP\",\r\n            \"communicationExpiry\": \"2023-12-28T05:45:57.637Z\"\r\n        }\r\n    },\r\n    \"response\": {\r\n        \"requestId\": \"cf381839-eb05-4353-a3ee-80a02bb4be6a\"\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/user-initiated-linking/v3/link/care-context/on-init",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "user-initiated-linking",
                            "v3",
                            "link",
                            "care-context",
                            "on-init"
                          ]
                        }
                      },
                      "status": "Forbidden",
                      "code": 403,
                      "_postman_previewlanguage": "plain",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "10"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": ""
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "POST"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "e7e3e451-39c7-4e32-a9de-b0bd6c857363"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "text/plain"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 13:10:21 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "Access Denied"
                    },
                    {
                      "name": "Error Message",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-AUTH-TOKEN",
                            "value": "eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiI5MTE3ODM4NjEwMTczMUBzYngiLCJjbGllbnRJZCI6IlBIUi1XRUIiLCJyZXF1ZXN0ZXJJZCI6ImtfaGlwIiwiYWRkcmVzcyI6bnVsbCwiZ2VuZGVyIjoiTSIsInRyYW5zYWN0aW9uSWQiOiI1MjZmYzgzZS04ZWVkLTQzYTEtYjZhOS1hNTE4OTAwNzk1NDAiLCJhYmhhQWRkcmVzcyI6IjkxMTc4Mzg2MTAxNzMxQHNieCIsIm1vbnRoT2ZCaXJ0aCI6IjExIiwic3lzdGVtIjoiQUJETSIsInBob25lTnVtYmVyIjoiNzM4NzI2ODQyOSIsImRheU9mQmlydGgiOiIxNyIsIm5hbWUiOiJNYXl1ciBCYXB1IENoYXNrYXIiLCJhYmhhTnVtYmVyIjo5MTE3ODM4NjEwMTczMSwiZXhwIjoxNzAxODU1MDM0LCJpYXQiOjE2ODYzMDMwMzQsInllYXJPZkJpcnRoIjoiMTk5NCJ9.lRTZvqSV-_UdGQ2ouzZPli33DJOLOBJ_4llfzmrCcHG9MvDphqHUilu_dSJkGcWCQbZOfKYK701L57UrQiM0fjY18qLrJ4hxTKEbGhTkUToBeSGiGdF7rKDq0knhMTwtPfQzZ83jd2uQYGgEpw9EYhHyVC8hqSgInkiXMVAQucugdDY33ubXY1ouwKa4M7En2AasPPh_pPs8u4b7eVeIYNwt9HQWNtJtU8giBhoen_UCEA3Rcty3Yym7LprFxxaR76lp0n1KqVsir6ybd6Ohtcs_Ihi6_nm3q7E5HqWjZDnkwNnCY0xKoMIuFerFbkSHGvIfBSDY98jHDEXPExLCtQ"
                          },
                          {
                            "key": "X-HIU-ID",
                            "value": "HIU_PS"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"transactionId\": \"10fee8f3-9414-4311-869d-c5b3fe679fc9\",\r\n    \"link\": {\r\n        \"referenceNumber\": \"{{$guid}}\",\r\n        \"authenticationType\": \"\",\r\n        \"meta\": {\r\n            \"communicationMedium\": \"MOBILE\",\r\n            \"communicationHint\": \"OTP\",\r\n            \"communicationExpiry\": \"2023-12-28T05:45:57.637Z\"\r\n        }\r\n    },\r\n    \"response\": {\r\n        \"requestId\": \"cf381839-eb05-4353-a3ee-80a02bb4be6a\"\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/user-initiated-linking/v3/link/care-context/on-init",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "user-initiated-linking",
                            "v3",
                            "link",
                            "care-context",
                            "on-init"
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "11"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": ""
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "POST"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "a051cb6e-85b8-457d-a4c9-e67840ddbe04"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "application/json"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 13:10:34 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "[\n    {\n        \"error\": {\n            \"code\": \"ABDM-9999: \",\n            \"message\": \"Invalid authentication type.\"\n        }\n    },\n    {\n        \"error\": {\n            \"code\": \"ABDM-9999: \",\n            \"message\": \"Invalid communication expiry date.\"\n        }\n    }\n]"
                    }
                  ]
                },
                {
                  "name": "Link on Confirm",
                  "request": {
                    "auth": {
                      "type": "bearer",
                      "bearer": [
                        {
                          "key": "token",
                          "value": "{{accessToken}}",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "{{X-CM-ID}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"patient\": [\r\n        {\r\n            \"referenceNumber\": \"{{referenceNumber}}\",\r\n            \"display\": \"{{display name}}\",\r\n            \"careContexts\": [\r\n                {\r\n                    \"referenceNumber\": \"{{referenceNumber}}\",\r\n                    \"display\": \"{{display name}}\"\r\n                }\r\n            ],\r\n            \"hiType\": \"{{hiTypes}}\",\r\n            \"count\": 1\r\n        }\r\n    ],\r\n    \"response\": {\r\n        \"requestId\": \"{{request Id from callback}}\"\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/user-initiated-linking/v3/link/care-context/on-confirm",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "user-initiated-linking",
                        "v3",
                        "link",
                        "care-context",
                        "on-confirm"
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "Success",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"patient\": [\r\n        {\r\n            \"referenceNumber\": \"Mayur C\",\r\n            \"display\": \"Apollo_Encounter_123_2023070414\",\r\n            \"careContexts\": [\r\n                {\r\n                    \"referenceNumber\": \"Health Document Urine Test 123\",\r\n                    \"display\": \"Urine Test\"\r\n                }\r\n            ],\r\n            \"hiType\": \"Prescription\",\r\n            \"count\": 1\r\n        }\r\n    ],\r\n    \"response\": {\r\n        \"requestId\": \"e207ea8a-2e88-4b28-8646-95b611aef616\"\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/user-initiated-linking/v3/link/care-context/on-confirm",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "user-initiated-linking",
                            "v3",
                            "link",
                            "care-context",
                            "on-confirm"
                          ]
                        }
                      },
                      "status": "Accepted",
                      "code": 202,
                      "_postman_previewlanguage": "Text",
                      "header": [],
                      "cookie": [],
                      "body": ""
                    },
                    {
                      "name": "Access Denied",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx",
                            "disabled": true
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"patient\": [\r\n        {\r\n            \"referenceNumber\": \"Mayur C\",\r\n            \"display\": \"Apollo_Encounter_123_2023070414\",\r\n            \"careContexts\": [\r\n                {\r\n                    \"referenceNumber\": \"Health Document Urine Test 123\",\r\n                    \"display\": \"Urine Test\"\r\n                }\r\n            ],\r\n            \"hiType\": \"Prescription\",\r\n            \"count\": 1\r\n        }\r\n    ],\r\n    \"response\": {\r\n        \"requestId\": \"e207ea8a-2e88-4b28-8646-95b611aef616\"\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/user-initiated-linking/v3/link/care-context/on-confirm",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "user-initiated-linking",
                            "v3",
                            "link",
                            "care-context",
                            "on-confirm"
                          ]
                        }
                      },
                      "status": "Forbidden",
                      "code": 403,
                      "_postman_previewlanguage": "plain",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "17"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": ""
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "POST"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "6fca5675-8a7b-4962-8ae0-8b7f60e181dd"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "text/plain"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 13:11:14 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "Access Denied"
                    },
                    {
                      "name": "Error Message",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"patient\": [\r\n        {\r\n            \"referenceNumber\": \"Mayur C\",\r\n            \"display\": \"Apollo_Encounter_123_2023070414\",\r\n            \"careContexts\": [\r\n                {\r\n                    \"referenceNumber\": \"Health Document Urine Test 123\",\r\n                    \"display\": \"Urine Test\"\r\n                }\r\n            ],\r\n            \"hiType\": \"\",\r\n            \"count\": 1\r\n        }\r\n    ],\r\n    \"response\": {\r\n        \"requestId\": \"e207ea8a-2e88-4b28-8646-95b611aef616\"\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/user-initiated-linking/v3/link/care-context/on-confirm",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "user-initiated-linking",
                            "v3",
                            "link",
                            "care-context",
                            "on-confirm"
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "15"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": ""
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "POST"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "ac3c9b39-ce35-4c99-b479-0f445b1d30b0"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "application/json"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 13:11:32 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "[\n    {\n        \"error\": {\n            \"code\": \"ABDM-9999: \",\n            \"message\": \"Invalid HIType, it must be in Prescription, DiagnosticReport, OPConsultation, DischargeSummary, ImmunizationRecord, HealthDocumentRecord, WellnessRecord\"\n        }\n    }\n]"
                    }
                  ]
                }
              ]
            },
            {
              "name": "Data Transfer(HIP)",
              "item": [
                {
                  "name": "Consent HIP on notify",
                  "request": {
                    "auth": {
                      "type": "bearer",
                      "bearer": [
                        {
                          "key": "token",
                          "value": "{{accessToken}}",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "{{X-CM-ID}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"acknowledgement\": {\r\n        \"status\": \"{{status}}\",\r\n        \"consentId\": \"{{consentId}}\"\r\n    },\r\n    \"response\": {\r\n        \"requestId\": \"{{requestId}}\"\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/consent/v3/request/hip/on-notify",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "consent",
                        "v3",
                        "request",
                        "hip",
                        "on-notify"
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "Success",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}",
                            "type": "text"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}",
                            "type": "text"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx",
                            "type": "text"
                          },
                          {
                            "key": "X-HIU-ID",
                            "value": "N_SBX_HIU_V3",
                            "type": "text"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"acknowledgement\": {\r\n        \"status\": \"ok\",\r\n        \"consentId\": \"6fd112df-d172-47f6-8835-55839273c702\"\r\n    },\r\n    \"response\": {\r\n        \"requestId\": \"e0969d75-3437-4cb3-af51-db3d9514a6e1\"\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/consent/v3/request/hip/on-notify",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "consent",
                            "v3",
                            "request",
                            "hip",
                            "on-notify"
                          ]
                        }
                      },
                      "status": "Accepted",
                      "code": 202,
                      "_postman_previewlanguage": "plain",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "803"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": ""
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "POST"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "f609f4e2-05ae-49cf-8e0c-94a75b91ac52"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 10:37:26 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "Note: No response on webhook or postman"
                    },
                    {
                      "name": "Access Denied",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}",
                            "type": "text"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}",
                            "type": "text"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx",
                            "type": "text",
                            "disabled": true
                          },
                          {
                            "key": "X-HIU-ID",
                            "value": "N_SBX_HIU_V3",
                            "type": "text"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"acknowledgement\": {\r\n        \"status\": \"ok\",\r\n        \"consentId\": \"cf3d173d-a7d6-4cbf-a3b5-f5883723f602\"\r\n    },\r\n    \"response\": {\r\n        \"requestId\": \"e0969d75-3437-4cb3-af51-db3d9514a6e1\"\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/consent/v3/request/hip/on-notify",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "consent",
                            "v3",
                            "request",
                            "hip",
                            "on-notify"
                          ]
                        }
                      },
                      "status": "Forbidden",
                      "code": 403,
                      "_postman_previewlanguage": "plain",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "12"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": ""
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "POST"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "4020b3cd-e517-406f-9e06-474b01ad111f"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "text/plain"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 12:36:20 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "Access Denied"
                    }
                  ]
                },
                {
                  "name": "HIP Health Information Response",
                  "request": {
                    "auth": {
                      "type": "bearer",
                      "bearer": [
                        {
                          "key": "token",
                          "value": "{{accessToken}}",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "{{X-CM-ID}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"hiRequest\": {\r\n        \"transactionId\": \"{{transactionId}}\",\r\n        \"sessionStatus\": \"{{Statu as ACKNOWLEDGED}}\"\r\n    },\r\n    \"response\": {\r\n        \"requestId\": \"{{requestId}}\"\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/data-flow/v3/health-information/hip/on-request",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "data-flow",
                        "v3",
                        "health-information",
                        "hip",
                        "on-request"
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "Success",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}",
                            "type": "text"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}",
                            "type": "text"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx",
                            "type": "text"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"hiRequest\": {\r\n        \"transactionId\": \"e3472dad-86c5-42df-9afd-d7c13df2a564\",\r\n        \"sessionStatus\": \"ACKNOWLEDGED\"\r\n    },\r\n    \"response\": {\r\n        \"requestId\": \"134cb222-1f6a-4458-b7c6-6b22377821d9\"\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/data-flow/v3/health-information/hip/on-request",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "data-flow",
                            "v3",
                            "health-information",
                            "hip",
                            "on-request"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "Text",
                      "header": [],
                      "cookie": [],
                      "body": "Note: Status get updated in data_flow_request table in db as \"ACKNOWLEDGED\""
                    },
                    {
                      "name": "Access Denied",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}",
                            "type": "text"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}",
                            "type": "text"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx",
                            "type": "text",
                            "disabled": true
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"hiRequest\": {\r\n        \"transactionId\": \"e3472dad-86c5-42df-9afd-d7c13df2a564\",\r\n        \"sessionStatus\": \"ACKNOWLEDGED\"\r\n    },\r\n    \"response\": {\r\n        \"requestId\": \"134cb222-1f6a-4458-b7c6-6b22377821d9\"\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/data-flow/v3/health-information/hip/on-request",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "data-flow",
                            "v3",
                            "health-information",
                            "hip",
                            "on-request"
                          ]
                        }
                      },
                      "status": "Forbidden",
                      "code": 403,
                      "_postman_previewlanguage": "plain",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "11"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": ""
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "POST"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "3a5389a7-5a95-4b11-ab1f-5f64c8e7316c"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "text/plain"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 12:43:37 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "Access Denied"
                    }
                  ]
                },
                {
                  "name": "Calling Data push URL",
                  "request": {
                    "auth": {
                      "type": "bearer",
                      "bearer": [
                        {
                          "key": "token",
                          "value": "{{accessToken}}",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n    \"pageNumber\": 0,        // Current page number.\n    \"pageCount\": 1,         //Total number of pages.\n    \"transactionId\": \"{{transactionId}}\",\n    \"entries\": [\n        {\"content\": \"{{content}}\",\n            \"media\": \"application/fhir+json\",\n            \"checksum\": \"{{checksum}}\",\n            \"careContextReference\": \"{{care Context Reference}}\"\n        }\n    ],\n    \"keyMaterial\": {\n        \"cryptoAlg\": \"ECDH\",\n        \"curve\": \"Curve25519\",\n        \"dhPublicKey\": {\n            \"expiry\": \"{{expiry date}}\",\n            \"parameters\": \"Curve25519/32byte random key\",\n            \"keyValue\": \"{{Key value}}\"\n        },\n        \"nonce\": \"{{nonce}}\"\n    }\n}"
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api-hiu/data/notification",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api-hiu",
                        "data",
                        "notification"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "HIP Data Flow Notification Request",
                  "request": {
                    "auth": {
                      "type": "bearer",
                      "bearer": [
                        {
                          "key": "token",
                          "value": "{{accessToken}}",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "{{X-CM-ID}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"notification\": {\r\n        \"consentId\": \"{{consent Id}}\",\r\n        \"transactionId\": \"{{transactionId}}\",\r\n        \"doneAt\": \"{{date and time}}\",\r\n        \"notifier\": {\r\n            \"type\": \"HIP\",\r\n            \"id\": \"{{HIP ID}}\"\r\n        },\r\n        \"statusNotification\": {\r\n            \"sessionStatus\": \"{{Notification status}}\",\r\n            \"hipId\": \"{{HIP ID}}\",\r\n            \"statusResponses\": [\r\n                {\r\n                    \"careContextReference\": \"{{careContextReference ID}}\",\r\n                    \"hiStatus\": \"{{status}}\",\r\n                    \"description\": \"{{description}}\"\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/data-flow/v3/health-information/notify",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "data-flow",
                        "v3",
                        "health-information",
                        "notify"
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "Success",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}",
                            "type": "text"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}",
                            "type": "text"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx",
                            "type": "text"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"notification\": {\r\n        \"consentId\": \"97c3668e-49e3-4121-b2d3-1ca6d949cd8a\",\r\n        \"transactionId\": \"e3472dad-86c5-42df-9afd-d7c13df2a564\",\r\n        \"doneAt\": \"2023-05-24T10:51:08.374Z\",\r\n        \"notifier\": {\r\n            \"type\": \"HIP\",\r\n            \"id\": \"HIP-HOSPITAL\"\r\n        },\r\n        \"statusNotification\": {\r\n            \"sessionStatus\": \"TRANSFERRED\",\r\n            \"hipId\": \"HIP-HOSPITAL\",\r\n            \"statusResponses\": [\r\n                {\r\n                    \"careContextReference\": \"b18d2e56-c5d2-41d0-bbe9-32a8b7579f74\",\r\n                    \"hiStatus\": \"DELIVERED\",\r\n                    \"description\": \"test care context\"\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/data-flow/v3/health-information/notify",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "data-flow",
                            "v3",
                            "health-information",
                            "notify"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "Text",
                      "header": [],
                      "cookie": [],
                      "body": "Note: Status get updated in data_flow_request table in db as \"TRANSFERRED\""
                    },
                    {
                      "name": "Access Denied",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "REQUEST-ID",
                            "value": "{{$guid}}",
                            "type": "text"
                          },
                          {
                            "key": "TIMESTAMP",
                            "value": "{{$isoTimestamp}}",
                            "type": "text"
                          },
                          {
                            "key": "X-CM-ID",
                            "value": "sbx",
                            "type": "text",
                            "disabled": true
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"notification\": {\r\n        \"consentId\": \"97c3668e-49e3-4121-b2d3-1ca6d949cd8a\",\r\n        \"transactionId\": \"e3472dad-86c5-42df-9afd-d7c13df2a564\",\r\n        \"doneAt\": \"2023-05-24T10:51:08.374Z\",\r\n        \"notifier\": {\r\n            \"type\": \"HIP\",\r\n            \"id\": \"HIP-HOSPITAL\"\r\n        },\r\n        \"statusNotification\": {\r\n            \"sessionStatus\": \"FAILED\",\r\n            \"hipId\": \"HIP-HOSPITAL\",\r\n            \"statusResponses\": [\r\n                {\r\n                    \"careContextReference\": \"b18d2e56-c5d2-41d0-bbe9-32a8b7579f74\",\r\n                    \"hiStatus\": \"ERRORED\",\r\n                    \"description\": \"test care context\"\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "https://dev.abdm.gov.in/api/hiecm/data-flow/v3/health-information/notify",
                          "protocol": "https",
                          "host": [
                            "dev",
                            "abdm",
                            "gov",
                            "in"
                          ],
                          "path": [
                            "api",
                            "hiecm",
                            "data-flow",
                            "v3",
                            "health-information",
                            "notify"
                          ]
                        }
                      },
                      "status": "Forbidden",
                      "code": 403,
                      "_postman_previewlanguage": "plain",
                      "header": [
                        {
                          "key": "expires",
                          "value": "0"
                        },
                        {
                          "key": "x-envoy-upstream-service-time",
                          "value": "11"
                        },
                        {
                          "key": "access-control-allow-origin",
                          "value": ""
                        },
                        {
                          "key": "access-control-allow-methods",
                          "value": "POST"
                        },
                        {
                          "key": "x-frame-options",
                          "value": "DENY"
                        },
                        {
                          "key": "access-control-allow-headers",
                          "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                        },
                        {
                          "key": "pragma",
                          "value": "no-cache"
                        },
                        {
                          "key": "activityid",
                          "value": "eec30217-83d1-48d8-bcc0-d11dd454c4ba"
                        },
                        {
                          "key": "access-control-expose-headers",
                          "value": ""
                        },
                        {
                          "key": "x-content-type-options",
                          "value": "nosniff"
                        },
                        {
                          "key": "x-xss-protection",
                          "value": "1 ; mode=block"
                        },
                        {
                          "key": "referrer-policy",
                          "value": "no-referrer"
                        },
                        {
                          "key": "content-type",
                          "value": "text/plain"
                        },
                        {
                          "key": "cache-control",
                          "value": "no-cache, no-store, max-age=0, must-revalidate"
                        },
                        {
                          "key": "date",
                          "value": "Thu, 09 May 2024 12:44:01 GMT"
                        },
                        {
                          "key": "Strict-Transport-Security",
                          "value": "max-age=16070400; includeSubDomains"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "Access Denied"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "Milestone 3 - Health Information User (HIU - M3)",
      "description": "Folder reserved for Milestone 3 HIU APIs under `front_end/m3/` and `abdm/m3/`.",
      "item": [
        {
          "name": "Local M3 HIU APIs (under front_end/m3/)",
          "item": [
            {
              "name": "1. Gateway Session Token [M3]",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"refresh\": true\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/api_session.php",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "api_session.php"
                  ]
                },
                "description": "Generates or refreshes the gateway session Bearer access token for M3 HIU."
              }
            },
            {
              "name": "2. Update Bridge Webhook URL",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"{{baseUrl}}/front_end/m3/webhook.php\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/api_bridge.php?action=update_url",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "api_bridge.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "update_url"
                    }
                  ]
                },
                "description": "Updates the HIU callback webhook URL on ABDM Gateway."
              }
            },
            {
              "name": "3. Register Bridge Service (HIU)",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"facilityId\": \"{{facilityId}}\",\n  \"bridgeId\": \"{{bridgeId}}\",\n  \"facilityName\": \"S Y Hospital New Delhi\",\n  \"type\": \"HIU\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/api_bridge.php?action=register_services",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "api_bridge.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "register_services"
                    }
                  ]
                },
                "description": "Registers HIU service on ABDM Bridge."
              }
            },
            {
              "name": "4. Find Bridge Services by Bridge ID",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/api_bridge.php?action=find_bridge&bridgeId={{bridgeId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "api_bridge.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "find_bridge"
                    },
                    {
                      "key": "bridgeId",
                      "value": "{{bridgeId}}"
                    }
                  ]
                },
                "description": "Finds registered services for bridge."
              }
            },
            {
              "name": "5. Find Service by Service ID",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/api_bridge.php?action=find_service&serviceId={{hiuId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "api_bridge.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "find_service"
                    },
                    {
                      "key": "serviceId",
                      "value": "{{hiuId}}"
                    }
                  ]
                },
                "description": "Finds service details by HIU ID."
              }
            },
            {
              "name": "6. Get Gateway Public Certs",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/api_bridge.php?action=certs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "api_bridge.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "certs"
                    }
                  ]
                },
                "description": "Retrieves ABDM Gateway public certificates."
              }
            },
            {
              "name": "7. OpenID Configuration",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/api_bridge.php?action=openid_config",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "api_bridge.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "openid_config"
                    }
                  ]
                },
                "description": "Fetches openid configuration."
              }
            },
            {
              "name": "8. Consent Init Request",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"patientId\": \"91410516244556@sbx\",\n  \"doctorName\": \"Dr. Rajesh Sharma, MD\",\n  \"dateFrom\": \"2024-01-01T00:00:00.000Z\",\n  \"dateTo\": \"2026-12-31T23:59:59.000Z\",\n  \"hiTypes\": [\n    \"Prescription\",\n    \"DiagnosticReport\",\n    \"OPConsultation\",\n    \"DischargeSummary\"\n  ]\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/api_consent.php?action=init",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "api_consent.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "init"
                    }
                  ]
                },
                "description": "Initiates a consent request for patient health records."
              }
            },
            {
              "name": "9. Consent Request Status",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consentRequestId\": \"{{consentRequestId}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/api_consent.php?action=status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "api_consent.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "status"
                    }
                  ]
                },
                "description": "Queries status of an initiated consent request."
              }
            },
            {
              "name": "10. Consent HIU On-Notify (ACK)",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consentId\": \"{{consentId}}\",\n  \"status\": \"OK\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/api_consent.php?action=hiu_on_notify",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "api_consent.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "hiu_on_notify"
                    }
                  ]
                },
                "description": "Acknowledges consent status notification received by HIU."
              }
            },
            {
              "name": "11. Consent Artefact Fetch",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consentId\": \"{{consentId}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/api_consent.php?action=fetch",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "api_consent.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "fetch"
                    }
                  ]
                },
                "description": "Fetches consent artefact details."
              }
            },
            {
              "name": "12. List Tracked Consents",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/api_consent.php?action=list_consents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "api_consent.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "list_consents"
                    }
                  ]
                },
                "description": "Lists all local tracked consent requests."
              }
            },
            {
              "name": "13. HIU Health Information Request",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consentId\": \"{{consentId}}\",\n  \"dataPushUrl\": \"{{baseUrl}}/front_end/m3/api_data_flow.php?action=push_receiver\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/api_data_flow.php?action=hi_request",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "api_data_flow.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "hi_request"
                    }
                  ]
                },
                "description": "Requests health data transfer using granted consent."
              }
            },
            {
              "name": "14. Data Flow Notification",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consentId\": \"{{consentId}}\",\n  \"transactionId\": \"{{transactionId}}\",\n  \"sessionStatus\": \"TRANSFERRED\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/api_data_flow.php?action=data_notify",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "api_data_flow.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "data_notify"
                    }
                  ]
                },
                "description": "Notifies that data transfer has completed."
              }
            },
            {
              "name": "15. Get Patient Clinical Records",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/api_data_flow.php?action=get_records",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "api_data_flow.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "get_records"
                    }
                  ]
                },
                "description": "Retrieves longitudinal FHIR health records for the patient."
              }
            },
            {
              "name": "16. M3 Unified Controller (Status / Router)",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/api_hiu.php?action=status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "api_hiu.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "status"
                    }
                  ]
                },
                "description": "Checks health and module status of Milestone 3 HIU."
              }
            },
            {
              "name": "17. Webhook Inspection - Get Callbacks",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/api_webhook.php?action=get_callbacks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "api_webhook.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "get_callbacks"
                    }
                  ]
                },
                "description": "Returns logged webhook callbacks for HIU."
              }
            },
            {
              "name": "18. Webhook Receiver Endpoint",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"test\": \"ping_hiu\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/webhook.php",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "webhook.php"
                  ]
                },
                "description": "Target endpoint receiving asynchronous ABDM callbacks."
              }
            },
            {
              "name": "19. Simulate Webhook Callback",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"type\": \"approved\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/front_end/m3/api_webhook.php?action=simulate_callback",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "front_end",
                    "m3",
                    "api_webhook.php"
                  ],
                  "query": [
                    {
                      "key": "action",
                      "value": "simulate_callback"
                    }
                  ]
                },
                "description": "Simulates incoming consent approval or data push event."
              }
            }
          ]
        },
        {
          "name": "Registration and Auth",
          "item": [
            {
              "name": "Session API",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "var jsonData = pm.response.json();\r",
                      "pm.environment.set(\"accessToken\", jsonData.accessToken);"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                },
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "REQUEST-ID",
                    "value": "{{$guid}}",
                    "type": "text"
                  },
                  {
                    "key": "TIMESTAMP",
                    "value": "{{$isoTimestamp}}",
                    "type": "text"
                  },
                  {
                    "key": "X-CM-ID",
                    "value": "sbx",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"clientId\": \"<<Enter Client Id>>\",\n    \"clientSecret\": \"<<Enter Client Secret>>\",\n    \"grantType\": \"client_credentials\"\n}"
                },
                "url": {
                  "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/sessions",
                  "protocol": "https",
                  "host": [
                    "dev",
                    "abdm",
                    "gov",
                    "in"
                  ],
                  "path": [
                    "api",
                    "hiecm",
                    "gateway",
                    "v3",
                    "sessions"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Update Bridge URL",
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      "const datetime = require('moment');\r",
                      "pm.globals.set(\"current_timestamp\",datetime().format(\"YYYY-MM-DD HH:mm:ss.SSS\"));"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{accessToken}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "PATCH",
                "header": [
                  {
                    "key": "REQUEST-ID",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "TIMESTAMP",
                    "value": "{{$isoTimestamp}}"
                  },
                  {
                    "key": "X-CM-ID",
                    "value": "{{X-CM-ID}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"url\": \"{{URL to be updated}}\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge/url",
                  "protocol": "https",
                  "host": [
                    "dev",
                    "abdm",
                    "gov",
                    "in"
                  ],
                  "path": [
                    "api",
                    "hiecm",
                    "gateway",
                    "v3",
                    "bridge",
                    "url"
                  ]
                }
              },
              "response": [
                {
                  "name": "Success",
                  "originalRequest": {
                    "method": "PATCH",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "sbx",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"bridgeId\": \"MOHANK_LTI\",\r\n    \"url\": \"https://webhook.site/3b21e640-493e-4b09-98b9-0fa88acb65ae\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge/url",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "gateway",
                        "v3",
                        "bridge",
                        "url"
                      ]
                    }
                  },
                  "status": "Accepted",
                  "code": 202,
                  "_postman_previewlanguage": "plain",
                  "header": [
                    {
                      "key": "expires",
                      "value": "0"
                    },
                    {
                      "key": "x-envoy-upstream-service-time",
                      "value": "48"
                    },
                    {
                      "key": "access-control-allow-origin",
                      "value": "*"
                    },
                    {
                      "key": "access-control-allow-methods",
                      "value": "PATCH"
                    },
                    {
                      "key": "x-frame-options",
                      "value": "DENY"
                    },
                    {
                      "key": "access-control-allow-headers",
                      "value": "authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,apikey,Internal-Key,Authorization"
                    },
                    {
                      "key": "pragma",
                      "value": "no-cache"
                    },
                    {
                      "key": "activityid",
                      "value": "12d3aa13-f3d8-4764-b762-780b74efe17e"
                    },
                    {
                      "key": "access-control-expose-headers",
                      "value": ""
                    },
                    {
                      "key": "x-content-type-options",
                      "value": "nosniff"
                    },
                    {
                      "key": "x-xss-protection",
                      "value": "1 ; mode=block"
                    },
                    {
                      "key": "referrer-policy",
                      "value": "no-referrer"
                    },
                    {
                      "key": "cache-control",
                      "value": "no-cache, no-store, max-age=0, must-revalidate"
                    },
                    {
                      "key": "date",
                      "value": "Thu, 09 May 2024 11:45:54 GMT"
                    },
                    {
                      "key": "Strict-Transport-Security",
                      "value": "max-age=16070400; includeSubDomains"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    }
                  ],
                  "cookie": [],
                  "body": ""
                },
                {
                  "name": "Access Denied",
                  "originalRequest": {
                    "method": "PATCH",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"bridgeId\": \"MOHANK_LT\",\r\n    \"url\": \"https://webhook.site/3b21e640-493e-4b09-98b9-0fa88acb65ae\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge/url",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "gateway",
                        "v3",
                        "bridge",
                        "url"
                      ]
                    }
                  },
                  "status": "Forbidden",
                  "code": 403,
                  "_postman_previewlanguage": "plain",
                  "header": [
                    {
                      "key": "expires",
                      "value": "0"
                    },
                    {
                      "key": "x-envoy-upstream-service-time",
                      "value": "8"
                    },
                    {
                      "key": "access-control-allow-origin",
                      "value": "*"
                    },
                    {
                      "key": "access-control-allow-methods",
                      "value": "PATCH"
                    },
                    {
                      "key": "x-frame-options",
                      "value": "DENY"
                    },
                    {
                      "key": "access-control-allow-headers",
                      "value": "authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,apikey,Internal-Key,Authorization"
                    },
                    {
                      "key": "pragma",
                      "value": "no-cache"
                    },
                    {
                      "key": "activityid",
                      "value": "284f60f8-e63c-4ae1-9653-470ea18f73ae"
                    },
                    {
                      "key": "access-control-expose-headers",
                      "value": ""
                    },
                    {
                      "key": "x-content-type-options",
                      "value": "nosniff"
                    },
                    {
                      "key": "x-xss-protection",
                      "value": "1 ; mode=block"
                    },
                    {
                      "key": "referrer-policy",
                      "value": "no-referrer"
                    },
                    {
                      "key": "content-type",
                      "value": "text/plain"
                    },
                    {
                      "key": "cache-control",
                      "value": "no-cache, no-store, max-age=0, must-revalidate"
                    },
                    {
                      "key": "date",
                      "value": "Thu, 09 May 2024 12:31:47 GMT"
                    },
                    {
                      "key": "Strict-Transport-Security",
                      "value": "max-age=16070400; includeSubDomains"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    }
                  ],
                  "cookie": [],
                  "body": "Access Denied"
                }
              ]
            },
            {
              "name": "Registration of bridge services (HIP/HIU)",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{Auth_Token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n  \"facilityId\": \"IN07100*****\",\r\n  \"facilityName\": \"S Y Hospital\",\r\n  \"HRP\": [\r\n    {\r\n      \"bridgeId\": \"{{Bridge_ID}}\",\r\n      \"hipName\": \"S Y Hospital\",\r\n      \"type\": \"HIP\",\r\n      \"active\": true\r\n    }\r\n  ]\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://apihspsbx.abdm.gov.in/v4/int/v1/bridges/MutipleHRPAddUpdateServices",
                  "protocol": "https",
                  "host": [
                    "apihspsbx",
                    "abdm",
                    "gov",
                    "in"
                  ],
                  "path": [
                    "v4",
                    "int",
                    "v1",
                    "bridges",
                    "MutipleHRPAddUpdateServices"
                  ]
                },
                "description": "Generated from cURL: curl --location 'https://apihspsbx.abdm.gov.in/v1/bridges/MutipleHRPAddUpdateServices' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE3MjQxMzI3MTUsImlhdCI6MTcyNDEzMTUxNSwianRpIjoiN2MzNWI1NzctYWQ4ZC00ZmVjLTk2NWMtM2U2YzFiYjg1NzliIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJkZTMxN2ZlYi03NjM4LTQ3NWUtYjI5OS0zM2NhYTVkMTUxNDEiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfVEVTVF9TQyIsInNlc3Npb25fc3RhdGUiOiJlMTdmNWMxMy1kNDRkLTQwODUtYmFlYi04Y2YwNWRmN2JhMGUiLCJhY3IiOiIxIiwiYWxsb3dlZC1vcmlnaW5zIjpbImh0dHA6Ly9sb2NhbGhvc3Q6OTAwNyJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiSGlkSW50ZWdyYXRlZFByb2dyYW0iLCJoZnIiLCJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsIkhpZF9DaGlsZCIsImhlYWx0aElkIiwicGhyIiwiT0lEQyIsImhlYWx0aF9sb2NrZXIiLCJoaXAiLCJIaWRBYmhhU2VhcmNoIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiU0JYX1RFU1RfU0MiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRJZCI6IlNCWF9URVNUX1NDIiwiY2xpZW50SG9zdCI6IjEwMC42NS4xNjAuMjE0IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc2J4X3Rlc3Rfc2MiLCJjbGllbnRBZGRyZXNzIjoiMTAwLjY1LjE2MC4yMTQifQ.VfvoH8S941BemqaYKyB_qfCS4oNLd211AaZ0Hori38ZMCIPJeFx1euSM_oImPRssabuhDIjX6QqVblm9pmft34rPG1XwLPWO53tv6Tidi9s91yp5KluxsqJB0699sFspx9WJvycrOdyv6zKegmcKJ8u-x8hFC8mN3nXSYNIiBIjFIQPgsKDsrnau2G8bf7UYo9UPIzMWuglcy44CDZE6PDdfaVEPwt12NcCbzmfanUXlomEyO7fpJPkB-iDEqyG6dq3o93j_SdhhjjZmQwigACdrYG0z3XXoLLLVzrQKA3thguI4f2QNPSy8NGpij1YG_axOxItr1iwaR6CBtBODZg' \\\r\n--data '{\r\n  \"facilityId\": \"IN0710001283\",\r\n  \"facilityName\": \"S Y Hospital New Delhi\",\r\n  \"HRP\": [\r\n    {\r\n      \"bridgeId\": \"{{Bridge_ID}}\",\r\n      \"hipName\": \"S Y Hospital New Delhi\",\r\n      \"type\": \"HIP\",\r\n      \"active\": true\r\n    }\r\n  ]\r\n}'"
              },
              "response": []
            },
            {
              "name": "Find Bridge Service By Service ID",
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      "const datetime = require('moment');\r",
                      "pm.globals.set(\"current_timestamp\",datetime().format(\"YYYY-MM-DD HH:mm:ss.SSS\"));"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{accessToken}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "GET",
                "header": [
                  {
                    "key": "REQUEST-ID",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "TIMESTAMP",
                    "value": "{{$isoTimestamp}}"
                  },
                  {
                    "key": "X-CM-ID",
                    "value": "{{X-CM-ID}}"
                  }
                ],
                "url": {
                  "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge-service/serviceId/{{service ID}}",
                  "protocol": "https",
                  "host": [
                    "dev",
                    "abdm",
                    "gov",
                    "in"
                  ],
                  "path": [
                    "api",
                    "hiecm",
                    "gateway",
                    "v3",
                    "bridge-service",
                    "serviceId",
                    "{{service ID}}"
                  ],
                  "query": [
                    {
                      "key": "stateCode",
                      "value": "10",
                      "disabled": true
                    },
                    {
                      "key": "districtCode",
                      "value": "20",
                      "disabled": true
                    }
                  ]
                }
              },
              "response": [
                {
                  "name": "Success",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "sbx",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge-service/serviceId/Mohan_HIP1",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "gateway",
                        "v3",
                        "bridge-service",
                        "serviceId",
                        "Mohan_HIP1"
                      ],
                      "query": [
                        {
                          "key": "stateCode",
                          "value": "10",
                          "disabled": true
                        },
                        {
                          "key": "districtCode",
                          "value": "20",
                          "disabled": true
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "expires",
                      "value": "0"
                    },
                    {
                      "key": "x-envoy-upstream-service-time",
                      "value": "31"
                    },
                    {
                      "key": "access-control-allow-origin",
                      "value": "*"
                    },
                    {
                      "key": "access-control-allow-methods",
                      "value": "GET"
                    },
                    {
                      "key": "x-frame-options",
                      "value": "DENY"
                    },
                    {
                      "key": "access-control-allow-headers",
                      "value": "authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,apikey,Internal-Key,Authorization"
                    },
                    {
                      "key": "pragma",
                      "value": "no-cache"
                    },
                    {
                      "key": "activityid",
                      "value": "1411d724-5426-4303-9c3a-61a12cb3887f"
                    },
                    {
                      "key": "access-control-expose-headers",
                      "value": ""
                    },
                    {
                      "key": "x-content-type-options",
                      "value": "nosniff"
                    },
                    {
                      "key": "x-xss-protection",
                      "value": "1 ; mode=block"
                    },
                    {
                      "key": "referrer-policy",
                      "value": "no-referrer"
                    },
                    {
                      "key": "content-type",
                      "value": "application/json"
                    },
                    {
                      "key": "cache-control",
                      "value": "no-cache, no-store, max-age=0, must-revalidate"
                    },
                    {
                      "key": "date",
                      "value": "Thu, 09 May 2024 11:46:12 GMT"
                    },
                    {
                      "key": "Strict-Transport-Security",
                      "value": "max-age=16070400; includeSubDomains"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"id\": 9687,\n    \"bridgeId\": \"MOHANK_LTI\",\n    \"serviceId\": \"Mohan_HIP1\",\n    \"name\": \"Mohan Hospital\",\n    \"isHip\": true,\n    \"isPhr\": false,\n    \"endpoints\": {},\n    \"active\": true,\n    \"registerTime\": \"2022-06-10 09:02:52.252\",\n    \"dateCreated\": \"2022-06-10 09:02:52.252\",\n    \"dateModified\": \"2023-12-15 16:01:39.139\"\n}"
                },
                {
                  "name": "404 Not found",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "sbx",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge-service/serviceId/Mohan_HIP1$",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "gateway",
                        "v3",
                        "bridge-service",
                        "serviceId",
                        "Mohan_HIP1$"
                      ],
                      "query": [
                        {
                          "key": "stateCode",
                          "value": "10",
                          "disabled": true
                        },
                        {
                          "key": "districtCode",
                          "value": "20",
                          "disabled": true
                        }
                      ]
                    }
                  },
                  "status": "Not Found",
                  "code": 404,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "x-request-id",
                      "value": "fe0af795-5bf0-4732-a044-84537542e647"
                    },
                    {
                      "key": "x-forwarded-proto",
                      "value": "http"
                    },
                    {
                      "key": "postman-token",
                      "value": "f94fa938-c2ef-4559-9be5-c946d5fe5ccc"
                    },
                    {
                      "key": "x-b3-sampled",
                      "value": "0"
                    },
                    {
                      "key": "x-forwarded-for",
                      "value": "100.65.201.149"
                    },
                    {
                      "key": "request-id",
                      "value": "ccae69a6-3eb9-4dbb-a6e6-0cc8cfeff043"
                    },
                    {
                      "key": "x-envoy-attempt-count",
                      "value": "1"
                    },
                    {
                      "key": "activityid",
                      "value": "119233e0-e8ce-45ff-8cc0-aa33b41e61f4"
                    },
                    {
                      "key": "x-cm-id",
                      "value": "sbx"
                    },
                    {
                      "key": "x-envoy-external-address",
                      "value": "100.65.201.149"
                    },
                    {
                      "key": "x-b3-spanid",
                      "value": "9c77814d71528d6d"
                    },
                    {
                      "key": "x-b3-traceid",
                      "value": "03e852a044b577cc9c77814d71528d6d"
                    },
                    {
                      "key": "accept-encoding",
                      "value": "gzip, deflate, br"
                    },
                    {
                      "key": "timestamp",
                      "value": "2024-05-09T11:46:31.988Z"
                    },
                    {
                      "key": "content-type",
                      "value": "application/json; charset=UTF-8"
                    },
                    {
                      "key": "date",
                      "value": "Thu, 09 May 2024 11:46:31 GMT"
                    },
                    {
                      "key": "x-envoy-upstream-service-time",
                      "value": "2"
                    },
                    {
                      "key": "X-Frame-Options",
                      "value": "DENY"
                    },
                    {
                      "key": "X-XSS-Protection",
                      "value": "1; mode=block"
                    },
                    {
                      "key": "X-Content-Type-Options",
                      "value": "nosniff"
                    },
                    {
                      "key": "Strict-Transport-Security",
                      "value": "max-age=16070400; includeSubDomains"
                    },
                    {
                      "key": "Referrer-Policy",
                      "value": "strict-origin"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"code\": \"404\",\n    \"type\": \"Status report\",\n    \"message\": \"Runtime Error\",\n    \"description\": \"No matching resource found for given API Request\"\n}"
                }
              ]
            },
            {
              "name": "Find Services By Bridge ID",
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{accessToken}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "GET",
                "header": [
                  {
                    "key": "REQUEST-ID",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "TIMESTAMP",
                    "value": "{{$isoTimestamp}}"
                  },
                  {
                    "key": "X-CM-ID",
                    "value": "{{X-CM-ID}}"
                  }
                ],
                "url": {
                  "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge-services",
                  "protocol": "https",
                  "host": [
                    "dev",
                    "abdm",
                    "gov",
                    "in"
                  ],
                  "path": [
                    "api",
                    "hiecm",
                    "gateway",
                    "v3",
                    "bridge-services"
                  ]
                }
              },
              "response": [
                {
                  "name": "Success",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "sbx",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge-services/SBX_002167",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "gateway",
                        "v3",
                        "bridge-services",
                        "SBX_002167"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "expires",
                      "value": "0"
                    },
                    {
                      "key": "x-envoy-upstream-service-time",
                      "value": "40"
                    },
                    {
                      "key": "access-control-allow-origin",
                      "value": "*"
                    },
                    {
                      "key": "access-control-allow-methods",
                      "value": "GET"
                    },
                    {
                      "key": "x-frame-options",
                      "value": "DENY"
                    },
                    {
                      "key": "access-control-allow-headers",
                      "value": "authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,apikey,Internal-Key,Authorization"
                    },
                    {
                      "key": "pragma",
                      "value": "no-cache"
                    },
                    {
                      "key": "activityid",
                      "value": "a62c0d0c-ea45-4a80-bcfa-8d36085c0130"
                    },
                    {
                      "key": "access-control-expose-headers",
                      "value": ""
                    },
                    {
                      "key": "x-content-type-options",
                      "value": "nosniff"
                    },
                    {
                      "key": "x-xss-protection",
                      "value": "1 ; mode=block"
                    },
                    {
                      "key": "referrer-policy",
                      "value": "no-referrer"
                    },
                    {
                      "key": "content-type",
                      "value": "application/json"
                    },
                    {
                      "key": "cache-control",
                      "value": "no-cache, no-store, max-age=0, must-revalidate"
                    },
                    {
                      "key": "date",
                      "value": "Thu, 09 May 2024 11:47:04 GMT"
                    },
                    {
                      "key": "Strict-Transport-Security",
                      "value": "max-age=16070400; includeSubDomains"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"bridge\": {\n        \"id\": \"SBX_002167\",\n        \"name\": \"barot dhruv\",\n        \"url\": \"https://webhook.site/23961f0f-3500-48d7-8ce2-8d48ad3dc0e9\",\n        \"active\": true,\n        \"blocklisted\": false\n    },\n    \"services\": [\n        {\n            \"id\": \"A1_HL\",\n            \"name\": \"Aarogya One Health Loker\",\n            \"types\": [\n                \"HIP\"\n            ],\n            \"endpoints\": {\n                \"hipEndpoints\": [\n                    {\n                        \"use\": \"registration\",\n                        \"connectionType\": \"HTTPS\",\n                        \"address\": \"https://events.hookdeck.com/e/src_3gsnEgI941mh/registration\"\n                    },\n                    {\n                        \"use\": \"data-upload\",\n                        \"connectionType\": \"HTTPS\",\n                        \"address\": \"https://events.hookdeck.com/e/src_3gsnEgI941mh/data-upload\"\n                    }\n                ],\n                \"hiuEndpoints\": [\n                    {\n                        \"use\": \"registration\",\n                        \"connectionType\": \"HTTPS\",\n                        \"address\": \"https://events.hookdeck.com/e/src_3gsnEgI941mh/registration\"\n                    },\n                    {\n                        \"use\": \"data-upload\",\n                        \"connectionType\": \"HTTPS\",\n                        \"address\": \"https://events.hookdeck.com/e/src_3gsnEgI941mh/data-upload\"\n                    }\n                ],\n                \"healthLockerEndpoints\": [\n                    {\n                        \"use\": \"registration\",\n                        \"connectionType\": \"HTTPS\",\n                        \"address\": \"https://events.hookdeck.com/e/src_3gsnEgI941mh/registration\"\n                    },\n                    {\n                        \"use\": \"data-upload\",\n                        \"connectionType\": \"HTTPS\",\n                        \"address\": \"https://events.hookdeck.com/e/src_3gsnEgI941mh/data-upload\"\n                    }\n                ]\n            },\n            \"active\": true\n        },\n        {\n            \"id\": \"DHRUV_DEV_PHR_001\",\n            \"name\": \"Dhruv PHR APP\",\n            \"types\": [\n                \"PHR\"\n            ],\n            \"endpoints\": {},\n            \"active\": true\n        },\n        {\n            \"id\": \"DHRUV_DEV_PHR_002\",\n            \"name\": \"Dhruv PHR APP Only PHR\",\n            \"types\": [\n                \"PHR\"\n            ],\n            \"endpoints\": {},\n            \"active\": true\n        },\n        {\n            \"id\": \"Dhruv_HEALTH_LOCKER\",\n            \"name\": \"Aarogya One Health Loker\",\n            \"types\": [],\n            \"endpoints\": {\n                \"healthLockerEndpoints\": [\n                    {\n                        \"use\": \"registration\",\n                        \"connectionType\": \"HTTPS\",\n                        \"address\": \"https://webhook.site/248a81d7-4194-4445-ad9c-db7541d8983b/registration\"\n                    },\n                    {\n                        \"use\": \"data-upload\",\n                        \"connectionType\": \"HTTPS\",\n                        \"address\": \"https://webhook.site/248a81d7-4194-4445-ad9c-db7541d8983b/data-upload\"\n                    }\n                ]\n            },\n            \"active\": true\n        },\n        {\n            \"id\": \"Dhruv_HIP\",\n            \"name\": \"Dhruv HIP\",\n            \"types\": [\n                \"HIP\"\n            ],\n            \"endpoints\": {},\n            \"active\": true\n        },\n        {\n            \"id\": \"Dhruv_HIU\",\n            \"name\": \"Dhruv HIU\",\n            \"types\": [\n                \"HIU\"\n            ],\n            \"endpoints\": {},\n            \"active\": true\n        },\n        {\n            \"id\": \"IN1210000232\",\n            \"name\": \"NP AR WEST SIANG aalo hq\",\n            \"types\": [\n                \"HIP\"\n            ],\n            \"endpoints\": {},\n            \"active\": true\n        },\n        {\n            \"id\": \"IN1210000232_1\",\n            \"name\": \"NP AR WEST SIANG aalo hq\",\n            \"types\": [\n                \"HIP\"\n            ],\n            \"endpoints\": {},\n            \"active\": true\n        },\n        {\n            \"id\": \"IN2410000190\",\n            \"name\": \"dhruv hospital\",\n            \"types\": [\n                \"HIP\"\n            ],\n            \"endpoints\": {},\n            \"active\": true\n        }\n    ]\n}"
                },
                {
                  "name": "Access Denied",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge-services/SBX_002167",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "gateway",
                        "v3",
                        "bridge-services",
                        "SBX_002167"
                      ]
                    }
                  },
                  "status": "Forbidden",
                  "code": 403,
                  "_postman_previewlanguage": "plain",
                  "header": [
                    {
                      "key": "expires",
                      "value": "0"
                    },
                    {
                      "key": "x-envoy-upstream-service-time",
                      "value": "23"
                    },
                    {
                      "key": "access-control-allow-origin",
                      "value": "*"
                    },
                    {
                      "key": "access-control-allow-methods",
                      "value": "GET"
                    },
                    {
                      "key": "x-frame-options",
                      "value": "DENY"
                    },
                    {
                      "key": "access-control-allow-headers",
                      "value": "authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,apikey,Internal-Key,Authorization"
                    },
                    {
                      "key": "pragma",
                      "value": "no-cache"
                    },
                    {
                      "key": "activityid",
                      "value": "75c8e478-2888-442c-9732-3fa93ad8c464"
                    },
                    {
                      "key": "access-control-expose-headers",
                      "value": ""
                    },
                    {
                      "key": "x-content-type-options",
                      "value": "nosniff"
                    },
                    {
                      "key": "x-xss-protection",
                      "value": "1 ; mode=block"
                    },
                    {
                      "key": "referrer-policy",
                      "value": "no-referrer"
                    },
                    {
                      "key": "content-type",
                      "value": "text/plain"
                    },
                    {
                      "key": "cache-control",
                      "value": "no-cache, no-store, max-age=0, must-revalidate"
                    },
                    {
                      "key": "date",
                      "value": "Thu, 09 May 2024 12:32:32 GMT"
                    },
                    {
                      "key": "Strict-Transport-Security",
                      "value": "max-age=16070400; includeSubDomains"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    }
                  ],
                  "cookie": [],
                  "body": "Access Denied"
                }
              ]
            },
            {
              "name": "certs",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "disabledSystemHeaders": {}
              },
              "request": {
                "auth": {
                  "type": "noauth"
                },
                "method": "GET",
                "header": [
                  {
                    "key": "REQUEST-ID",
                    "value": "{{$guid}}",
                    "type": "text"
                  },
                  {
                    "key": "TIMESTAMP",
                    "value": "{{$isoTimestamp}}",
                    "type": "text"
                  },
                  {
                    "key": "X-CM-ID",
                    "value": "{{cm-id}}",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/certs",
                  "protocol": "https",
                  "host": [
                    "dev",
                    "abdm",
                    "gov",
                    "in"
                  ],
                  "path": [
                    "api",
                    "hiecm",
                    "gateway",
                    "v3",
                    "certs"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "openid-configuration",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "REQUEST-ID",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "TIMESTAMP",
                    "value": "{{$isoTimestamp}}"
                  },
                  {
                    "key": "X-CM-ID",
                    "value": "{{cm-id}}"
                  }
                ],
                "url": {
                  "raw": "https://dev.abdm.gov.in/api/hiecm/gateway/v3/.well-known/openid-configuration",
                  "protocol": "https",
                  "host": [
                    "dev",
                    "abdm",
                    "gov",
                    "in"
                  ],
                  "path": [
                    "api",
                    "hiecm",
                    "gateway",
                    "v3",
                    ".well-known",
                    "openid-configuration"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "HIU APIs",
          "item": [
            {
              "name": "Consent init Request",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{accessToken}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "POST",
                "header": [
                  {
                    "key": "REQUEST-ID",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "TIMESTAMP",
                    "value": "{{$isoTimestamp}}"
                  },
                  {
                    "key": "X-CM-ID",
                    "value": "{{X-CM-ID}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"consent\": {\r\n        \"purpose\": {\r\n            \"text\": \"Care Management\",\r\n            \"code\": \"CAREMGT\",\r\n            \"refUri\": \"{{refUri}}\"\r\n        },\r\n        \"patient\": {\r\n            \"id\": \"{{patient Id}}\"\r\n        },\r\n        \"hiu\": {\r\n            \"id\": \"{{HIU Id}}\"\r\n        },\r\n        \"hip\": null,\r\n        \"careContexts\": null,\r\n        \"requester\": {\r\n            \"name\": \"{{name}}\",\r\n            \"identifier\": {\r\n                \"type\": \"{{type}}\",\r\n                \"value\": \"{{value}}\",\r\n                \"system\": \"{{system}}\"\r\n            }\r\n        },\r\n        \"hiTypes\": [\r\n            \"{{hiTypes}}\"\r\n        ],\r\n        \"permission\": {\r\n            \"accessMode\": \"VIEW\",\r\n            \"dateRange\": {\r\n                \"from\": \"{{From date and time}}\",\r\n                \"to\": \"{{To date and time}}\"\r\n            },\r\n            \"dataEraseAt\": \"{{date and time}}\",\r\n            \"frequency\": {\r\n                \"unit\": \"HOUR\",\r\n                \"value\": 0,\r\n                \"repeats\": 0\r\n            }\r\n        }\r\n    }\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://dev.abdm.gov.in/api/hiecm/consent/v3/request/init",
                  "protocol": "https",
                  "host": [
                    "dev",
                    "abdm",
                    "gov",
                    "in"
                  ],
                  "path": [
                    "api",
                    "hiecm",
                    "consent",
                    "v3",
                    "request",
                    "init"
                  ]
                }
              },
              "response": [
                {
                  "name": "Success",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "sbx",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"consent\": {\r\n        \"purpose\": {\r\n            \"text\": \"Care Management\",\r\n            \"code\": \"CAREMGT\",\r\n            \"refUri\": \"www.abdm.gov.in\"\r\n        },\r\n        \"patient\": {\r\n            \"id\": \"abdulkalam@sbx\"\r\n        },\r\n        \"hiu\": {\r\n            \"id\": \"N_SBX_HIU_V3\"\r\n        },\r\n        \"hip\": null,\r\n        \"careContexts\": null,\r\n        \"requester\": {\r\n            \"name\": \"Dr Manjula Bedi\",\r\n            \"identifier\": {\r\n                \"type\": \"REGNO1\",\r\n                \"value\": \"MH1001\",\r\n                \"system\": \"https://www.mciindia.9985\"\r\n            }\r\n        },\r\n        \"hiTypes\": [\r\n            \"Prescription\"\r\n        ],\r\n        \"permission\": {\r\n            \"accessMode\": \"VIEW\",\r\n            \"dateRange\": {\r\n                \"from\": \"2023-05-07T08:58:09.738Z\",\r\n                \"to\": \"2023-06-10T08:58:09.738Z\"\r\n            },\r\n            \"dataEraseAt\": \"2024-05-31T08:58:09.738Z\",\r\n            \"frequency\": {\r\n                \"unit\": \"HOUR\",\r\n                \"value\": 0,\r\n                \"repeats\": 0\r\n            }\r\n        }\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/consent/v3/request/init",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "consent",
                        "v3",
                        "request",
                        "init"
                      ]
                    }
                  },
                  "status": "Accepted",
                  "code": 202,
                  "_postman_previewlanguage": "Text",
                  "header": [],
                  "cookie": [],
                  "body": "Note: Expected Response on callback - https://webhook.site/7e64fb5c-96a0-4585-9e1e-7c10ce8df7a5/api/v3/hiu/consent/request/on-init\r\n{\r\n  \"consentRequest\": {\r\n    \"id\": \"a7554d1c-3cc7-42be-823b-766038ea73b7\"\r\n  },\r\n  \"error\": null,\r\n  \"response\": {\r\n    \"requestId\": \"0b26cedf-5bc0-40af-bf03-17f35f1a09fd\"\r\n  }\r\n}"
                },
                {
                  "name": "Access Denied",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "sbx",
                        "type": "text",
                        "disabled": true
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"consent\": {\r\n        \"purpose\": {\r\n            \"text\": \"Care Management\",\r\n            \"code\": \"CAREMGT\",\r\n            \"refUri\": \"www.abdm.gov.in\"\r\n        },\r\n        \"patient\": {\r\n            \"id\": \"abdulkalam@sbx\"\r\n        },\r\n        \"hiu\": {\r\n            \"id\": \"SBX_HIU_V3\"\r\n        },\r\n        \"hip\": null,\r\n        \"careContexts\": null,\r\n        \"requester\": {\r\n            \"name\": \"Dr Manjula Bedi\",\r\n            \"identifier\": {\r\n                \"type\": \"REGNO1\",\r\n                \"value\": \"MH1001\",\r\n                \"system\": \"https://www.mciindia.9985\"\r\n            }\r\n        },\r\n        \"hiTypes\": [\r\n            \"Prescription\"\r\n        ],\r\n        \"permission\": {\r\n            \"accessMode\": \"VIEW\",\r\n            \"dateRange\": {\r\n                \"from\": \"2023-05-20T08:58:09.738Z\",\r\n                \"to\": \"2023-06-10T08:58:09.738Z\"\r\n            },\r\n            \"dataEraseAt\": \"2024-05-31T08:58:09.738Z\",\r\n            \"frequency\": {\r\n                \"unit\": \"HOUR\",\r\n                \"value\": 0,\r\n                \"repeats\": 0\r\n            }\r\n        }\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/consent/v3/request/init",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "consent",
                        "v3",
                        "request",
                        "init"
                      ]
                    }
                  },
                  "status": "Forbidden",
                  "code": 403,
                  "_postman_previewlanguage": "plain",
                  "header": [
                    {
                      "key": "expires",
                      "value": "0"
                    },
                    {
                      "key": "x-envoy-upstream-service-time",
                      "value": "11"
                    },
                    {
                      "key": "access-control-allow-origin",
                      "value": ""
                    },
                    {
                      "key": "access-control-allow-methods",
                      "value": "POST"
                    },
                    {
                      "key": "x-frame-options",
                      "value": "DENY"
                    },
                    {
                      "key": "access-control-allow-headers",
                      "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                    },
                    {
                      "key": "pragma",
                      "value": "no-cache"
                    },
                    {
                      "key": "activityid",
                      "value": "0312c495-887e-4d57-bdbd-efe518fc882d"
                    },
                    {
                      "key": "access-control-expose-headers",
                      "value": ""
                    },
                    {
                      "key": "x-content-type-options",
                      "value": "nosniff"
                    },
                    {
                      "key": "x-xss-protection",
                      "value": "1 ; mode=block"
                    },
                    {
                      "key": "referrer-policy",
                      "value": "no-referrer"
                    },
                    {
                      "key": "content-type",
                      "value": "text/plain"
                    },
                    {
                      "key": "cache-control",
                      "value": "no-cache, no-store, max-age=0, must-revalidate"
                    },
                    {
                      "key": "date",
                      "value": "Thu, 09 May 2024 12:35:20 GMT"
                    },
                    {
                      "key": "Strict-Transport-Security",
                      "value": "max-age=16070400; includeSubDomains"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    }
                  ],
                  "cookie": [],
                  "body": "Access Denied"
                },
                {
                  "name": "Error Message",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "sbx",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"consent\": {\r\n        \"purpose\": {\r\n            \"text\": \"Care Management\",\r\n            \"code\": \"CAREMGT\",\r\n            \"refUri\": \"www.abdm.gov.in\"\r\n        },\r\n        \"patient\": {\r\n            \"id\": \"abdulkalam@sbx\"\r\n        },\r\n        \"hiu\": {\r\n            \"id\": \"SBX_HIU_V3\"\r\n        },\r\n        \"hip\": null,\r\n        \"careContexts\": null,\r\n        \"requester\": {\r\n            \"name\": \"Dr Manjula Bedi\",\r\n            \"identifier\": {\r\n                \"type\": \"REGNO1\",\r\n                \"value\": \"MH1001\",\r\n                \"system\": \"https://www.mciindia.9985\"\r\n            }\r\n        },\r\n        \"hiTypes\": [\r\n            \"Prescription\"\r\n        ],\r\n        \"permission\": {\r\n            \"accessMode\": \"VIEW\",\r\n            \"dateRange\": {\r\n                \"from\": \"2023-05-20T08:58:09.738Z\",\r\n                \"to\": \"2023-06-10T08:58:09.738Z\"\r\n            },\r\n            \"dataEraseAt\": \"2024-03-31T08:58:09.738Z\",\r\n            \"frequency\": {\r\n                \"unit\": \"HOUR\",\r\n                \"value\": 0,\r\n                \"repeats\": 0\r\n            }\r\n        }\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/consent/v3/request/init",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "consent",
                        "v3",
                        "request",
                        "init"
                      ]
                    }
                  },
                  "status": "Bad Request",
                  "code": 400,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "expires",
                      "value": "0"
                    },
                    {
                      "key": "x-envoy-upstream-service-time",
                      "value": "25"
                    },
                    {
                      "key": "access-control-allow-origin",
                      "value": ""
                    },
                    {
                      "key": "access-control-allow-methods",
                      "value": "POST"
                    },
                    {
                      "key": "x-frame-options",
                      "value": "DENY"
                    },
                    {
                      "key": "access-control-allow-headers",
                      "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                    },
                    {
                      "key": "pragma",
                      "value": "no-cache"
                    },
                    {
                      "key": "activityid",
                      "value": "96e6d248-f01d-40f9-b894-5dcede7e743c"
                    },
                    {
                      "key": "access-control-expose-headers",
                      "value": ""
                    },
                    {
                      "key": "x-content-type-options",
                      "value": "nosniff"
                    },
                    {
                      "key": "x-xss-protection",
                      "value": "1 ; mode=block"
                    },
                    {
                      "key": "referrer-policy",
                      "value": "no-referrer"
                    },
                    {
                      "key": "content-type",
                      "value": "application/json"
                    },
                    {
                      "key": "cache-control",
                      "value": "no-cache, no-store, max-age=0, must-revalidate"
                    },
                    {
                      "key": "date",
                      "value": "Thu, 09 May 2024 12:35:38 GMT"
                    },
                    {
                      "key": "Strict-Transport-Security",
                      "value": "max-age=16070400; includeSubDomains"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    }
                  ],
                  "cookie": [],
                  "body": "[\n    {\n        \"error\": {\n            \"code\": \"ABDM-9999: \",\n            \"message\": \"Invalid data erase date. Date must be a future date\"\n        }\n    }\n]"
                }
              ]
            },
            {
              "name": "Consent Request Status",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{accessToken}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "POST",
                "header": [
                  {
                    "key": "REQUEST-ID",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "TIMESTAMP",
                    "value": "{{$isoTimestamp}}"
                  },
                  {
                    "key": "X-CM-ID",
                    "value": "{{X-CM-ID}}"
                  },
                  {
                    "key": "X-HIU-ID",
                    "value": "{{HIU Id}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"consentRequestId\": \"{{Consent Request Id}}}}\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://dev.abdm.gov.in/api/hiecm/consent/v3/request/status",
                  "protocol": "https",
                  "host": [
                    "dev",
                    "abdm",
                    "gov",
                    "in"
                  ],
                  "path": [
                    "api",
                    "hiecm",
                    "consent",
                    "v3",
                    "request",
                    "status"
                  ]
                }
              },
              "response": [
                {
                  "name": "Success",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "sbx",
                        "type": "text"
                      },
                      {
                        "key": "X-HIU-ID",
                        "value": "N_SBX_HIU_V3",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"consentRequestId\": \"a7554d1c-3cc7-42be-823b-766038ea73b7\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/consent/v3/request/status",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "consent",
                        "v3",
                        "request",
                        "status"
                      ]
                    }
                  },
                  "_postman_previewlanguage": "Text",
                  "header": [],
                  "cookie": [],
                  "body": "Note: Expected Response on callback - https://webhook.site/7e64fb5c-96a0-4585-9e1e-7c10ce8df7a5/api/v3/hiu/consent/request/on-status\r\n{\r\n  \"consentRequest\": {\r\n    \"id\": \"a7554d1c-3cc7-42be-823b-766038ea73b7\",\r\n    \"status\": \"REQUESTED\"\r\n  },\r\n  \"error\": null,\r\n  \"response\": {\r\n    \"requestId\": \"2bf5fff7-f2a8-4014-9558-59723e1e7d16\"\r\n  },\r\n  \"resp\": null\r\n}"
                },
                {
                  "name": "Access Denied",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "sbx",
                        "type": "text",
                        "disabled": true
                      },
                      {
                        "key": "X-HIU-ID",
                        "value": "N_SBX_HIU_V3",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"consentRequestId\": \"a7554d1c-3cc7-42be-823b-766038ea73b7\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/consent/v3/request/status",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "consent",
                        "v3",
                        "request",
                        "status"
                      ]
                    }
                  },
                  "status": "Forbidden",
                  "code": 403,
                  "_postman_previewlanguage": "plain",
                  "header": [
                    {
                      "key": "expires",
                      "value": "0"
                    },
                    {
                      "key": "x-envoy-upstream-service-time",
                      "value": "11"
                    },
                    {
                      "key": "access-control-allow-origin",
                      "value": ""
                    },
                    {
                      "key": "access-control-allow-methods",
                      "value": "POST"
                    },
                    {
                      "key": "x-frame-options",
                      "value": "DENY"
                    },
                    {
                      "key": "access-control-allow-headers",
                      "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                    },
                    {
                      "key": "pragma",
                      "value": "no-cache"
                    },
                    {
                      "key": "activityid",
                      "value": "4e3e3917-e5c8-4641-ae06-83d0251e3c49"
                    },
                    {
                      "key": "access-control-expose-headers",
                      "value": ""
                    },
                    {
                      "key": "x-content-type-options",
                      "value": "nosniff"
                    },
                    {
                      "key": "x-xss-protection",
                      "value": "1 ; mode=block"
                    },
                    {
                      "key": "referrer-policy",
                      "value": "no-referrer"
                    },
                    {
                      "key": "content-type",
                      "value": "text/plain"
                    },
                    {
                      "key": "cache-control",
                      "value": "no-cache, no-store, max-age=0, must-revalidate"
                    },
                    {
                      "key": "date",
                      "value": "Thu, 09 May 2024 12:35:59 GMT"
                    },
                    {
                      "key": "Strict-Transport-Security",
                      "value": "max-age=16070400; includeSubDomains"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    }
                  ],
                  "cookie": [],
                  "body": "Access Denied"
                }
              ]
            },
            {
              "name": "Consent HIU on notify",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{accessToken}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "POST",
                "header": [
                  {
                    "key": "REQUEST-ID",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "TIMESTAMP",
                    "value": "{{$isoTimestamp}}"
                  },
                  {
                    "key": "X-CM-ID",
                    "value": "{{X-CM-ID}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"acknowledgement\": [\r\n        {\r\n            \"status\": \"{{status}}\",\r\n            \"consentId\": \"{{consentId}}\"\r\n        }\r\n    ],\r\n    \"response\": {\r\n        \"requestId\": \"{{requestId}}\"\r\n    }\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://dev.abdm.gov.in/api/hiecm/consent/v3/request/hiu/on-notify",
                  "protocol": "https",
                  "host": [
                    "dev",
                    "abdm",
                    "gov",
                    "in"
                  ],
                  "path": [
                    "api",
                    "hiecm",
                    "consent",
                    "v3",
                    "request",
                    "hiu",
                    "on-notify"
                  ]
                }
              },
              "response": [
                {
                  "name": "Success",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "sbx",
                        "type": "text"
                      },
                      {
                        "key": "X-HIU-ID",
                        "value": "N_SBX_HIU_V3",
                        "type": "text",
                        "disabled": true
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"acknowledgement\": [\r\n        {\r\n            \"status\": \"ok\",\r\n            \"consentId\": \"6fd112df-d172-47f6-8835-55839273c702\"\r\n        }\r\n        \r\n    ],\r\n    \"response\": {\r\n        \"requestId\": \"e0969d75-3437-4cb3-af51-db3d9514a6e1\"\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/consent/v3/request/hiu/on-notify",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "consent",
                        "v3",
                        "request",
                        "hiu",
                        "on-notify"
                      ]
                    }
                  },
                  "status": "Accepted",
                  "code": 202,
                  "_postman_previewlanguage": "Text",
                  "header": [],
                  "cookie": [],
                  "body": "Note: No response on webhook or postman"
                },
                {
                  "name": "Access Denied",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "sbx",
                        "type": "text",
                        "disabled": true
                      },
                      {
                        "key": "X-HIU-ID",
                        "value": "N_SBX_HIU_V3",
                        "type": "text",
                        "disabled": true
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"acknowledgement\": [\r\n        {\r\n            \"status\": \"ok\",\r\n            \"consentId\": \"6fd112df-d172-47f6-8835-55839273c702\"\r\n        }\r\n        \r\n    ],\r\n    \"response\": {\r\n        \"requestId\": \"e0969d75-3437-4cb3-af51-db3d9514a6e1\"\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/consent/v3/request/hiu/on-notify",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "consent",
                        "v3",
                        "request",
                        "hiu",
                        "on-notify"
                      ]
                    }
                  },
                  "status": "Forbidden",
                  "code": 403,
                  "_postman_previewlanguage": "plain",
                  "header": [
                    {
                      "key": "expires",
                      "value": "0"
                    },
                    {
                      "key": "x-envoy-upstream-service-time",
                      "value": "16"
                    },
                    {
                      "key": "access-control-allow-origin",
                      "value": ""
                    },
                    {
                      "key": "access-control-allow-methods",
                      "value": "POST"
                    },
                    {
                      "key": "x-frame-options",
                      "value": "DENY"
                    },
                    {
                      "key": "access-control-allow-headers",
                      "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                    },
                    {
                      "key": "pragma",
                      "value": "no-cache"
                    },
                    {
                      "key": "activityid",
                      "value": "1047df48-2f75-44e9-a6a1-643cf1fd58a8"
                    },
                    {
                      "key": "access-control-expose-headers",
                      "value": ""
                    },
                    {
                      "key": "x-content-type-options",
                      "value": "nosniff"
                    },
                    {
                      "key": "x-xss-protection",
                      "value": "1 ; mode=block"
                    },
                    {
                      "key": "referrer-policy",
                      "value": "no-referrer"
                    },
                    {
                      "key": "content-type",
                      "value": "text/plain"
                    },
                    {
                      "key": "cache-control",
                      "value": "no-cache, no-store, max-age=0, must-revalidate"
                    },
                    {
                      "key": "date",
                      "value": "Thu, 09 May 2024 12:37:14 GMT"
                    },
                    {
                      "key": "Strict-Transport-Security",
                      "value": "max-age=16070400; includeSubDomains"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    }
                  ],
                  "cookie": [],
                  "body": "Access Denied"
                }
              ]
            },
            {
              "name": "Consent Fetch",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{accessToken}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "POST",
                "header": [
                  {
                    "key": "REQUEST-ID",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "TIMESTAMP",
                    "value": "{{$isoTimestamp}}"
                  },
                  {
                    "key": "X-CM-ID",
                    "value": "{{X-CM-ID}}"
                  },
                  {
                    "key": "X-HIU-ID",
                    "value": "{{HIU ID}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n   \"consentId\": \"{{Consent Id}}\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://dev.abdm.gov.in/api/hiecm/consent/v3/fetch",
                  "protocol": "https",
                  "host": [
                    "dev",
                    "abdm",
                    "gov",
                    "in"
                  ],
                  "path": [
                    "api",
                    "hiecm",
                    "consent",
                    "v3",
                    "fetch"
                  ]
                }
              },
              "response": [
                {
                  "name": "Success",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "sbx",
                        "type": "text"
                      },
                      {
                        "key": "X-HIU-ID",
                        "value": "N_SBX_HIU_V3",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n   \"consentId\": \"6fd112df-d172-47f6-8835-55839273c702\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/consent/v3/fetch",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "consent",
                        "v3",
                        "fetch"
                      ]
                    }
                  },
                  "status": "Accepted",
                  "code": 202,
                  "_postman_previewlanguage": "plain",
                  "header": [
                    {
                      "key": "expires",
                      "value": "0"
                    },
                    {
                      "key": "x-envoy-upstream-service-time",
                      "value": "28"
                    },
                    {
                      "key": "access-control-allow-origin",
                      "value": ""
                    },
                    {
                      "key": "access-control-allow-methods",
                      "value": "POST"
                    },
                    {
                      "key": "x-frame-options",
                      "value": "DENY"
                    },
                    {
                      "key": "access-control-allow-headers",
                      "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                    },
                    {
                      "key": "pragma",
                      "value": "no-cache"
                    },
                    {
                      "key": "activityid",
                      "value": "8ae65a0c-2f51-4250-867e-4c969ca5f290"
                    },
                    {
                      "key": "access-control-expose-headers",
                      "value": ""
                    },
                    {
                      "key": "x-content-type-options",
                      "value": "nosniff"
                    },
                    {
                      "key": "x-xss-protection",
                      "value": "1 ; mode=block"
                    },
                    {
                      "key": "referrer-policy",
                      "value": "no-referrer"
                    },
                    {
                      "key": "cache-control",
                      "value": "no-cache, no-store, max-age=0, must-revalidate"
                    },
                    {
                      "key": "date",
                      "value": "Thu, 09 May 2024 10:25:16 GMT"
                    },
                    {
                      "key": "Strict-Transport-Security",
                      "value": "max-age=16070400; includeSubDomains"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    }
                  ],
                  "cookie": [],
                  "body": "Note: Expected response on callback - https://webhook.site/7e64fb5c-96a0-4585-9e1e-7c10ce8df7a5/api/v3/hiu/consent/on-fetch\r\n\r\n{\r\n  \"consent\": {\r\n    \"status\": \"GRANTED\",\r\n    \"consentDetail\": {\r\n      \"consentId\": \"6fd112df-d172-47f6-8835-55839273c702\",\r\n      \"hip\": {\r\n        \"id\": \"IN2710000362_1\"\r\n      },\r\n      \"hiu\": {\r\n        \"id\": \"N_SBX_HIU_V3\"\r\n      },\r\n      \"hiTypes\": [\r\n        \"Prescription\"\r\n      ],\r\n      \"patient\": {\r\n        \"id\": \"abdulkalam@sbx\"\r\n      },\r\n      \"purpose\": {\r\n        \"text\": \"Care Management\",\r\n        \"code\": \"CAREMGT\",\r\n        \"refUri\": \"www.abdm.gov.in\"\r\n      },\r\n      \"createdAt\": \"2024-05-09T10:09:37.714Z\",\r\n      \"requester\": {\r\n        \"name\": \"Dr Manjula Bedi\",\r\n        \"identifier\": {\r\n          \"value\": \"MH1001\",\r\n          \"type\": \"REGNO1\",\r\n          \"system\": \"https://www.mciindia.9985\"\r\n        }\r\n      },\r\n      \"permission\": {\r\n        \"accessMode\": \"VIEW\",\r\n        \"dateRange\": {\r\n          \"from\": \"2023-05-11T06:21:42.683Z\",\r\n          \"to\": \"2024-01-10T06:21:42.683Z\"\r\n        },\r\n        \"dataEraseAt\": \"2024-05-31T06:21:42.683Z\",\r\n        \"frequency\": {\r\n          \"unit\": \"HOUR\",\r\n          \"value\": \"0\",\r\n          \"repeats\": \"0\"\r\n        }\r\n      },\r\n      \"lastUpdated\": \"2024-05-09T10:09:37.714Z\",\r\n      \"careContexts\": [\r\n        {\r\n          \"patientReference\": \"abdulkalam@sbx@sbx\",\r\n          \"careContextReference\": \"DFCConnect_2024-02-02-01975\"\r\n        }\r\n      ],\r\n      \"schemaVersion\": \"v3\",\r\n      \"consentManager\": {\r\n        \"id\": \"sbx\"\r\n      }\r\n    },\r\n    \"signature\": \"h1hD734o0NZufMJtTC95e+5al2rg83vmKLwo0Kuv7qYxj5X9FtSPTM8DMhuULF23fObmKy2Ksyn3xgmefzmU/YNcNBfd3PEJun3cM7NyFXBN/KoUZWnB4lnQmqkrJqvCqZwB9AOy877AGGPaq7PGWTrfXEBH+tc+Am3NB4zFUR7pCtGRFEqTW90q8W4CLEGWtri4Yab0G6msjx1Jja0q2BeOFWLJDSJBHgQbOlEiT9y9tM86lBRPbdQnSq4EIUM8XODajnyFD3nQtuNbp1sPR3W1js2tcWsR3FMvyybStr4ALd1qegmuUFn2dpztm3fk6WrCoN2UbUecOAHZZwrIgQ==\"\r\n  },\r\n  \"error\": null,\r\n  \"response\": {\r\n    \"requestId\": \"d49d8773-ec92-47b3-91e4-2cf942d6f71f\"\r\n  },\r\n  \"resp\": null\r\n}"
                },
                {
                  "name": "Access Denied",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "sbx",
                        "type": "text",
                        "disabled": true
                      },
                      {
                        "key": "X-HIU-ID",
                        "value": "N_SBX_HIU_V3",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n   \"consentId\": \"6fd112df-d172-47f6-8835-55839273c702\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/consent/v3/fetch",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "consent",
                        "v3",
                        "fetch"
                      ]
                    }
                  },
                  "status": "Forbidden",
                  "code": 403,
                  "_postman_previewlanguage": "plain",
                  "header": [
                    {
                      "key": "expires",
                      "value": "0"
                    },
                    {
                      "key": "x-envoy-upstream-service-time",
                      "value": "11"
                    },
                    {
                      "key": "access-control-allow-origin",
                      "value": ""
                    },
                    {
                      "key": "access-control-allow-methods",
                      "value": "POST"
                    },
                    {
                      "key": "x-frame-options",
                      "value": "DENY"
                    },
                    {
                      "key": "access-control-allow-headers",
                      "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                    },
                    {
                      "key": "pragma",
                      "value": "no-cache"
                    },
                    {
                      "key": "activityid",
                      "value": "c105f43a-2c25-4ac0-9f2c-c7907926d000"
                    },
                    {
                      "key": "access-control-expose-headers",
                      "value": ""
                    },
                    {
                      "key": "x-content-type-options",
                      "value": "nosniff"
                    },
                    {
                      "key": "x-xss-protection",
                      "value": "1 ; mode=block"
                    },
                    {
                      "key": "referrer-policy",
                      "value": "no-referrer"
                    },
                    {
                      "key": "content-type",
                      "value": "text/plain"
                    },
                    {
                      "key": "cache-control",
                      "value": "no-cache, no-store, max-age=0, must-revalidate"
                    },
                    {
                      "key": "date",
                      "value": "Thu, 09 May 2024 12:37:33 GMT"
                    },
                    {
                      "key": "Strict-Transport-Security",
                      "value": "max-age=16070400; includeSubDomains"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    }
                  ],
                  "cookie": [],
                  "body": "Access Denied"
                }
              ]
            },
            {
              "name": "HIU Health Information Request",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{accessToken}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "POST",
                "header": [
                  {
                    "key": "REQUEST-ID",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "TIMESTAMP",
                    "value": "{{$isoTimestamp}}"
                  },
                  {
                    "key": "X-CM-ID",
                    "value": "{{X-CM-ID}}"
                  },
                  {
                    "key": "X-HIU-ID",
                    "value": "{{HIU Id}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"hiRequest\": {\r\n        \"consent\": {\r\n            \"id\": \"{{consent Id}}\"\r\n        },\r\n        \"dateRange\": {\r\n            \"from\": \"{{From date and time}}\",\r\n            \"to\": \"{{To date and time}}\"\r\n        },\r\n        \"dataPushUrl\": \"{{Data Push URL}}\",\r\n        \"keyMaterial\": {\r\n            \"cryptoAlg\": \"{{algorithm Used}}\",\r\n            \"curve\": \"{{curve}}\",\r\n            \"dhPublicKey\": {\r\n                \"expiry\": \"{{expiry date}}\",\r\n                \"parameters\": \"{{parameters}}\",\r\n                \"keyValue\": \"{{public key}}\"\r\n            },\r\n            \"nonce\": \"{{nonce}}\"\r\n        }\r\n    }\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://dev.abdm.gov.in/api/hiecm/data-flow/v3/health-information/request",
                  "protocol": "https",
                  "host": [
                    "dev",
                    "abdm",
                    "gov",
                    "in"
                  ],
                  "path": [
                    "api",
                    "hiecm",
                    "data-flow",
                    "v3",
                    "health-information",
                    "request"
                  ]
                }
              },
              "response": [
                {
                  "name": "Success",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "sbx",
                        "type": "text"
                      },
                      {
                        "key": "X-HIU-ID",
                        "value": "N_SBX_HIU_V3",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"requestId\": \"{{$guid}}\",\r\n    \"timestamp\": \"{{timestamp}}\",\r\n    \"hiRequest\": {\r\n        \"consent\": {\r\n            \"id\": \"2cd2a08a-c22a-4d05-9321-af95477e1cf9\"\r\n        },\r\n        \"dateRange\": {\r\n                \"from\": \"2023-05-17T08:58:09.738Z\",\r\n                \"to\": \"2023-06-10T08:58:09.738Z\"\r\n        },\r\n        \"dataPushUrl\": \"https://webhook.site/ecf7388d-1bb2-4a73-9c59-b6e6a209bcdd/atul/data/push\",\r\n        \"keyMaterial\": {\r\n            \"cryptoAlg\": \"ECDH\",\r\n            \"curve\": \"Curve25519\",\r\n            \"dhPublicKey\": {\r\n                \"expiry\": \"2025-06-17T12:23:08.224Z\",\r\n                \"parameters\": \"Curve25519/32byte random key\",\r\n                \"keyValue\": \"BDdwiDc0OE6GTml90tcDcfQpDuVyEeciwBGYkB5v08yWRBc3sIKm9e5ygVktMAXVFdNLai4wfqUeEWHe3AK3X+Q=\", /* publicKey */\r\n                \"x509PublicKey\": \"MIIBMTCB6gYHKoZIzj0CATCB3gIBATArBgcqhkjOPQEBAiB/////////////////////////////////////////7TBEBCAqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqYSRShRAQge0Je0Je0Je0Je0Je0Je0Je0Je0Je0Je0JgtenHcQyGQEQQQqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq0kWiCuGaG4oIa04B7dLHdI0UySPU1+bXxhsinpxaJ+ztPZAiAQAAAAAAAAAAAAAAAAAAAAFN753qL3nNZYEmMaXPXT7QIBCANCAARzDxcCe7FZtrb+gvbjb/FJnS/zc7Ooq9A+1bTW3uHSdF33GViSWumNHfFbkuLf85ksgoGCjQVa+5CHPeV4PGOP\"\r\n            },\r\n            \"nonce\": \"eFwkEMkx/0VmOoVjmf3j8lf3ef/ESqgudybfL0/D/a8=\" /* nonce */\r\n        }\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/data-flow/v3/health-information/request",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "data-flow",
                        "v3",
                        "health-information",
                        "request"
                      ]
                    }
                  },
                  "_postman_previewlanguage": "Text",
                  "header": [],
                  "cookie": [],
                  "body": "Note: Expected response on call back\r\n\r\n\"202 Accepted\r\nResponse on V3 HIU-\r\n{\r\n  \"\"hiRequest\"\": {\r\n    \"transactionId\": \"ef1da0d8-0c3f-490d-8b72-70c543304ee6\",\r\n    \"sessionStatus\": \"REQUESTED\"\r\n  },\r\n  \"\"response\"\": {\r\n    \"requestId\": \"8235b050-3187-44f1-ac0a-5d41c8a94120\"\r\n  }\r\n}\""
                },
                {
                  "name": "Access Denied",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "sbx",
                        "type": "text",
                        "disabled": true
                      },
                      {
                        "key": "X-HIU-ID",
                        "value": "N_SBX_HIU_V3",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"requestId\": \"{{$guid}}\",\r\n    \"timestamp\": \"{{timestamp}}\",\r\n    \"hiRequest\": {\r\n        \"consent\": {\r\n            \"id\": \"48a92670-56f6-4ec9-b03b-8bb1eb685105\"\r\n        },\r\n        \"dateRange\": {\r\n                \"from\": \"2023-05-17T08:58:09.738Z\",\r\n                \"to\": \"2023-06-10T08:58:09.738Z\"\r\n        },\r\n        \"dataPushUrl\": \"https://webhook.site/ecf7388d-1bb2-4a73-9c59-b6e6a209bcdd/atul/data/push\",\r\n        \"keyMaterial\": {\r\n            \"cryptoAlg\": \"ECDH\",\r\n            \"curve\": \"Curve25519\",\r\n            \"dhPublicKey\": {\r\n                \"expiry\": \"2025-06-17T12:23:08.224Z\",\r\n                \"parameters\": \"Curve25519/32byte random key\",\r\n                \"keyValue\": \"BDdwiDc0OE6GTml90tcDcfQpDuVyEeciwBGYkB5v08yWRBc3sIKm9e5ygVktMAXVFdNLai4wfqUeEWHe3AK3X+Q=\", /* publicKey */\r\n                \"x509PublicKey\": \"MIIBMTCB6gYHKoZIzj0CATCB3gIBATArBgcqhkjOPQEBAiB/////////////////////////////////////////7TBEBCAqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqYSRShRAQge0Je0Je0Je0Je0Je0Je0Je0Je0Je0Je0JgtenHcQyGQEQQQqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq0kWiCuGaG4oIa04B7dLHdI0UySPU1+bXxhsinpxaJ+ztPZAiAQAAAAAAAAAAAAAAAAAAAAFN753qL3nNZYEmMaXPXT7QIBCANCAARzDxcCe7FZtrb+gvbjb/FJnS/zc7Ooq9A+1bTW3uHSdF33GViSWumNHfFbkuLf85ksgoGCjQVa+5CHPeV4PGOP\"\r\n            },\r\n            \"nonce\": \"eFwkEMkx/0VmOoVjmf3j8lf3ef/ESqgudybfL0/D/a8=\" /* nonce */\r\n        }\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/data-flow/v3/health-information/request",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "data-flow",
                        "v3",
                        "health-information",
                        "request"
                      ]
                    }
                  },
                  "status": "Forbidden",
                  "code": 403,
                  "_postman_previewlanguage": "plain",
                  "header": [
                    {
                      "key": "expires",
                      "value": "0"
                    },
                    {
                      "key": "x-envoy-upstream-service-time",
                      "value": "22"
                    },
                    {
                      "key": "access-control-allow-origin",
                      "value": ""
                    },
                    {
                      "key": "access-control-allow-methods",
                      "value": "POST"
                    },
                    {
                      "key": "x-frame-options",
                      "value": "DENY"
                    },
                    {
                      "key": "access-control-allow-headers",
                      "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                    },
                    {
                      "key": "pragma",
                      "value": "no-cache"
                    },
                    {
                      "key": "activityid",
                      "value": "f1b577f3-e2d0-475b-b9a9-21d58b46b52c"
                    },
                    {
                      "key": "access-control-expose-headers",
                      "value": ""
                    },
                    {
                      "key": "x-content-type-options",
                      "value": "nosniff"
                    },
                    {
                      "key": "x-xss-protection",
                      "value": "1 ; mode=block"
                    },
                    {
                      "key": "referrer-policy",
                      "value": "no-referrer"
                    },
                    {
                      "key": "content-type",
                      "value": "text/plain"
                    },
                    {
                      "key": "cache-control",
                      "value": "no-cache, no-store, max-age=0, must-revalidate"
                    },
                    {
                      "key": "date",
                      "value": "Thu, 09 May 2024 12:43:16 GMT"
                    },
                    {
                      "key": "Strict-Transport-Security",
                      "value": "max-age=16070400; includeSubDomains"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    }
                  ],
                  "cookie": [],
                  "body": "Access Denied"
                }
              ]
            },
            {
              "name": "Data Flow Notification",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{accessToken}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "POST",
                "header": [
                  {
                    "key": "REQUEST-ID",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "TIMESTAMP",
                    "value": "{{$isoTimestamp}}"
                  },
                  {
                    "key": "X-CM-ID",
                    "value": "{{X-CM-ID}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"notification\": {\r\n        \"consentId\": \"{{consent Id}}\",\r\n        \"transactionId\": \"{{transactionId}}\",\r\n        \"doneAt\": \"{{date and time}}\",\r\n        \"notifier\": {\r\n            \"type\": \"HIU\",\r\n            \"id\": \"{{HIU ID}}\"\r\n        },\r\n        \"statusNotification\": {\r\n            \"sessionStatus\": \"{{Notification status}}\",\r\n            \"hipId\": \"{{HIP ID}}\",\r\n            \"statusResponses\": [\r\n                {\r\n                    \"careContextReference\": \"{{careContextReference ID}}\",\r\n                    \"hiStatus\": \"{{status}}\",\r\n                    \"description\": \"{{description}}\"\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://dev.abdm.gov.in/api/hiecm/data-flow/v3/health-information/notify",
                  "protocol": "https",
                  "host": [
                    "dev",
                    "abdm",
                    "gov",
                    "in"
                  ],
                  "path": [
                    "api",
                    "hiecm",
                    "data-flow",
                    "v3",
                    "health-information",
                    "notify"
                  ]
                }
              },
              "response": [
                {
                  "name": "Success",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "sbx",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"notification\": {\r\n        \"consentId\": \"97c3668e-49e3-4121-b2d3-1ca6d949cd8a\",\r\n        \"transactionId\": \"e3472dad-86c5-42df-9afd-d7c13df2a564\",\r\n        \"doneAt\": \"2023-05-24T10:51:08.374Z\",\r\n        \"notifier\": {\r\n            \"type\": \"HIU\",\r\n            \"id\": \"HIU-HOSPITAL\"\r\n        },\r\n        \"statusNotification\": {\r\n            \"sessionStatus\": \"RECEIVED\",\r\n            \"hipId\": \"HIP-HOSPITAL\",\r\n            \"statusResponses\": [\r\n                {\r\n                    \"careContextReference\": \"b18d2e56-c5d2-41d0-bbe9-32a8b7579f74\",\r\n                    \"hiStatus\": \"OK\",\r\n                    \"description\": \"test care context\"\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/data-flow/v3/health-information/notify",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "data-flow",
                        "v3",
                        "health-information",
                        "notify"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "Text",
                  "header": [],
                  "cookie": [],
                  "body": "Note: Status get updated in data_flow_request table in db as \"TRANSFERRED\""
                },
                {
                  "name": "Access Denied",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "REQUEST-ID",
                        "value": "{{$guid}}",
                        "type": "text"
                      },
                      {
                        "key": "TIMESTAMP",
                        "value": "{{$isoTimestamp}}",
                        "type": "text"
                      },
                      {
                        "key": "X-CM-ID",
                        "value": "sbx",
                        "type": "text",
                        "disabled": true
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"notification\": {\r\n        \"consentId\": \"97c3668e-49e3-4121-b2d3-1ca6d949cd8a\",\r\n        \"transactionId\": \"e3472dad-86c5-42df-9afd-d7c13df2a564\",\r\n        \"doneAt\": \"2023-05-24T10:51:08.374Z\",\r\n        \"notifier\": {\r\n            \"type\": \"HIU\",\r\n            \"id\": \"HIU-HOSPITAL\"\r\n        },\r\n        \"statusNotification\": {\r\n            \"sessionStatus\": \"FAILED\",\r\n            \"hipId\": \"HIP-HOSPITAL\",\r\n            \"statusResponses\": [\r\n                {\r\n                    \"careContextReference\": \"b18d2e56-c5d2-41d0-bbe9-32a8b7579f74\",\r\n                    \"hiStatus\": \"ERRORED\",\r\n                    \"description\": \"test care context\"\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "https://dev.abdm.gov.in/api/hiecm/data-flow/v3/health-information/notify",
                      "protocol": "https",
                      "host": [
                        "dev",
                        "abdm",
                        "gov",
                        "in"
                      ],
                      "path": [
                        "api",
                        "hiecm",
                        "data-flow",
                        "v3",
                        "health-information",
                        "notify"
                      ]
                    }
                  },
                  "status": "Forbidden",
                  "code": 403,
                  "_postman_previewlanguage": "plain",
                  "header": [
                    {
                      "key": "expires",
                      "value": "0"
                    },
                    {
                      "key": "x-envoy-upstream-service-time",
                      "value": "11"
                    },
                    {
                      "key": "access-control-allow-origin",
                      "value": ""
                    },
                    {
                      "key": "access-control-allow-methods",
                      "value": "POST"
                    },
                    {
                      "key": "x-frame-options",
                      "value": "DENY"
                    },
                    {
                      "key": "access-control-allow-headers",
                      "value": "authorization,Content-Type,SOAPAction,apikey,Internal-Key,TIMESTAMP,X-HIP-ID,REQUEST-ID,X-CM-ID,Authorization"
                    },
                    {
                      "key": "pragma",
                      "value": "no-cache"
                    },
                    {
                      "key": "activityid",
                      "value": "eec30217-83d1-48d8-bcc0-d11dd454c4ba"
                    },
                    {
                      "key": "access-control-expose-headers",
                      "value": ""
                    },
                    {
                      "key": "x-content-type-options",
                      "value": "nosniff"
                    },
                    {
                      "key": "x-xss-protection",
                      "value": "1 ; mode=block"
                    },
                    {
                      "key": "referrer-policy",
                      "value": "no-referrer"
                    },
                    {
                      "key": "content-type",
                      "value": "text/plain"
                    },
                    {
                      "key": "cache-control",
                      "value": "no-cache, no-store, max-age=0, must-revalidate"
                    },
                    {
                      "key": "date",
                      "value": "Thu, 09 May 2024 12:44:01 GMT"
                    },
                    {
                      "key": "Strict-Transport-Security",
                      "value": "max-age=16070400; includeSubDomains"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    }
                  ],
                  "cookie": [],
                  "body": "Access Denied"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}