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}

export class RateQuote
{
    public Tier: string;
    public Confidence: string;
    public Value?: number;
    public Unit: string;
    public Provenance: string;
    public Url: string;
    public FetchedAtUtc?: string;
    public Vendor: string;
    public Location: string;
    public RateDay?: number;
    public RateWeek?: number;
    public RateMonth?: number;
    public AdjustmentPct?: number;
    public ListValue?: number;
    public Note: string;
    public ChipShort: string;
    public Status: string;

    public constructor(init?: Partial<RateQuote>) { (Object as any).assign(this, init); }
}

export class RateQuotePollResponse
{
    public ResponseStatus: ResponseStatus;
    public Status: string;
    public Quote: RateQuote;

    public constructor(init?: Partial<RateQuotePollResponse>) { (Object as any).assign(this, init); }
}

export class RateQuotePollRequest
{
    public RequestId: string;

    public constructor(init?: Partial<RateQuotePollRequest>) { (Object as any).assign(this, init); }
}

TypeScript RateQuotePollRequest 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 /v1/Rfp/RateQuotes/{RequestId} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
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"}}