-
v0.5/consents/hip/notify Request Body
{“notification”:{“consentDetail”:{“consentId”:“51e4e663-2262-4a33-8f48-cc20bddc9816”,“createdAt”:“2024-02-02T11:40:31.845967”,“purpose”:{“text”:“Self Requested”,“code”:“PATRQT”,“refUri”:null},“patient”:{“id”:“dhiraj18@sbx”},“consentManager”:{“id”:“sbx”},“hip”:{“id”:“IN1910000151”,“name”:null},“hiTypes”:[“DiagnosticReport”,“Prescription”,“ImmunizationRecord”,“DischargeSummary”,“OPConsultation”,“HealthDocumentRecord”,“WellnessRecord”],“permission”:{“accessMode”:“VIEW”,“dateRange”:{“from”:“2017-02-02T11:40:31.815561”,“to”:“2024-02-02T11:40:31.815598”},“dataEraseAt”:“2024-04-02T11:40:31.677835”,“frequency”:{“unit”:“HOUR”,“value”:1,“repeats”:0}},“careContexts”:[{“patientReference”:“dhiraj18@sbx”,“careContextReference”:“1703153374_dhiraj18@sbx”}]},“status”:“GRANTED”,“signature”:“Q8WROOC67kUHI08PVb1clkf5FnbwHQ3d6hnuSCIb0aou6YklkdyrYVLAB1LwM2S5lRffR9b39AOTydyRTtBwHY4lnCU6Wkr/nKEy2ZV/OTRuxQ333Gq/wFADSTbJEH9G8z0leVdnoSJdH/dp+e13vegOwDhqNECe5XY4BRY6BaVOCRIc57SfR4bFyNLlqt8KjGFgNDMDMwG5GEHxd7z3ERhbsSe74gxtJwk2dGLoV8X/gTIluhQxe01Z53ysooSraOl2d4F03b77qVCrijN0jgvT35WzhJOXlA4nSEL9htHM/WdkMyTc3+dhwLIuzTEbbVZ5GoR/u062Z6F7B8OGhg==”,“consentId”:“51e4e663-2262-4a33-8f48-cc20bddc9816”,“grantAcknowledgement”:false},“requestId”:“8197eec9-2610-47f0-b487-2d0c0a4a5d8e”,“timestamp”:“2024-02-02T11:40:31.918007”} -
v0.5/consents/hip/on-notify Request Body
{“requestId”:“6b6d5595-9c3f-4fda-9372-9af2e66dca88”,“timestamp”:“2024-02-02T11:40:32.451Z”,“acknowledgement”:{“status”:“OK”,“consentId”:“51e4e663-2262-4a33-8f48-cc20bddc9816”},“error”:null,“resp”:{“requestId”:“8197eec9-2610-47f0-b487-2d0c0a4a5d8e”}}
Response
{“error”:{“code”:“ABDM-1015”,“message”:“Invalid Response”}} httpcode:400