Nephila RiskStore

<back to all web services

RefreshSeedTable

Seed
Requires Authentication
Requires the role:Riskstore.Admin
The following routes are available for this service:
POST/api/riskstore/seed/refresh/{TableName}Refresh seed parquet for a single tableStreams data from the DataHub SQL source into a parquet file at the configured seed location. Runs asynchronously via the message queue. Admin only.
"use strict";
export class RefreshSeedTableResponse {
    /** @param {{requestId?:string,tableName?:string,status?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    requestId;
    /** @type {string} */
    tableName;
    /** @type {string} */
    status;
}
export class RefreshSeedTable {
    /** @param {{tableName?:string,requestId?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description Name of the seed table to refresh (MetaRisk, Perspective, EventSet, DealModelLink) */
    tableName;
    /**
     * @type {string}
     * @description Optional client supplied request id; one is generated when omitted */
    requestId;
}

JavaScript RefreshSeedTable DTOs

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

HTTP + XML

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

POST /api/riskstore/seed/refresh/{TableName} HTTP/1.1 
Host: riskstoreng-dev.nephila.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<RefreshSeedTable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nephila.RiskStore.ServiceModel.Requests">
  <RequestId>00000000-0000-0000-0000-000000000000</RequestId>
  <TableName>String</TableName>
</RefreshSeedTable>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<RefreshSeedTableResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nephila.RiskStore.ServiceModel.Requests">
  <RequestId>00000000-0000-0000-0000-000000000000</RequestId>
  <Status>String</Status>
  <TableName>String</TableName>
</RefreshSeedTableResponse>