Data Sync - Resync Data

URI

https://164.99.19.131:8443/SentinelRESTServices/datasync/resync/{policyID}

Supported Methods

PUT

This resyncs a data sync policy. Resyncing allows the synced-to time for the policy to be moved back to some prior time and started over.

Authentication

Authentication Types
Sentinel Permissions Needed

Supported Formats

Request

URL Parameters

None.

Success Codes

Fault Codes

Request Data

Object type: Resync status
Information pertaining to the resync request.
FieldRequiredDescription
resyncStartDateTimefalseThe time the synced-to time is to be set to for the policy. It is specified in milliseconds since midnight, January 1, 1970 (UTC).
truncateDatafalseThis is a boolean flag indicating whether the data in the destination table should be truncated (deleted) before resyncing. If set to "true", all data in the table will be deleted.

Sample Request

PUT /status/102B21D0-BE9B-102D-83DB-001A6B6D3CF6
{
"policyId": "102B21D0-BE9B-102D-83DB-001A6B6D3CF6",{
""startDateTime": "1288177541000",{
""syncedToDateTime": "1288177582000",{
""lastResyncId": "102DDCC2-BE9B-332D-83DB-0017543D3CF6"{
"}