2.2 KiB
2.2 KiB
Integrate P4, health lockers
The calls themselves: where they live, what they need in their headers, and one request written out in full.
Hosts
https://dev.abdm.gov.inABDM gateway, sandboxhttps://apis.abdm.gov.inABDM gateway, production
Endpoints
9 operations, grouped by the journey they belong to.
Other operations
| Method | Path | What it does |
|---|---|---|
GET |
/api/hiecm/gateway/v3/bridge-service/serviceId/{service-id} |
Fetch the details of a service ID. |
GET |
/api/hiecm/gateway/v3/bridge-services |
Fetch the service ids registered against a bridge. |
PATCH |
/api/hiecm/gateway/v3/bridge/url |
Update the bridge URL. |
GET |
/api/hiecm/gateway/v3/health-lockers |
Fetch the record with health locker enabled provider details. |
POST |
/api/hiecm/gateway/v3/sessions |
Generate access token. |
GET |
/api/hiecm/subscription-requests/v3/patients/lockers |
The API provides the list of health locker that the ABHA address is subscribed … |
GET |
/api/hiecm/subscription-requests/v3/patients/lockers/{locker-id} |
Get health locker settings of a patient by locker ID. |
GET |
/api/hiecm/subscription-requests/v3/patients/requests |
Get all the consent and subscription requests with given filters. |
POST |
/api/hiecm/subscription-requests/v3/setup-locker |
Setup health locker for a patient. |
Headers
| Header | What it is |
|---|---|
REQUEST-ID |
Unique UUID for track the end to end request transaction |
TIMESTAMP |
Actual time of the request was initiated, ISO 8601 represents date and time by starting with the year, follow… |
X-CM-ID |
Suffix of the consent manager to which the request was intended |
X-AUTH-TOKEN |
JWT Authentication token issued by ABDM after successful validation of username and password |
X-LOCKER-ID |
The locker id |
A request, in full
curl --request GET \
--url https://dev.abdm.gov.in/api/hiecm/gateway/v3/bridge-service/serviceId/{service-id} \
--header 'Authorization: Bearer <ACCESS_TOKEN_FROM_SESSIONS_CALL>' \
--header 'REQUEST-ID: 18235d89-cb13-479d-ad71-7a57d5f669a8' \
--header 'TIMESTAMP: 2022-10-06T15:10:00.587Z' \
--header 'X-CM-ID: sbx'