Publish timerange

This endpoint lets you publish entities that were modified or created within a specific period.

RequestResponse

POST https://<hostname>/api/publish/entities/timerange

Example request

RequestResponse

POST https://<hostname>/api/publish/entities/timerange

{
    "startDate": "2022-08-18T12:39:09.6018531Z",
    "endDate": "2022-08-24T12:49:09.6018531Z",
    "dateTimePropertyName": "createdon",
    "onlyFailedPublish": true
}

Body parameters

Name

Type

Description

Mandatory

startDate

String

The beginning of the period, expressed in Coordinated Universal Time (UTC).

Yes

dateTimePropertyName

String

To match entities that were created during the specified period, use createdon. To match entities that were last modified during the specified period, use modifiedon. You cannot use both values in a single request.

Yes

endDate

String

The end of the period, expressed in UTC. If no value is specified, the period extends to the moment the request was made.

No

onlyFailedPublish

Boolean

If this is false, the request publishes all matching entities within the specified period. If this is true, the request only publishes entities that failed to publish during that period, and therefore have a status of PublishFailed or UnPublishFailed. If not specified, this value defaults to false.

No

Do you have some feedback for us?

If you have suggestions for improving this article,