Receive the consent request for patient HIU
Hosted by the HIP/HIU, not by ABDM. ABDM calls this endpoint at the callback URL registered for your bridge, so the path below is relative to that URL.
Result of consent request creation for a patient. <b>consentRequest.ID</b> represents the consentrequest ID created by CM. The result must contain either <b>consentRequest</b> or the <b>error</b> caused. Reasons for error may be
<br><br> Invalid references (e.g patient ID, HIU ID), purpose, hiTypes, ranges, persmission Unique UUID for track the end to end request transaction Actual time of the request was initiated, ISO 8601 represents date and time by starting with the year, followed by the month, the day, the hour, the minutes, seconds and milliseconds Identifier of the health information user to which the request was intended The consent request id from a consent. Allows alpha numeric character and special characters like "^[a-zA-Z0-9_\-@,. ":/]{0,255}$" The error code and message, if any occurred. ABDM-1001 - No data found. May be returned either bare ( The appropriate error message The requestId that was passed. Allows alpha numeric character and special characters like ^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12} OK Bad Request. The request could not be processed because it was malformed or failed validation - a missing mandatory field, a value in the wrong format, or a header that did not match the body.Authorizations
Authorizationbearer tokenRequiredHeaders
REQUEST-IDstringRequiredTIMESTAMPstringRequiredX-HIU-IDstringRequiredBody
consentRequestobjectRequiredconsentRequest.idstringRequirederrorobjectRequirederror.codestringRequiredABDM-1001) or with a trailing ": " separator (ABDM-1001: ); match on the code itself and tolerate the separator.error.messagestringRequiredresponseobjectRequiredresponse.requestIdstringRequiredResponses
200400
Where this fits
hiecm-m3.yaml declares this callback at module level and names no call against it. Which call produces it is not documented, so this page does not say.