---
title: "IPD Admission Estimate"
method: POST
path: "/registered_url_for_ipd_admissions_estimates_events"
tags: ["IPD Webhooks"]
---

# IPD Admission Estimate

`POST /registered_url_for_ipd_admissions_estimates_events`

When a cost estimate line item is created or updated against an IPD admission, a webhook event is sent to registered webhooks with the estimate details, including the service, rate, quantity and any discount applied.

**Field Definitions**

• **service**: string - The type of service. For IPD events, this will be `ipd`.

• **event**: string - The type of event. This will be `ipd_admissions_estimates.created` or `ipd_admissions_estimates.updated`.

• **event_time**: integer - Event occurrence timestamp (epoch seconds).

• **transaction_id**: string - Unique transaction identifier for the event.

• **timestamp**: integer - Timestamp of the event (epoch seconds).

• **business_id**: string - The eka ID of the business.

• **client_id**: string - Client ID associated with the event.

• **data**: object - Contains details about the estimate line item.

• **name** / **service_id**: The estimate item name and the service identifier it refers to.

• **rate** / **quantity** / **discount**: Pricing details for the estimate line item.

**Example Webhook Request**

**Endpoint:** [https://your-registered-webhook-url.com](https://your-registered-webhook-url.com)

**Method:** POST

## Request body

- object
  - `service` string, required — Type of service
  - `event` 'ipd_admissions_estimates.created' | 'ipd_admissions_estimates.updated', required — Type of event
  - `event_time` integer, required — Event occurred timestamp
  - `transaction_id` string — Unique transaction identifier for the event
  - `timestamp` integer, required — Timestamp of the event
  - `business_id` string, required — Business ID for the admission
  - `client_id` string — Client ID for the admission
  - `data` object, required
    - `added_by` string — Identifier of the actor who added the estimate
    - `created_at` string — Creation timestamp
    - `date` string — Estimate date
    - `discount` object — Discount applied to the estimate line item
      - `category` string — Discount category
      - `value` number — Discount value
    - `id` string, required — Unique identifier for the estimate
    - `name` string, required — Name of the estimate line item
    - `quantity` integer — Quantity for the estimate line item
    - `rate` number — Rate for the estimate line item
    - `remarks` string — Additional remarks
    - `service_id` string, required — Identifier of the service the estimate refers to
    - `updated_at` string — Last update timestamp

## Response `200`

---

[API](https://skmtc.dev/eka/apis/eka-developer-apis.md) · [All operations](https://skmtc.dev/eka/apis/eka-developer-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/eka/eka-developer-apis/revisions/9ea23456f722/schema)
