Skip to main content
POST
/
registered_url_for_ipd_admissions_events
IPD Admission
curl --request POST \
  --url https://{partner_host}/registered_url_for_ipd_admissions_events \
  --header 'Content-Type: application/json' \
  --data @- <<EOF
{
  "service": "ipd",
  "event": "ipd_admissions.created",
  "event_time": 1782804321,
  "timestamp": 1782804321,
  "business_id": "7175620245483777",
  "data": {
    "docid": "175620245502842",
    "facilityid": "68ad85d786ddd9001d409348",
    "id": "a9f54d1a-4080-4eec-9db1-ccbfc1771a5d",
    "ipid": "IPD84",
    "pid": "177805765470391",
    "stage": "AD",
    "status": "BED_ASSIGNED",
    "actor_oid": "175620245502842",
    "admission_date": "2026-06-30 07:24:21.985000+00:00",
    "attendee": {
      "id": "attendee-id",
      "name": "Sachin New",
      "phone": {
        "c": "+91",
        "n": "8765434565"
      },
      "relation": {
        "id": "sm-1034094231",
        "label": "Father"
      }
    },
    "bed": "6a42477e282b241a943db696",
    "bid": "7175620245483777",
    "category": {
      "id": "68e7622e24b43838dd2e7af2",
      "name": "VIP"
    },
    "created_at": "2026-06-30 07:25:18.779000+00:00",
    "custom_attributes": {},
    "date": "2026-06-30 07:24:21.985000+00:00",
    "department": {
      "id": "surgery",
      "name": "Surgery"
    },
    "doc": {
      "id": "175620245502842",
      "name": "Imtiyaz's m,"
    },
    "duration": {
      "unit": "days",
      "value": 5
    },
    "facility": {
      "id": "68ad85d786ddd9001d409348",
      "name": "Imtiyaz"
    },
    "insurance": {
      "coverage_type": [
        "ipd"
      ],
      "payment_type": "cash",
      "pre_approved": false,
      "pre_approved_amount": 0,
      "type": "None"
    },
    "medico_legal_case": false,
    "patient": {
      "formData": [],
      "id": "177805765470391",
      "poid": "",
      "profile": {
        "personal": {
          "age": {
            "dob": "2004-05-06T00:00:00.000Z"
          },
          "gender": "Male",
          "name": "sachin Jaiswal",
          "phone": {
            "c": "+91",
            "n": "9131157898"
          }
        }
      },
      "uuid": "CS-7175620245483777-177805765470391"
    },
    "procedures": [],
    "rateplan": {
      "id": "698b01130bc0d53ade702618",
      "inclusions": [
        {
          "id": "698b0147996ddf4a5dff7790",
          "name": "Operation Charge, OT Charges, Nursing Charges, ICU Charges, Room Rent, Misc.",
          "rate": 50000
        }
      ],
      "name": "Full Treatment Package -  ₹50000"
    },
    "refer": {
      "id": "",
      "name": ""
    },
    "totalbilled": 0,
    "totalbilled_updated_at": "2026-06-30 07:25:18.779000+00:00",
    "totalpaid": 0,
    "totalpaid_updated_at": "2026-06-30 07:25:18.779000+00:00",
    "updated_at": "2026-06-30 07:25:18.779000+00:00"
  },
  "transaction_id": "a9f54d1a-4080-4eec-9db1-ccbfc1771a5d",
  "client_id": "EC_1777984421469"
}
EOF

Body

application/json
service
string
required

Type of service

Example:

"ipd"

event
enum<string>
required

Type of event

Available options:
ipd_admissions.created,
ipd_admissions.updated
Example:

"ipd_admissions.created"

event_time
integer
required

Event occurred timestamp

Example:

1782804321

timestamp
integer
required

Timestamp of the event

Example:

1782804321

business_id
string
required

Business ID for the admission

Example:

"7175620245483777"

data
object
required
transaction_id
string

Unique transaction identifier for the event

Example:

"a9f54d1a-4080-4eec-9db1-ccbfc1771a5d"

client_id
string

Client ID for the admission

Example:

"EC_1777984421469"

Response

200 - undefined