Gets the refresh progress for a segment

This method retrieves the status of a segment refresh via its ID.

A status will be returned for the segment, which will be either 'NotStarted', 'NotFinished', 'Finished' or 'Failed'.

SOAP action:


Input and output parameters

The input and output parameters for this method are:

Input parameters

  • Segment ID - required; integer

Output parameters

  • GetSegmentRefreshProgressResult
    ID - integer*
    Status - string ('NotStarted', 'NotFinished', 'Finished', 'Failed')*


using (var client = new ApiServiceClient())
    client.ClientCredentials.UserName.UserName = "username";
    client.ClientCredentials.UserName.Password = "password";

    var segmentId = 1;
    var segmentRefreshProgress = client.GetSegmentRefreshProgress(segmentId);
    while (segmentRefreshProgress.Status == ApiSegmentRefreshStatuses.NotStarted && segmentRefreshProgress.Status == ApiSegmentRefreshStatuses.NotFinished)
        segmentRefreshProgress = client.GetSegmentRefreshProgress(segmentId);