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wicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXNieF8wMDExODkiLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjcxLjc2In0.TFAOJGN9BwwAC9f8WPDGQNEpm6CA9LY89FGmj7pnvayBGVFUJg__nXmVNnJc-1TKfOOg1aLlevWNQKBVFxeS3Cn14gQHp5B4cx9DWBPmMpO-fw63pwCsyWdAV-vpBFIMj7BTF5ywMZVJITVgq_dUKyx42xl6hkECHejzJigJ2Mva0BeaVSC6ycUAWdvJVmbGLjM_aVOrwdSkluqT2QGrFpdr4-sb9Ia2XR3U1BvcVavDvXsseUT8fWVftfY0t_eKK-jgDU6iaz14DQR88nDB0pxZ-vbfGkwXVS4qFeYDaznzKPF6cl013Yhdcp8fYAIedZk0iOH2GEEUrLgqRRo-DA’
–header ‘Content-Type: application/json’
–data-raw ‘{
“authMode”: “MOBILE_OTP”,
“patientId”: “velukarthi@sbx”,
“purpose”: “CM_ACCESS”,
“requester”: {
“id”: “Plenome001”,
“type”: “PHR”
}
}’ this is the curl i have used and i am receiving the error
{
“error”: {
“code”: 1417,
“message”: “Requester id is not valid”
}
}
even i have also registered the service
{
“id”: “Plenome001”,
“name”: “plenome_Hospital”,
“types”: [
“HIP”,
“HIU”,
“PHR”
],
“endpoints”: {},
“active”: true
} kindly help me to rectify to solve this
@IntegrationSupport
@IntegrationSupport