| Requires any of the roles: | Riskstore.Read, Riskstore.Write, Riskstore.Admin |
| GET | /api/riskstore/seed/status | List recent seed refresh requests | Returns 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 .xml suffix or ?format=xml
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: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ListSeedRefreshStatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nephila.RiskStore.ServiceModel.Requests">
<Entries>
<SeedRefreshStatusResponse>
<CompletedUtc>0001-01-01T00:00:00</CompletedUtc>
<CreatedUtc>0001-01-01T00:00:00</CreatedUtc>
<ErrorMessage>String</ErrorMessage>
<FailedCount>0</FailedCount>
<OutputPath>String</OutputPath>
<ProcessedCount>0</ProcessedCount>
<RequestId>00000000-0000-0000-0000-000000000000</RequestId>
<RowCount>0</RowCount>
<SkippedCount>0</SkippedCount>
<StartedUtc>0001-01-01T00:00:00</StartedUtc>
<Status>String</Status>
<TableName>String</TableName>
<TotalCount>0</TotalCount>
<UpdatedUtc>0001-01-01T00:00:00</UpdatedUtc>
</SeedRefreshStatusResponse>
</Entries>
</ListSeedRefreshStatusResponse>