Nephila RiskStore

<back to all web services

ListSeedRefreshStatus

Seed
Requires Authentication
Requires any of the roles:Riskstore.Read, Riskstore.Write, Riskstore.Admin
The following routes are available for this service:
GET/api/riskstore/seed/statusList recent seed refresh requestsReturns all seed refresh entries known to the running host process, newest first. Entries are lost on restart.
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class ListSeedRefreshStatus implements IGet
    {
        
    }

    public static class ListSeedRefreshStatusResponse
    {
        public ArrayList<SeedRefreshStatusResponse> entries = null;
        
        public ArrayList<SeedRefreshStatusResponse> getEntries() { return entries; }
        public ListSeedRefreshStatusResponse setEntries(ArrayList<SeedRefreshStatusResponse> value) { this.entries = value; return this; }
    }

    public static class SeedRefreshStatusResponse
    {
        public UUID requestId = null;
        public String tableName = null;
        public String status = null;
        public Date createdUtc = null;
        public Date updatedUtc = null;
        public Date startedUtc = null;
        public Date completedUtc = null;
        public Long rowCount = null;
        public String errorMessage = null;
        public String outputPath = null;
        public Integer totalCount = null;
        public Integer processedCount = null;
        public Integer skippedCount = null;
        public Integer failedCount = null;
        
        public UUID getRequestId() { return requestId; }
        public SeedRefreshStatusResponse setRequestId(UUID value) { this.requestId = value; return this; }
        public String getTableName() { return tableName; }
        public SeedRefreshStatusResponse setTableName(String value) { this.tableName = value; return this; }
        public String getStatus() { return status; }
        public SeedRefreshStatusResponse setStatus(String value) { this.status = value; return this; }
        public Date getCreatedUtc() { return createdUtc; }
        public SeedRefreshStatusResponse setCreatedUtc(Date value) { this.createdUtc = value; return this; }
        public Date getUpdatedUtc() { return updatedUtc; }
        public SeedRefreshStatusResponse setUpdatedUtc(Date value) { this.updatedUtc = value; return this; }
        public Date getStartedUtc() { return startedUtc; }
        public SeedRefreshStatusResponse setStartedUtc(Date value) { this.startedUtc = value; return this; }
        public Date getCompletedUtc() { return completedUtc; }
        public SeedRefreshStatusResponse setCompletedUtc(Date value) { this.completedUtc = value; return this; }
        public Long getRowCount() { return rowCount; }
        public SeedRefreshStatusResponse setRowCount(Long value) { this.rowCount = value; return this; }
        public String getErrorMessage() { return errorMessage; }
        public SeedRefreshStatusResponse setErrorMessage(String value) { this.errorMessage = value; return this; }
        public String getOutputPath() { return outputPath; }
        public SeedRefreshStatusResponse setOutputPath(String value) { this.outputPath = value; return this; }
        public Integer getTotalCount() { return totalCount; }
        public SeedRefreshStatusResponse setTotalCount(Integer value) { this.totalCount = value; return this; }
        public Integer getProcessedCount() { return processedCount; }
        public SeedRefreshStatusResponse setProcessedCount(Integer value) { this.processedCount = value; return this; }
        public Integer getSkippedCount() { return skippedCount; }
        public SeedRefreshStatusResponse setSkippedCount(Integer value) { this.skippedCount = value; return this; }
        public Integer getFailedCount() { return failedCount; }
        public SeedRefreshStatusResponse setFailedCount(Integer value) { this.failedCount = value; return this; }
    }

}

Java ListSeedRefreshStatus DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /api/riskstore/seed/status HTTP/1.1 
Host: riskstoreng-dev.nephila.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"entries":[{"requestId":"00000000000000000000000000000000","tableName":"String","status":"String","createdUtc":"0001-01-01T00:00:00.0000000Z","updatedUtc":"0001-01-01T00:00:00.0000000Z","startedUtc":"0001-01-01T00:00:00.0000000Z","completedUtc":"0001-01-01T00:00:00.0000000Z","rowCount":0,"errorMessage":"String","outputPath":"String","totalCount":0,"processedCount":0,"skippedCount":0,"failedCount":0}]}