Nephila RiskStore

<back to all web services

PopulateCacheRequest

General
Requires Authentication
Requires any of the roles:Riskstore.Write, Riskstore.Admin
The following routes are available for this service:
POST/api/riskstore/cache/populateRepopulate the cache, call get status after this has been called
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Nephila.RiskStore.ServiceModel.Requests

Namespace Global

    Namespace Nephila.RiskStore.ServiceModel.Requests

        Public Partial Class PopulateCacheRequest
            Implements IPost
            <ApiMember(IsRequired:=true)>
            Public Overridable Property RequestId As Guid
        End Class
    End Namespace
End Namespace

VB.NET PopulateCacheRequest DTOs

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

HTTP + OTHER

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

POST /api/riskstore/cache/populate HTTP/1.1 
Host: riskstoreng-dev.nephila.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"requestId":"00000000000000000000000000000000"}