"CLIENT_ID": “SBX_000499”,
While calling ‘v1.0/patients/profile/on-share’ after we receive callback by gateway (/v1.0/patients/profile/share) the api returns error
**{HIP_HOST}}/v1.0/patients/profile/share
**
Response: 202
{
"requestId": "bd9f3df7-bf84-48fc-bd9d-f996673edd85",
"timestamp": "2023-03-02T12:00:03.545090495",
"intent": {
"type": "Testing intent"
},
"location": {
"latitude": "25.20590247",
"longitude": "84.98542532"
},
"profile": {
"hipCode": "12345",
"patient": {
"healthId": "suma3333331668@sbx",
"healthIdNumber": "91-2188-5583-3081",
"name": "Vivek Kumar Ranjan",
"gender": "M",
"address": {
"line": "masked",
"district": "masked",
"state": "masked",
"pincode": "masked"
},
"yearOfBirth": 1990,
"dayOfBirth": 12,
"monthOfBirth": 8,
"identifiers": [
{
"type": "MOBILE",
"value": "masked"
},
{
"type": "NDHM_HEALTH_NUMBER",
"value": "91-2188-5583-3081"
}
]
}
}
}
{GATEWAY_HOST}/v1.0/patients/profile/on-share
Request:
{
"acknowledgement": {
"tokenNumber": "12345",
"healthId": "suma3333331668@sbx",
"status": "SUCCESS"
},
"resp": {
"requestId": "bd9f3df7-bf84-48fc-bd9d-f996673edd85"
},
"requestId": "d95ba243-4c12-46ee-9aa4-590807e4d140",
"error": {},
"timestamp": "2023-03-02T12:00:05.743246600"
}
Response:
"error": {
"code": 2500,
"message": "resp.requestId is null or empty"
}