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 Foundation
import ServiceStack

public class ListSeedRefreshStatus : IGet, Codable
{
    required public init(){}
}

public class ListSeedRefreshStatusResponse : Codable
{
    public var entries:[SeedRefreshStatusResponse]

    required public init(){}
}

public class SeedRefreshStatusResponse : Codable
{
    public var requestId:String
    public var tableName:String
    public var status:String
    public var createdUtc:Date
    public var updatedUtc:Date
    public var startedUtc:Date?
    public var completedUtc:Date?
    public var rowCount:Int?
    public var errorMessage:String
    public var outputPath:String
    public var totalCount:Int?
    public var processedCount:Int?
    public var skippedCount:Int?
    public var failedCount:Int?

    required public init(){}
}


Swift 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}]}