POST
/
registered_url_for_prescription_events
curl --request POST \
  --url https:///%7B{partner_host}%7D/registered_url_for_prescription_events \
  --header 'Content-Type: application/json' \
  --data '{
  "event": "prescription.created",
  "event_time": 1730189586,
  "timestamp": 1730189586,
  "client_id": "67978400352a61001d64e9fb",
  "business_id": "174159057718553",
  "data": {
    "prescription_id": "{{prescription_id}}",
    "doctor_id": "174159057723920",
    "partner_doctor_id": "test-doc-123",
    "patient_id": "174678912588458",
    "current_version": "2",
    "previous_version": "1",
    "prescription_url": "https://prescription-store-s3.eka.care/P-DW-sam123ple.pdf",
    "prescription_url_print": "https://prescription-store-s3.eka.care/P-DW-sam123ple-print.pdf",
    "partner_patient_id": "77237637763817-17",
    "clinic_id": "67978400352a61001d64e9fb",
    "partner_clinic_id": "CL04",
    "partner_appointment_id": "67ce9032abfba8001d17ddd2",
    "action": "created",
    "created_at": 1730189586,
    "modified_at": 1730189586,
    "partner_meta": {
      "key1": "{{value1}}"
    }
  }
}'

Body

application/json

The body is of type object.