Trendsic Platform Service

<back to all web services

RateQuotePollRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
GET,OPTIONS/v1/Rfp/RateQuotes/{RequestId}
import Foundation
import ServiceStack

public class RateQuotePollRequest : Codable
{
    public var requestId:String

    required public init(){}
}

public class RateQuotePollResponse : Codable
{
    public var responseStatus:ResponseStatus
    public var status:String
    public var quote:RateQuote

    required public init(){}
}

public class RateQuote : Codable
{
    public var tier:String
    public var confidence:String
    public var value:Double?
    public var unit:String
    public var provenance:String
    public var url:String
    public var fetchedAtUtc:Date?
    public var vendor:String
    public var location:String
    public var rateDay:Double?
    public var rateWeek:Double?
    public var rateMonth:Double?
    public var adjustmentPct:Double?
    public var listValue:Double?
    public var note:String
    public var chipShort:String
    public var status:String

    required public init(){}
}


Swift RateQuotePollRequest 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.

GET /v1/Rfp/RateQuotes/{RequestId} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Status":"String","Quote":{"Tier":"String","Confidence":"String","Value":0,"Unit":"String","Provenance":"String","Url":"String","FetchedAtUtc":"0001-01-01T00:00:00.0000000","Vendor":"String","Location":"String","RateDay":0,"RateWeek":0,"RateMonth":0,"AdjustmentPct":0,"ListValue":0,"Note":"String","ChipShort":"String","Status":"String"}}