HI,
add-contexts
URL : https://dev.abdm.gov.in/gateway/v0.5/links/link/add-contexts
Payload :
{“requestId”:“6266b5e1-c609-4b4e-8ed4-af1f361f8552”,“timestamp”:“2023-02-27T11:21:18.348Z”,“link”:{“accessToken”:“eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJSdWRyYW5zaC5zaGl2ZGFzUyIsInJlcXVlc3RlclR5cGUiOiJISVAiLCJyZXF1ZXN0ZXJJZCI6IkRLREhJUCIsInBhdGllbnRJZCI6IlJ1ZHJhbnNoLnNoaXZkYXNTIiwic2Vzc2lvbklkIjoiOTQ1YTNmZDUtYWRlMC00MDZkLWI5ZmYtZmNlMmJiZDBhMzE1IiwiZXhwIjoxNjc3NTgxNjMxLCJpYXQiOjE2Nzc0OTUyMzF9.D88F_H97QkXf9p9VRXYc9T9rV-EgRJHWJ5aIvSyXRhijSt2UpvDEVIU7D3RSjE9c-FUDMMupvSm6KSIuj-a9Oy7d2iAo7i92CXz21QuXYtQYSD_nO_qbSfksDWlWaTbQa1-NO9hrMyj8aKSwpO8RIwlBaF5T9iolDqor21T5Zfgl_TpIhON1W49qNV-6QnRYp_efIkjGDfDKk_wqTBQVFhfAVR3rRt8LhtW7l8QcVMQ3-eAqfAV_1ZNAJmg6s39MmY54JdAikIYp6GnDVqcl4DwcVX07zfOdAo3uesKQufzOnYqc_57nXUXqgB07ESeBV6MtEHD_JCD9coSCq_AAig”,“patient”:{“referenceNumber”:“TMH-PUID-103”,“display”:“string”,“careContexts”:{“referenceNumber”:“VBA-PUID-004”,“display”:“string”}}}}
on-add-contexts
v0.5/links/link/on-add-contexts
{“requestId”:“7f0602a8-4a16-4342-8b40-a25fc0e5510b”,“error”:{“code”:2500,“message”:“Cannot deserialize instance of java.util.ArrayList<in.projecteka.consentmanager.clients.model.CareContextRepresentation>
out of START_OBJECT token\n at [Source: (io.netty.buffer.ByteBufInputStream); line: 1, column: 811] (through reference chain: in.projecteka.consentmanager.link.link.model.LinkRequest[“link”]->in.projecteka.consentmanager.link.link.model.Link[“patient”]->in.projecteka.consentmanager.clients.model.PatientRepresentation[“careContexts”])”},“timestamp”:[2023,2,27,11,21,19,408216000],“resp”:{“requestId”:“6266b5e1-c609-4b4e-8ed4-af1f361f8552”}}