Write Event Property Data
Create manual entry
This code creates a manual data point on an existing event property (my Swagger). 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. The event type property UUID can be retrieved either programmatically or via the web interface.
The type of Value must match the datatype of the event property you're writing to, or the request is rejected:
- for a numeric property: a number, without surrounding " e.g. "Value": 10.0
- for a boolean property: a boolean, without surrounding " e.g. "Value": true (True in Python)
- for a string property: a string, with surrounding " e.g. "Value": "XYZ237"
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))