UserAction – Dosage Update
Home ยป RxWare Developer Site ยป Webhooks ยป UserAction – Dosage Update
ENDPOINT: POST /webhook/user-enrollment
Once the patient’s dosage is updated on the mobile web, RxWare will send the callback to the partner notifying you of the update.
Field | Description | Format | Example | Required |
---|---|---|---|---|
event.message | String, 100 max | patient dosing update | โ Yes | |
event.supportProgramId | String, 100 max | b1mTs000g35ha2pt | โ Yes | |
event.sendDate | Send date in UTC | Datetime {yyyy-mm-ddT hh:mm:ss.sssZ} | 2021-08-23T06:25:00+00:00 | โ Yes |
event.status | String, 100 max | success | โ Yes | |
event.additionalData | Can take in multiple objects | Array | No | |
event.additionalData.[].key | String, 100 max | dosage | No | |
event.additionalData.[].value | String, 100 max | 4.4 | No | |
event.data.key | String, 100 max | userAction | โ Yes | |
event.data.value | String, 100 max | dosingUpdate | โ Yes | |
event.patientId | RxWare patient ID | String, 100 max | ha61b9db97350d1 | โ Yes |
event.patient.phoneNumber | Patient's mobile phone number | E.164 format | +12565551212 | โ Yes |
event.patient.externalIds | Can take in multiple objects | Array | โ Yes | |
event.patient.externalIds.source | String, max 100 | Partner | โ Yes | |
event.patient.externalIds.sourceId | Partner patient Id(s) | String, max 100 | Id_of_patient_in_partner_system | โ Yes |
event.sourceName | String, max 100 | helparound | โ Yes | |
event.eventName | String, max 100 | HelpAround.Patient.UserAction | โ Yes |
Sample Request
{
"event": {
"message": "patient dosing update",
"supportProgramId": "SupportProgramId",
"sendDate": "2023-02-28T11:07:47.000Z",
"data": {
"key": "userAction",
"value": "dosingUpdate"
},
"status": "success",
"additionalData": [
{
"key": "dosage",
"value": "4.4"
},
{
"key": "date",
"value": "2023-03-01T00:00:00.000Z"
},
{
"key": "totalOnHand",
"value": "123456"
}
],
"patient": {
"id": "ha1234567890987",
"phoneNumber": "+12099999999",
"externalIds": [
{
"source": "partner",
"sourceId": "Id_of_patient_in_partner_system"
}
]
}
},
"sourceName": "helparound",
"eventName": "HelpAround.Patient.UserAction"
}