Trendsic Platform Service

<back to all web services

CoverageOfferViewRequest

The following routes are available for this service:
GET/v1/coverage/offer/{Token}
CoverageOfferViewRequest Parameters:
NameParameterData TypeRequiredDescription
TokenpathstringNo
CoverageOfferViewResponse Parameters:
NameParameterData TypeRequiredDescription
StateformstringNo
WorkerFirstformstringNo
PrimaryformstringNo
KindformstringNo
RoleformstringNo
PayformstringNo
SiteformstringNo
AddressformstringNo
GapDateformstringNo
GapTimeformstringNo
CalMonformstringNo
CalDayformstringNo
ReportToformstringNo
EligformList<CoverageOfferEligChip>No
AssignmentModeformstringNo
TicketformstringNo
ExpiresformstringNo
BlockExplformCoverageExplanationNo
ResponseStatusformResponseStatusNo
CoverageOfferEligChip Parameters:
NameParameterData TypeRequiredDescription
LabelformstringNo
DetailformstringNo
StateformstringNo
CoverageExplanation Parameters:
NameParameterData TypeRequiredDescription
PlainSentenceformstringNo
RuleIdformstringNo
RuleNameformstringNo
DemandformstringNo
SourceformCoverageExplanationSourceNo
KindformstringNo
WhyItExistsformstringNo
WhatWouldChangeItformstringNo
OverrideformCoverageExplanationOverrideNo
DrillformstringNo
CoverageExplanationSource Parameters:
NameParameterData TypeRequiredDescription
PolicyNameformstringNo
CascadeLevelformstringNo
CoverageExplanationOverride Parameters:
NameParameterData TypeRequiredDescription
WhoformstringNo
ConsequenceformstringNo

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/coverage/offer/{Token} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"State":"String","WorkerFirst":"String","Primary":"String","Kind":"String","Role":"String","Pay":"String","Site":"String","Address":"String","GapDate":"String","GapTime":"String","CalMon":"String","CalDay":"String","ReportTo":"String","Elig":[{"Label":"String","Detail":"String","State":"String"}],"AssignmentMode":"String","Ticket":"String","Expires":"String","BlockExpl":{"PlainSentence":"String","RuleId":"String","RuleName":"String","Demand":"String","Source":{"PolicyName":"String","CascadeLevel":"String"},"Kind":"String","WhyItExists":"String","WhatWouldChangeIt":"String","Override":{"Who":"String","Consequence":"String"},"Drill":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}