Publish entities that have changed within a specific time period
This endpoint lets you publish entities that were created or modified within a specific period of time.
POST https://<HOSTNAME>/api/publish/entities/timerange
Example request
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
"tenant": "CaaS"
}
Body parameters
|
Name |
Type |
Description |
Mandatory |
|---|---|---|---|
|
|
String |
The beginning of the period, expressed in Coordinated Universal Time (UTC). |
Yes |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
String |
Specifies a tenant to publish data to. If nothing is specified, this parameter defaults to CaaS. There are two possible values: |
Yes |