---
title: Write Event Property Data
slug: api/write-event-property-data
docTags: qTu4g35szZVJsjCIROvmT,fu_CgXzjBnePyWRJ1hjWo
createdAt: 2025-09-19T13:36:23.737Z
---

# Create manual entry

This code creates a manual data point on an existing event property ([my Swagger](https://historian.mycompany.com:18000/api/swagger/swagger/#/manual-entries/createManualEntry)).
The following script requires an EventUUID, EventConfigurationUUID and EventTypePropertyUUID to be filled in. The event UUID and event configuration UUID can be retrieved by [querying event data](docId\:kHpjujdTdqy0189xxHan3). The event type property UUID can be retrieved either programatically or via the webpage.

Note that the `Value` may need surrounding `"` depending on the datatype of the event property you're writing to:

1. for a numeric property: do **not** use surrounding `"` e.g. `"Value": 10.0`
2. for a string/boolean property: use surrounding `"` e.g. `"Value": "XYZ237"`

<font color="#6366F1">**POST** </font>[https://historian.mycompany.com:18000/api/manual-entries](https://historian.mycompany.com:18000/api/manual-entries)

```python
def create_manual_entry(value, event_configuration_uuid, event_type_property_uuid, event_uuid, completed):
    payload = {
        "Value": value,
        "EventConfigurationUUID": event_configuration_uuid,
        "EventTypePropertyUUID": event_type_property_uuid,
        "EventUUID": event_uuid,
        "Completed": completed,
        "Time": "2025-09-23T11:30:00.000Z"
    }
    resp = session.post(f"{BASE_URL}/manual-entries", json=payload, timeout=30)
    resp.raise_for_status()
    return resp.json()

new_manual_entry = create_manual_entry("MyManualValue", "my-event-configuration-uuid", "my-event-type-property-uuid", "my-event-uuid", True)
print(json.dumps(new_manual_entry, indent=2))
```

:::ExpandableHeading
### Sucessful response

```json
{
  "UUID": "f6d11318-9872-11f0-8732-ca980df018c1",
  "CreatedBy": "6c8ef372-5c29-11ef-9e88-0242ac12000a",
  "Created": {
    "UUID": "6c8ef372-5c29-11ef-9e88-0242ac12000a",
    "CreatedBy": null,
    "CreatedAt": "0001-01-01T00:00:00Z",
    "UpdatedBy": "6c8ef372-5c29-11ef-9e88-0242ac12000a",
    "UpdatedAt": "2024-12-12T22:52:30.304454Z",
    "Attributes": {
      "Description": "Default factry user",
      "Email": "",
      "ExperimentalFeatures": true,
      "FirstName": "",
      "LastName": "",
      "Locale": "en"
    },
    "Metadata": {},
    "Name": "factry",
    "Status": "Active",
    "IsSystem": false
  },
  "CreatedAt": "2025-09-23T11:46:38.307226Z",
  "UpdatedBy": "6c8ef372-5c29-11ef-9e88-0242ac12000a",
  "UpdatedAt": "2025-09-23T11:46:38.307226Z",
  "Attributes": {},
  "Metadata": {},
  "OrganizationUUID": "fbf184b2-5c29-11ef-8bf9-0242ac12000a",
  "OldValue": "MyOldValue",
  "Value": "MyManualValue",
  "Time": "2025-09-23T11:30:00Z",
  "Completed": true,
  "EventTypePropertyUUID": "90350376-72d9-11f0-84f9-2ab625e33347",
  "EventUUID": "a2a9c620-8e51-11f0-b62a-02cba4236809",
  "EventConfigurationUUID": "267d7cba-4647-11f0-9122-4672b84d43fa"
}

```
:::
