diff --git a/readme.md b/readme.md index aa95d8c..ca66d91 100644 --- a/readme.md +++ b/readme.md @@ -1109,7 +1109,7 @@ An update or event related to a ShareDocumentsRequest |Name|Type|Required|Description| |----|----|--------|-----------| |eventType|[ShareDocumentsRequestEventType](#sharedocumentsrequesteventsharedocumentsrequesteventtype)|yes|The type of event that has occurred| -|time|ZonedDateTime|yes|When the event occurred| +|timestamp|ZonedDateTime|yes|When the event occurred| |documentIds|List|yes|The IDs of the documents related to this specific event| ### ShareDocumentsRequestEvent.ShareDocumentsRequestEventType diff --git a/src/main/java/no/digipost/api/datatypes/types/share/ShareDocumentsRequestEvent.java b/src/main/java/no/digipost/api/datatypes/types/share/ShareDocumentsRequestEvent.java index 9173146..3706a86 100644 --- a/src/main/java/no/digipost/api/datatypes/types/share/ShareDocumentsRequestEvent.java +++ b/src/main/java/no/digipost/api/datatypes/types/share/ShareDocumentsRequestEvent.java @@ -30,7 +30,7 @@ public class ShareDocumentsRequestEvent implements DataType { @XmlElement(name = "timestamp", required = true) @Description("When the event occurred") - ZonedDateTime time; + ZonedDateTime timestamp; @XmlElement(name = "document-ids", required = true) @Description("The IDs of the documents related to this specific event")