POST Quote/GoTicket

Quotes out SMM GOTicket approved carriers.

Request Information

URI Parameters

None.

Body Parameters

A LifeQuote object.

LifeQuote
NameDescriptionTypeAdditional information
State

A two character state value like 'CA' or 'FL'.

string

None.

SmokerStatus

A smoker status, valid values are "Current User" or "Never Used".

string

None.

ProductType

Product Type valid values are: 1 Year Term, 5 Year Term, 10 Year Term, 15 Year Term, 20 Year Term, 25 Year Term, 30 Year Term, 35 Year Term, 40 Year Term, To Age 65, To Age 70, To Age 75, To Age 80, To Age 85, To Age 90, To Age 95, To Age 100, To Age 105, To Age 110, Other Term, 15 Year Term ROP, 20 Year Term ROP, 25 Year Term ROP, 30 Year Term ROP, Other ROP, To Age 65 (ROP), To Age 70 (ROP), To Age 75 (ROP), To Age 121 (No Lapse U/L), To Age 121 (Pay to 100), To Age 121 (Pay to 65), To Age 121 (20 Pay), To Age 121 (10 Pay), To Age 121 (Single Pay)

string

None.

PaymentTerm

Payment Term valid values are: Monthly, Quarterly, SemiAnnual, Annual

string

None.

FaceAmount

The total amount of the policy being applied for.

string

None.

Gender

Gender valid values are: Male, Female, M, F (case insensitive)

string

None.

DOB

Any readable datetime MM/dd/yyyy, MM-dd-yyyy, etc..

string

None.

HealthClass

Valid values are: Standard, Preferred - when choosing, all preferred or standard types will be quoted.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "State": "sample string 1",
  "SmokerStatus": "sample string 2",
  "ProductType": "sample string 3",
  "PaymentTerm": "sample string 4",
  "FaceAmount": "sample string 5",
  "Gender": "sample string 6",
  "DOB": "sample string 7",
  "HealthClass": "sample string 8"
}

application/xml, text/xml

Sample:
<LifeQuote xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <State>sample string 1</State>
  <SmokerStatus>sample string 2</SmokerStatus>
  <ProductType>sample string 3</ProductType>
  <PaymentTerm>sample string 4</PaymentTerm>
  <FaceAmount>sample string 5</FaceAmount>
  <Gender>sample string 6</Gender>
  <DOB>sample string 7</DOB>
  <HealthClass>sample string 8</HealthClass>
</LifeQuote>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LifeQuote'.

Response Information

Resource Description

A LifeQuoteResults object

LifeQuoteResults
NameDescriptionTypeAdditional information
StatusString

A status on the overall call to the quoting service. If successful or failure, this result will be output here.

string

None.

StatusValue

An integer representation of the overall call to the quoting service. If successful or failure, this result will be output here. Success will be reported as 1, failure as 2.

string

None.

QuoteReference

A value that can be referenced for the individual quote returned.

string

None.

Quotes

The quotes being returned from the service.

Collection of LifeQuoteResult

None.

Log

A list of strings containing errors that might have occured during the run of the quoting service.

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusString": "Not Yet Run",
  "StatusValue": "0",
  "QuoteReference": "sample string 3",
  "Quotes": [
    {
      "QuoteID": 1,
      "AnnualPremium": 2.1,
      "HealthCategory": "sample string 3",
      "Carrier": "sample string 4",
      "ProductCode": "sample string 5",
      "PolicyFee": 6.1,
      "CompanyCode": "sample string 7",
      "Premium": 8.1,
      "HealthClassType": "Unknown",
      "LogoURL": "sample string 10",
      "Product": "sample string 11"
    },
    {
      "QuoteID": 1,
      "AnnualPremium": 2.1,
      "HealthCategory": "sample string 3",
      "Carrier": "sample string 4",
      "ProductCode": "sample string 5",
      "PolicyFee": 6.1,
      "CompanyCode": "sample string 7",
      "Premium": 8.1,
      "HealthClassType": "Unknown",
      "LogoURL": "sample string 10",
      "Product": "sample string 11"
    }
  ],
  "Log": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<LifeQuoteResults xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Status>Not Yet Run</Status>
  <StatusString>Not Yet Run</StatusString>
  <StatusValue>0</StatusValue>
  <QuoteReference>sample string 3</QuoteReference>
  <Quotes>
    <LifeQuoteResult>
      <QuoteID>1</QuoteID>
      <AnnualPremium>2.1</AnnualPremium>
      <HealthCategory>sample string 3</HealthCategory>
      <Carrier>sample string 4</Carrier>
      <ProductCode>sample string 5</ProductCode>
      <PolicyFee>6.1</PolicyFee>
      <CompanyCode>sample string 7</CompanyCode>
      <Premium>8.1</Premium>
      <HealthClass>Unknown</HealthClass>
      <HealthClassType>Unknown</HealthClassType>
      <LogoURL>sample string 10</LogoURL>
      <Product>sample string 11</Product>
    </LifeQuoteResult>
    <LifeQuoteResult>
      <QuoteID>1</QuoteID>
      <AnnualPremium>2.1</AnnualPremium>
      <HealthCategory>sample string 3</HealthCategory>
      <Carrier>sample string 4</Carrier>
      <ProductCode>sample string 5</ProductCode>
      <PolicyFee>6.1</PolicyFee>
      <CompanyCode>sample string 7</CompanyCode>
      <Premium>8.1</Premium>
      <HealthClass>Unknown</HealthClass>
      <HealthClassType>Unknown</HealthClassType>
      <LogoURL>sample string 10</LogoURL>
      <Product>sample string 11</Product>
    </LifeQuoteResult>
  </Quotes>
  <Output>sample string 4</Output>
  <Log>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </Log>
</LifeQuoteResults>