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}
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using CRM.AgencyPlatform.API.Internal;

namespace CRM.AgencyPlatform.API.Internal
{
    public partial class RateQuote
    {
        public virtual string Tier { get; set; }
        public virtual string Confidence { get; set; }
        public virtual decimal? Value { get; set; }
        public virtual string Unit { get; set; }
        public virtual string Provenance { get; set; }
        public virtual string Url { get; set; }
        public virtual DateTime? FetchedAtUtc { get; set; }
        public virtual string Vendor { get; set; }
        public virtual string Location { get; set; }
        public virtual decimal? RateDay { get; set; }
        public virtual decimal? RateWeek { get; set; }
        public virtual decimal? RateMonth { get; set; }
        public virtual decimal? AdjustmentPct { get; set; }
        public virtual decimal? ListValue { get; set; }
        public virtual string Note { get; set; }
        public virtual string ChipShort { get; set; }
        public virtual string Status { get; set; }
    }

    public partial class RateQuotePollRequest
    {
        public virtual string RequestId { get; set; }
    }

    public partial class RateQuotePollResponse
    {
        public virtual ResponseStatus ResponseStatus { get; set; }
        public virtual string Status { get; set; }
        public virtual RateQuote Quote { get; set; }
    }

}

C# 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"}}