I got 202 Accepted for “https://dev.abdm.gov.in/gateway/v0.5/links/link/add-contexts” as show below but in PHR APP not showing added care-contexts list . @IntegrationSupport
Client ID: SBX_000387
My payload…
var myHeaders = new Headers();
myHeaders.append(“accept”, “/”);
myHeaders.append(“X-CM-ID”, “sbx”);
myHeaders.append(“Content-Type”, “application/json”);
myHeaders.append(“Authorization”, “bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2ODA2OTQ4MTIsImlhdCI6MTY4MDY5NDIxMiwianRpIjoiN2U5ZWZjZmYtMjFkNS00ZTc3LThhZDEtMDZlMGZlMjM2NmMwIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJjN2EzMGM1ZC0xYjExLTQ1MmQtOWEwYy1jN2NiM2VjYTEzMjgiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAwMzg3Iiwic2Vzc2lvbl9zdGF0ZSI6IjRiYzVhYjU0LTRmNWYtNDZkMS1hZDFlLTBkMGU3OGUxYThkYSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImNtIiwiaGVhbHRoSWQiLCJwaHIiLCJPSURDIiwiZ2F0ZXdheSIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDAzODciOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY4LjIwMyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiY2xpZW50SWQiOiJTQlhfMDAwMzg3IiwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXNieF8wMDAzODciLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjY4LjIwMyJ9.L23YSt_DHJNuHfY2DS9ziptqQJhLGSdce6cBIjrplJTcsa3vSw9X9Zw1kn1hVuXjKxkVtT8DxNUtm9L4dKU3VHOaT89789ukA73DPhQysYFhmyrVHL60nlDQ02VQlL1GVqn9UPxo6YhpH5ALlT46Hscw-ZIV_l060Oz5Bt_k96eChDP2aODJEmUosMLqTEmk_N7tiRqPaqu56Xl4FaM3tJdFQBRLI406x70VPGx9ugX91X7wgDhhhU3Y1GdXVFauV5klIvhhhHTXI8ugHU2Lii_abE1JO2s9mxBMipIuheqj3JeiKdrDPUTaupgxl0TejpRDnNM26t7Qsh8AD-rAQg”);
myHeaders.append(“Cookie”, “TS011c04bd=01445fed04dffaad319f849d58409380ba29420469545b04469fc7e48ec6e5675b1f99b724875c168999f05681f1dd0a9789a0ec02”);
var raw = JSON.stringify({
“requestId”: “263bc80c-5181-43af-94d0-17e98a1a230b”,
“timestamp”: “2023-04-05T11:30:52.251000”,
“link”: {
“accessToken”: “eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJzdW1hMzMzMzMzMDc3MSIsInJlcXVlc3RlclR5cGUiOiJISVAiLCJyZXF1ZXN0ZXJJZCI6ImVWYWlkeWFfSElQXzAwMSIsInBhdGllbnRJZCI6InN1bWEzMzMzMzMwNzcxIiwic2Vzc2lvbklkIjoiOWI3ZjJkODQtZGQ5Ny00ZDA0LWFhMzktMzM3NjEwODQwMTE4IiwiZXhwIjoxNjgwNzgwNTAzLCJpYXQiOjE2ODA2OTQxMDN9.FiFJAvLHkr9eQhCEOx099RQjcObRHsC2ud1fCZXdLGMGuvL2k3gh8lWqdQx-1HUtpGWetqET7-3PAds-aO_K55MOCuLNMUIQQqBlpXBKlcE4s4mGJ2pxvccaHB0K837YEw-I-eJeORpg2hrGVARFCnX9iGlRQb1CWKGBwr3JclipXOjqotdJZ89D5lWCqjzdtEFtX7pykXrg-UWWUps5T98A24SD1FmuRlDllyPP03usRTwlsBrD33cmGG_skcWjLaa1ruPQX4bIUhPzxF3RLyZLWFAhn0P8LAwrdXZFOYF7KnYwGVMhgkx9IDKNg-JJpVv0gBnbsq-DMrmMW2usXQ”,
“patient”: {
“referenceNumber”: “suma3333330771”,
“display”: “Chettukindi Sharanya”,
“careContexts”: [
{
“referenceNumber”: “4643456”,
“display”: “05-APR-OPD”
}
]
}
}
});
GATEWAY RESPONSES :
Response Received for /links/link/on-add-contexts:=>{“requestId”:“073e2f26-04e7-4c97-aff8-f4b3ac2de131”,“timestamp”:“2023-04-05T12:31:15.944254978”,“acknowledgement”:{“status”:“SUCCESS”},“error”:null,“resp”:{“requestId”:“f39882e2-9978-4115-9057-564d87f35fd6”}}