Hai @Gayatrij @karthik @IntegrationSupport Could you please help me for bundle preparation , For data transfer I am getting 202 Accepted but data is not displaying . I am using sample priscription bundle provided above
correlation-id : ae61dbcd-bb5a-422e-8823-71869445e898
My payload for datapush url : -
var myHeaders = new Headers();
myHeaders.append(“Authorization”, “Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2ODMyODc0ODIsImlhdCI6MTY4MzI4Njg4MiwianRpIjoiNzJkYTZjYzctMTA0MS00OWVhLWFkOTktYzJhYTQwMGE2OGZkIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJjN2EzMGM1ZC0xYjExLTQ1MmQtOWEwYy1jN2NiM2VjYTEzMjgiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAwMzg3Iiwic2Vzc2lvbl9zdGF0ZSI6ImNkZjJmZGJiLWM3MjktNDE2Yi05MDQzLTRmMGNmNjY0NjlmMiIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImNtIiwiaGVhbHRoSWQiLCJwaHIiLCJPSURDIiwiZ2F0ZXdheSIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDAzODciOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY3LjIwNyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiY2xpZW50SWQiOiJTQlhfMDAwMzg3IiwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXNieF8wMDAzODciLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjY3LjIwNyJ9.WWaazDU6-SnJbSQMZUQ8QIcltx8wU6Y2xvOY4YFJAkUFz1L731qV2UIvHBHrJG6htCLf6IyA5cpyyU-KAb6a1K1_9Nh00cwlV8BJB6uNVQz2hwxweDyyPnz9reQrxgsk2duUOu_7jCSI-His5vs81Yd-EL7k_1gvj_5RSA92CsuWshkS4lYHigp-sc1zJZd0oatO7QOqtgUk5d3uOnhLM6m6enVyWh9EzUuQSkLTu7Vh2wKE52bXZFELOuuxPIjddRbrqTjzO7B02wHGup8X-sZI2WkL5avOkSqmrSp64WVPHPhVT_87pq9aP8q1-ATH3rT_wsiiD6x9nBlxXMsrFg”);
myHeaders.append(“X-CM-ID”, “sbx”);
myHeaders.append(“Content-Type”, “application/json”);
myHeaders.append(“Cookie”, “TS011c04bd=01445fed04c299d9999536c9c9f8966ecfd372748ee5c52c22eebf71ba50eb92ce49fbe7f959119086acb6205a6fe66f5419581ff4”);
var raw = JSON.stringify({
“pageNumber”: 1,
“pageCount”: 1,
“transactionId”: “57a15180-7343-4b7f-97cc-7210a4c1fbee”,
“entries”: [
{
“content”: “YlK1UbkgfYIVEQkA3oBPZUzqJMAFNcmL1Vlx/J2c2HNYlClbTQ8FJ+1LyFys89TO2ApZDaj2XLeiejFg6PrdnD3yULgVI/tDLAEWGCCNseMkbIM+LMoCRxY8svFyXgXalpZBhTMAf8H2Y2+VQmP9/Q57BcJh577yQ7HrjENO/3ei8ORf3FXkypDj81pZb+mcRH1h9sPiKOlHPWm+s7d11Omp+WC2xotRN3+mPGcBS0X7dM/H7qzoYkJ/2ieZT8LFpZPGidL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KsIS6IK/BxyaxlyeWZWTRRbwfQMHgrpSY9Kge0mMnzIXw7UCq9X1GMAtW7gvg4GHLZ5LzP/urZOGSIPCTIv2y6o9GJeFZVllupL/4ZNQwn0UoKaS4InGpmlTHnPl6KLPfIXuV30o12HFdWbzSx6g79sgkh+AZayEp+tvZEZLtW2VPKj9gPa3jdxnyUF2/jqFXJH0h5JISOZB7IoExoEUX+YpGzQEIwmyycI2MlPOzApOoC52tQaGuf0V/eFOOkC2T8OWsUNr1ksC6PtY7zUA7L/Z7gr6aTZrWjTXczESWMZHopdPDC5KPZsYJD6npWiVJI49hMG2sBhE6VWU/XdGUW3+P8rJHNPg96WJ+VK1L9WwDB1F8sgk04v91V5RcBFjM9+CdWQ/YF6l2BTayF6OCcMfBpgokHo/rWUTXKWskJFoQojuoFql+X1nRwPCpp9MzCWDidBpRSs+5FCyxIuOtQ9kdRNHb6vHILPO9aa65KnfjK1cqC/dYPeHBjw82DjiK5hvDrtzlDqq5HBgCvSt/ejf5LLwq0yF0hu/hrPuV/IQjxYvzcKmIK12UHJNCd6E6/XDSX3ZKRjsq1+OpZ9yi/Gxrh0G2plff7aKbeCvG4eZVJvv1kZMg4r”,
“media”: “application/fhir+json”,
“checksum”: “string”,
“careContextReference”: “464712”
}
],
“keyMaterial”: {
“cryptoAlg”: “ECDH”,
“curve”: “Curve25519”,
“dhPublicKey”: {
“expiry”: “2023-07-21T05:59:31.457Z”,
“parameters”: “Curve25519/32byte public key”,
“keyValue”: “MIIBMTCB6gYHKoZIzj0CATCB3gIBATArBgcqhkjOPQEBAiB/////////////////////////////////////////7TBEBCAqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqYSRShRAQge0Je0Je0Je0Je0Je0Je0Je0Je0Je0Je0JgtenHcQyGQEQQQqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq0kWiCuGaG4oIa04B7dLHdI0UySPU1+bXxhsinpxaJ+ztPZAiAQAAAAAAAAAAAAAAAAAAAAFN753qL3nNZYEmMaXPXT7QIBCANCAAQR73UfDb2DpxWiAlRi5LkqbUIA7koLk/ncOWRx3er2q3MvHPfuN3CP9/fanB0I1S1Vezu2dxOe5e5NORjVJ/lg”
},
“nonce”: “93B24Po+4VOIrmuw9Ki64ZdTFU/wh+Ii3yFU1kNvP1c=”
}
});
var requestOptions = {
method: ‘POST’,
headers: myHeaders,
body: raw,
redirect: ‘follow’
};
fetch(“https://dev.abdm.gov.in/api-hiu/data/notification”, requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log(‘error’, error));