Skip to main content
PUT
/
api
/
2.0
/
published_events
/
{event_id}
/
Update a Published Event
curl --request PUT \
  --url https://sandbox.elationemr.com/api/2.0/published_events/{event_id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "processed_date": "2023-11-07T05:31:56Z",
  "error_content": "<string>",
  "status_code": -1
}
'
{
  "processed_date": "2023-11-07T05:31:56Z",
  "error_content": "<string>",
  "event_id": 123,
  "event_type": "<string>",
  "id": 123,
  "resource": "<string>",
  "resource_id": 123,
  "status_code": -1,
  "target": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

event_id
integer
required

The ID of the event to retrieve

Body

application/json
processed_date
string<date-time>
required
error_content
string | null
status_code
integer | null
Required range: -2147483648 <= x <= 2147483647

Response

200 - application/json
processed_date
string<date-time>
required
error_content
string | null
event_id
integer
read-only
event_type
string
read-only
id
integer
read-only
resource
string
read-only
resource_id
integer
read-only
status_code
integer | null
Required range: -2147483648 <= x <= 2147483647
target
string
read-only