| 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. |
|---|
"use strict";
export class SeedRefreshStatusResponse {
/** @param {{requestId?:string,tableName?:string,status?:string,createdUtc?:string,updatedUtc?:string,startedUtc?:string,completedUtc?:string,rowCount?:number,errorMessage?:string,outputPath?:string,totalCount?:number,processedCount?:number,skippedCount?:number,failedCount?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
requestId;
/** @type {string} */
tableName;
/** @type {string} */
status;
/** @type {string} */
createdUtc;
/** @type {string} */
updatedUtc;
/** @type {?string} */
startedUtc;
/** @type {?string} */
completedUtc;
/** @type {?number} */
rowCount;
/** @type {string} */
errorMessage;
/** @type {string} */
outputPath;
/** @type {?number} */
totalCount;
/** @type {?number} */
processedCount;
/** @type {?number} */
skippedCount;
/** @type {?number} */
failedCount;
}
export class ListSeedRefreshStatusResponse {
/** @param {{entries?:SeedRefreshStatusResponse[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {SeedRefreshStatusResponse[]} */
entries;
}
export class ListSeedRefreshStatus {
constructor(init) { Object.assign(this, init) }
}
JavaScript 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>