Get all the consent and subscription requests with given filters
Retrieve all consent and subscription requests based on specified filters.
By invoking this API, users can obtain a comprehensive list of requests that match the given criteria, including details about their status, scope, and any associated conditions. This functionality is essential for managing and tracking consent and subscription requests efficiently, ensuring that users have access to accurate and up-to-date information. The access token from POST /api/hiecm/gateway/v3/sessions, sent with a The consent limit - to limit records being fetched The consent offset - to skip the records before fetching the first record The subscription limit - to limit records being fetched The subscription offset - to skip the records before fetching the first record The status of the subscription and consent Unique UUID for tracking 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 Suffix of the consent manager to which the request was intended JWT Authentication token which was issued by ABDM after successful validation of username and password OK One of One of One of The reference URL.Allows alpha numeric character and special characters like "^[-a-zA-Z0-9@:%._\\+~#=]{1,256}\\.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_\\+.~#?&//=]*)$" The abha address of the patient Identifier and name of the health information provider. The service ID of the health information provider. Allows alpha numeric and _ or - in middle The name of the health information provider. Allows alphanumeric characters and special characters like "^[a-zA-Z0-9_\\-@,. \":]{0,255}$" The type of the health information provider. Allows alphanumeric characters and special characters like "^[a-zA-Z0-9_\\-@,. \":]{0,255}$" The service ID of the health information user. Allows alpha numeric and _ or - in middle The name of the health information user. Allows alphanumeric characters and special characters like "^[a-zA-Z0-9_\\-@,. \":]{0,255}$" The type of the health information user. Allows alphanumeric characters and special characters like "^[a-zA-Z0-9_\\-@,. \":]{0,255}$" The name of the requester Types of health information document. List of care contexts linked at the HIP end for the identified patient. A patient identifier with which patient is registered in the facility/hospital An identifier of patient's care context created in HIP. A care context is a group of patient's health data (Not the actual health data) One of The date at which the consent expire. Should be UTC date time in ISO format The abha address of the patient. Must start with Alphanumeric . and _ in the middle and must be ending with @abdm or @sbx One of One of The reference URL. Allows alpha numeric character and special characters like "^[-a-zA-Z0-9@:%._\\+~#=]{1,256}\\.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_\\+.~#?&//=]*)$" The service ID of the health information user. Must be Alpha numeric and _ or - in middle The name of the health information user. Allows alphanumeric characters and special characters like _\-@,. ": The type of the health information user. Allows alphanumeric characters and special characters like _\-@,. ": The service ID of the health information provider. Must be Alpha numeric and _ or - in middle The name of the health information provider. Allows alphanumeric characters and special characters like _\-@,. ": The type of the health information provider. Allows alphanumeric characters and special characters like _\-@,. ": UTC date time in ISO format UTC date time in ISO format One of One of Bad Request The error code and message, if any occurred. ABDM-1066 - Invalid JWT token. May be returned either bare or with a trailing ": " separator; match on the code itself and tolerate the separator. Unauthorized 900901 - Invalid Credentials. May be returned either bare or with a trailing ": " separator; match on the code itself and tolerate the separator. Forbidden server cannot find the requested resource Internal Server Error The error code and message, if any occurred. Internal Server Error ABDM-1024 - Dependent service unavailable. May be returned either bare (Authorizations
Authorizationbearer tokenRequiredBearer prefix.Query parameters
consentLimitstringRequiredconsentOffsetstringRequiredsubscriptionLimitstringRequiredsubscriptionOffsetstringRequiredstatusstringRequiredHeaders
REQUEST-IDstringRequiredTIMESTAMPstringRequiredX-CM-IDstringRequiredX-AUTH-TOKENstringRequiredResponses
200consentsobjectconsents.sizeintegerconsents.limitintegerconsents.offsetintegerconsents.requestsobject[]consents.requests.requestIdstringconsents.requests.createdAtstringconsents.requests.lastUpdatedstringconsents.requests.statusstringREQUESTEDEXPIREDDENIEDGRANTEDREVOKEDconsents.requests.purposeobjectconsents.requests.purpose.textstringRequiredCare ManagementBreak the GlassPublic HealthHealthcare PaymentDisease Specific Healthcare ResearchSelf Requestedconsents.requests.purpose.codestringRequiredCAREMGTBTGPUBHLTHHPAYMTDSRCHPATRQTconsents.requests.purpose.refUristringRequiredconsents.requests.patientobjectconsents.requests.patient.idstringRequiredconsents.requests.hipobjectconsents.requests.hip.idstringRequiredconsents.requests.hip.namestringRequiredconsents.requests.hip.typestringconsents.requests.hiuobjectconsents.requests.hiu.idstringRequiredconsents.requests.hiu.namestringRequiredconsents.requests.hiu.typestringconsents.requests.requesterobjectconsents.requests.requester.namestringRequiredconsents.requests.requester.identifierobjectRequiredconsents.requests.hiTypesstring[]consents.requests.careContextsobject[]consents.requests.careContexts.patientReferencestringRequiredconsents.requests.careContexts.careContextReferencestringRequiredconsents.requests.permissionobjectconsents.requests.permission.accessModestringRequiredVIEWSTORESTREAMQUERYconsents.requests.permission.dateRangeobjectRequiredconsents.requests.permission.dataEraseAtstringRequiredconsents.requests.permission.frequencyobjectRequiredsubscriptionsobjectsubscriptions.limitintegerRequiredsubscriptions.sizeintegerRequiredsubscriptions.offsetintegerRequiredsubscriptions.requestsobject[]Requiredsubscriptions.requests.idstringsubscriptions.requests.requestIdstringRequiredsubscriptions.requests.subscriptionIdstringsubscriptions.requests.patientobjectsubscriptions.requests.patient.idstringRequiredsubscriptions.requests.purposeobjectsubscriptions.requests.purpose.textstringRequiredCare ManagementBreak the GlassPublic HealthHealthcare PaymentDisease Specific Healthcare ResearchSelf Requestedsubscriptions.requests.purpose.codestringRequiredCAREMGTBTGPUBHLTHHPAYMTDSRCHPATRQTsubscriptions.requests.purpose.refUristringRequiredsubscriptions.requests.hiuobjectsubscriptions.requests.hiu.idstringRequiredsubscriptions.requests.hiu.namestringsubscriptions.requests.hiu.typestringsubscriptions.requests.hipsobject[]subscriptions.requests.hips.idstringRequiredsubscriptions.requests.hips.namestringsubscriptions.requests.hips.typestringsubscriptions.requests.categoriesstring[]subscriptions.requests.periodobjectsubscriptions.requests.period.fromstringRequiredsubscriptions.requests.period.tostringRequiredsubscriptions.requests.createdAtstringsubscriptions.requests.lastUpdatedstringsubscriptions.requests.statusstringREQUESTEDGRANTEDDENIEDEXPIREDREVOKEDsubscriptions.requests.requestTypestringHEALTH_LOCKERHIUHIP400errorobjecterror.codestringRequirederror.messagestringRequired401codestringmessagestringdescriptionstring403404500timestampnumberRequiredpathstringRequiredstatusintegerRequirederrorstringRequiredrequestIdstringRequired503codestringRequiredABDM-1024) or with a trailing ": " separator (ABDM-1024: ); match on the code itself and tolerate the separator.messagestringRequired