The datetimeitem object representation and fields are described below.
datetimeitem was introduced in API version V1
datetimeitem has not been marked for deprecation
Date time represented as ISO 8601 with milliseconds
{
"entity" : {
"urn" : "4fdf15cf-cfa3-4b43-9e92-57dfbbc0366d",
"url" : "/n/v1/entity/4fdf15cf-cfa3-4b43-9e92-57dfbbc0366d",
"texts" : [ ],
"doubles" : [ ],
"dateTimes" : [ ],
"booleans" : [ ],
"images" : [ ],
"templates" : [ ],
"markdowns" : [ ],
"latLongs" : [ ],
"longs" : [ ]
},
"name" : "birthday",
"sortOrder" : 0,
"value" : "2025-07-14T09:00:00.000"
}{
"urn" : "5841a247-9ecc-4f15-921a-7c1a2573cb2b",
"url" : "/n/v1/datetimeitem/5841a247-9ecc-4f15-921a-7c1a2573cb2b",
"entity" : {
"urn" : "4fdf15cf-cfa3-4b43-9e92-57dfbbc0366d",
"url" : "/n/v1/entity/4fdf15cf-cfa3-4b43-9e92-57dfbbc0366d",
"texts" : [ ],
"doubles" : [ ],
"dateTimes" : [ ],
"booleans" : [ ],
"images" : [ ],
"templates" : [ ],
"markdowns" : [ ],
"latLongs" : [ ],
"longs" : [ ]
},
"name" : "birthday",
"sortOrder" : 0,
"value" : "2025-07-14T09:00:00.000"
}| Name | Type | Description | Constraints |
|---|---|---|---|
| urn | String representation of a Unique Resource Name. Typically a UUID with 36 characters. | Minimum length: 36. Maximum length: 36. | |
| url | URL represented as a string | ||
| entity | entity | The entity associated with this date time item | Required on create. |
| name | Field name, typically used in content items. Typically use conventions around html ID expectations. | Name for the field e.g. meta_title. Fields can be arbitrary. Suggest using JS like field names | Required on create. Maximum length: 1024. |
| sortOrder | Signed int32 | Field sorting order for field ordering | Required on create. |
| value | String literal | A date time value expressed in UTC formatted as ISO 8601 date time with milliseconds | Required on create. |