API Documentation

Seven Corners API Guide February 2017

Use the guide below or download the full written documentation ».

  1. Getting Started
  2. Seven Corners API Basics
  3. Seven Corners API Required Data
  4. Sources and Descriptions
  5. API Glossary
  6. Products
  7. Quote
  8. Purchase
  9. Fulfillment
  10. Public Document
  11. Agent
  12. Products

1. Getting Started

If you are reading this manual then you have already:

  • Secured an API Key to access the Seven Corners API by contacting your Seven Corners Sales Rep and Program Management representative.
  • Your information has been validated and approved by the IT department allowing us to maintain compliance with state and federal regulations.

If you haven’t completed these steps you will not be able to access the API. Please contact your Seven Corners Sales Representative to get started.

2. Seven Corners API Basics

The Seven Corners ASP.NET Web API is a RESTful service and can be consumed on the Client or Server Side. Sevencorners.com consumes the API client side as and Angular.js app. Additionally, a RESTful API is an interface that uses HTTP requests to GET, PUT, POST and DELETE data. Requests are made using HTTP.

For nearly all operations, the submitted data, and the returned data structure, is defined within a  JavaScript Object Notation (JSON) object. Basic information on the content and data types for JSON are provided in JSON Basics.

When accessing specific areas of the API, specific information and examples on the HTTP methods and request, JSON structures are provided.

2.2     Request Format and Responses

The following HTTP request methods are supported:

  • GET Request the specified item. As with normal HTTP requests, the format of the URL defines what is returned. In most cases the information is returned in the form of a JSON document.
  • HEAD The HEAD method is used to get the HTTP header of a GET request without the body of the response.
  • POST Upload data. POST is used to set values, including uploading documents, setting document values, and starting certain administration commands.
  • PUT Used to put a specified resource. PUT is used to create new objects, including databases, documents, views and design documents.
  • DELETE Deletes the specified resource, including documents, views, and design documents.
  • COPY A special method that can be used to copy documents and objects.

2.3     Status Codes

Errors when accessing the API are reported using standard HTTP Status Codes as listed in the grid below.

Status Code

Description

200

OK

201

Created

202

Accepted (Request accepted, and queued for execution)

400

Bad request

401

Authentication failure

403

Forbidden

404

Resource not found

405

Method Not Allowed

409

Conflict

412

Precondition Failed

413

Request Entity Too Large

500

Internal Server Error

501

Not Implemented

503

Service Unavailable

 

2.2         Validations

Validations are returned as validations on the response and are bubbled up from most specific to Validation for entire Quote. The Quote can be purchased when response validations are all valid and QuoteVersion is returned. QuoteVersion on Purchase Request must be the latest for the Quote.

2.3         Validation Status

1 – Valid

2 – Warning (we can return a quote but this is not valid for purchase)

3 – Invalid (we cannot return a quote)

NOTE: The development team will be updating the statuses to return as text to improve the consumption of the API.

3. Seven Corners API Required Data

This section describes the data required for communicating securely with the API.

**Instead of a Username and password to use as authentication credentials, you will need to submit a request via the Seven Corners Program Manager for an API key for your domain.

Request Body

Name

Description

Client_id

Guid API Key set for Agent and domain combination

Grant_type

Client_credentials

 

3.1         API Key

The API Key is unique for Agent and Domain combination. The agent associated with the API key used is credited the sale. The api_key must be sent with all client requests. The api_key helps the server to validate the request source.

  client_id=88EA34EB-229F-4DDC-9E52-5C797673A015&grant_type=client_credentials
  [env].api.sevencorners.com/token.  NOTE: This subdomain is not used for production.

**Note – for all other requests to the API the following header will need to be added:

      Authorization: Bearer [returned token]

      Origin: http:demo.com

3.2           Token Request Format

To authenticate to the API a token must be used through the URL provided in the HOST section below.

  Host: dev.api.sevencorners.com
  Connection: keep-alive
  Content-Length: 76
  Cache-Control: no-cache
  Origin: chrome-extension://aicmkgpgakddgnaphhhpliifpcfhicfo
  Content-Type: application/x-www-form-urlencoded
  User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36
  Postman-Token: d01fc955-44f5-4ddc-1de5-abd1653e5b1b
  Accept: */*
  Accept-Encoding: gzip, deflate
  Accept-Language: en-US,en;q=0.8
  Cookie: __lc.visitor_id.5655821=S1452259500.0c88c4bf8f; _ceir=1; _ga=GA1.2.1024155766.1452262061


4. Sources and Descriptions

Sources

Name

Description

Token

Authorization Endpoint returns bearer token to be used in subsequent calls.

Default Policy Form definition{ProductGroupID}

Endpoint for Form Definition by product, this uses a default policy under the product to get settings

Policyformdefinition{PolicyID}

Endpoint for Form Definition by policy, this can differ from the default for the product group due to state/underwriter restrictions

Quote

Request a quote. Multiple levels of validation. A fully valid quote can be purchased

Purchase

Endpoint to purchase an existing Quote

Idcard

Endpoint used for retrieving Id Card from link in purchase response

Coverageletter

Endpoint used for retrieving Coverage Letter from link in purchase response

Publicdocument

Endpoint for retrieving plan documents, parameters come from Form Definition

Agent

Returns Agent information as stored in Seven Corners System

Productgroups{retailProductsOnly}

List of Current Active Products Agent is configured to sell

Fieldexclusionscheck

End point that will check field exclusions and return information about violations

Default Bands For Policy

Provides default bands for a policy so that a quote can be created with default selections for the customer.

Allcountries

  List of Countries

4.1         Field Definitions

The field definitions identify which fields are required and if they are policy selection affecting, rate affecting, trigger exclusions, or have dependent fields (number of days for Collision Damage Waiver on one of the Roundtrip plans).

5. API Glossary

API

"API" is an acronym for Application Programming Interface. It is a name used to refer to a special framework some web applications or services provide which allows a user to connect to the system and perform some number of discrete actions such as running functions, requesting data, or updating information.

Action

An "action" is the part of an API's URL "anatomy" that describes or names a function that is available for a user to invoke.

Call

A "call" is another name for a "request" or a communication sent by a user to the API, in the form of a URL string, which invokes a specific action on one particular endpoint, and may also include additional parameters or values.

DELETE

"DELETE" is one of the four HTTP "methods", typically used for removing records from a system.

Encryption

"Encryption" is the act of converting of obfuscating the original representation of something using an algorithm or sequence of steps that change the representation into something else entirely. Encryption may be one-way (meaning that once applied, it cannot be undone) or two-way (meaning that once applied, it can be undone).

Endpoint

An "endpoint" is the part of an API's URL "anatomy" that describes or names the domain of objects or functions that can be manipulated or invoked by calling specific actions available under the endpoint.

GET

"GET" is one of the four HTTP "methods", typically used for retrieving or querying records from a system.

Hash

A "hash" is a single value (i.e., string, number, etc.) or potentially a combined/concatenated set of values that have been encrypted.

HTTP

"HTTP" is an acronym for hyper-text transport protocol. It is one of the key architectural components behind how web-based content on the internet is accessed through web browsers.

HTTPS

"HTTPS" is an acronym for hyper-text transport protocol secure. It is the same in principle and function as HTTP, but exists when data transmitted via HTTP is encrypted before it is sent between two communicating entities (i.e., a user requesting information from a web server).

JSON

"JSON" is an acronym for JavaScript Object Notation. It is a format for information, based on the JavaScript language, that is intended for consumption by a programmed function.

Method

HTTP provides support for four "methods" which each describe a type of result a user might want to achieve through a given communication with a web server or API. The four methods are: "GET" (for retrieving data), "PUT" (for inserting data), "POST" (for updating data), and "DELETE" (for removing data).

Parameter

A "parameter" is like a variable added to an API request that provides additional information, instruction, or the necessary value the target action is supposed to utilize.

 POST

"POST" is one of the four HTTP "methods", typically used for updating existing records in a system.

Public / Private Key Encryption

Public / private key encryption is a form of encryption whereby a value (i.e., string, number, record of information, etc.) someone wishes to allow others to prove the authenticity of (i.e., proving it came from the original person) is encrypted using a one-way hashing algorithm. This hash is created using a non-secret value (the public key) as well as a second secret value (the private key) which is known only to the party encrypting the information and given to any party who wishes to validate the authenticity of the information. The receiving party will get a copy of the original data and the public key. If this party also knows the private key, they will be able to re-create the hash value thereby proving it is authentic.

PUT

"PUT" is one of the four HTTP "methods", typically used for inserting or creating records into a system.

Resource

A "resource" is a name for the combination of an "endpoint" and "action" in an API's URL "anatomy".

Response

A "response" is the data that an API sends back to a user after it is called. The format of an API response is usually XML or JSON.

REST

"REST" is an acronym for Representational State Transfer. It is a form of software architecture that is primarily used for web service design. The World Wide Web (WWW) is itself based on REST.

Request

A "request" is the call or a communication sent by a user to the API, in the form of a URL string, which invokes a specific action on one particular endpoint, and may also include additional parameters or values.

SOAP

"SOAP" is an acronym for Simple Object Access Protocol. It is a form of software architecture used for web service design, like REST.

URL

"URL" is an acronym for Uniform Resource Locator. The URL is the unique address for any object or function that can be accessed or invoked on the web.

Web Service

Web Service is a more generic name than API for referring to a special framework some web applications provide which allows a user to connect to the system and perform some number of discrete actions such as running functions, requesting data, or updating information.

XML

"XML" stands for Extensible Markup Language. It is a language used for providing information as well as describing that information, such that programs can interpret data without really understanding the data itself.

Methods

NOTE: All hyperlinks in the sections going forward will deliver the user to the intended help section within the API/Help URL.

6. Products

Method

Name

Description

DefaultPolicyFormDefinition(GET)

Endpoint for Form Definition by product, this uses a default policy under the product to get settings

GET api/v1/products/defaultpolicyformdefinition/{productGroupId}

Request Information

URI Parameters

Name

Description

Type

Additional information

productGroupId

 

integer

Required

Body Parameters

None.

Response Information

Resource Description

FormDefinition

Name

Description

Type

Additional information

EffectiveDateFieldDefinition

 

Definition

None.

ExpirationDateFieldDefinition

 

Definition

None.

DisclaimerText

 

string

None.

UnderwrittenBy

 

string

None.

HideRequestSendPromotionalMaterials

 

boolean

None.

IsAgentConfiguredToSellPolicy

 

boolean

None.

PersonDefinitions

 

Collection of PersonDefinition

None.

QuoteFieldDefinitions

 

Collection of FieldDefinition

None.

PersonFieldDefinitions

 

Collection of FieldDefinition

None.

FieldExclusions

 

Collection of FieldExclusion

None.

FieldTriggers

 

Collection of FieldTrigger

None.

RequiredAddresses

 

Collection of AddressDefinition

None.

ExcludedCountries

 

Collection of Option

None.

PhoneTypes

 

Collection of Option

None.

ReferenceDocuments

 

Collection of DocumentInfo

None.

Response Formats

Sample not available.

Method

Name

Description

PolicyFormDefinition(GET)

Endpoint for Form Definition by policy, this can differ from the default for the product group due to state/underwriter restrictions

GET api/v1/products/policyformdefinition/{policyId}

Request Information

URI Parameters

Name

Description

Type

Additional information

policyId

 

integer

Required

Body Parameters

None.

Response Information

Resource Description

FormDefinition

Name

Description

Type

Additional information

EffectiveDateFieldDefinition

 

Definition

None.

ExpirationDateFieldDefinition

 

Definition

None.

DisclaimerText

 

string

None.

UnderwrittenBy

 

string

None.

HideRequestSendPromotionalMaterials

 

boolean

None.

IsAgentConfiguredToSellPolicy

 

boolean

None.

PersonDefinitions

 

Collection of PersonDefinition

None.

QuoteFieldDefinitions

 

Collection of FieldDefinition

None.

PersonFieldDefinitions

 

Collection of FieldDefinition

None.

FieldExclusions

 

Collection of FieldExclusion

None.

FieldTriggers

 

Collection of FieldTrigger

None.

RequiredAddresses

 

Collection of AddressDefinition

None.

ExcludedCountries

 

Collection of Option

None.

PhoneTypes

 

Collection of Option

None.

ReferenceDocuments

 

Collection of DocumentInfo

None.

7. Quote

Note: The Quote can be purchased when response validations are all valid and QuoteVersion is returned. QuoteVersion on Purchase Request must be the latest for the Quote.

Method

Name

Description

Quote(POST)

Request a quote. Multiple levels of validation. A fully valid quote can be purchased

POST api/v1/quote

Request Information:

Person

PersonIdentifier – this must be unique per person per quote, and is used to tie per person fields to the person

QuoteRequestCount -This is option allows client to know the order request were sent in for asynchronous operation

QuoteIdentifier - Initial request will be sent without this and it will be provided on the response to be used for subsequent requests to update this quote

URI Parameters

None.

Body Parameters

QuoteRequest

Name

Description

Type

Additional information

QuoteIdentifier

 

globally unique identifier

None.

QuoteRequestCount

 

integer

None.

PolicyQuoteRequests

 

Collection of PolicyQuoteRequest

None.

Persons

 

Collection of Person

None.

PrimaryMemberAddresses

 

Collection of Address

None.

Request Formats

application/json, text/json

Sample:

  {
    "quoteIdentifier": "c83725e3-23ce-428e-a365-3be44fac65f8",
    "quoteRequestCount": 1,
    "policyQuoteRequests": [
    {
      "policyId": 1,
      "productGroupId": 1,
      "effectiveDate": "2016-02-09T10:06:48.6157929-05:00",
      "expirationDate": "2016-02-09T10:06:48.6157929-05:00",
      "fields": [
      {
        "code": "sample string 1",
        "value": "sample string 2"
      },
      {
        "code": "sample string 1",
        "value": "sample string 2"
      }
      ],
      "personFields": [
      {
        "personIdentifier": "sample string 1",
        "fields": [
        {
          "code": "sample string 1",
          "value": "sample string 2"
        },
        {
          "code": "sample string 1",
          "value": "sample string 2"
        }
        ]
      },
      {
        "personIdentifier": "sample string 1",
        "fields": [
        {
          "code": "sample string 1",
          "value": "sample string 2"
        },
        {
          "code": "sample string 1",
          "value": "sample string 2"
        }
        ]
      }
      ]
    },
    {
      "policyId": 1,
      "productGroupId": 1,
      "effectiveDate": "2016-02-09T10:06:48.6157929-05:00",
      "expirationDate": "2016-02-09T10:06:48.6157929-05:00",
      "fields": [
      {
        "code": "sample string 1",
        "value": "sample string 2"
      },
      {
        "code": "sample string 1",
        "value": "sample string 2"
      }
      ],
      "personFields": [
      {
        "personIdentifier": "sample string 1",
        "fields": [
        {
          "code": "sample string 1",
          "value": "sample string 2"
        },
        {
          "code": "sample string 1",
          "value": "sample string 2"
        }
        ]
      },
      {
        "personIdentifier": "sample string 1",
        "fields": [
        {
          "code": "sample string 1",
          "value": "sample string 2"
        },
        {
          "code": "sample string 1",
          "value": "sample string 2"
        }
        ]
      }
      ]
    }
    ],
    "persons": [
    {
      "clientPersonIdentifier": "sample string 1",
      "firstName": "sample string 2",
      "middleName": "sample string 3",
      "lastName": "sample string 4",
      "prefix": "sample string 5",
      "suffix": "sample string 6",
      "gender": "sample string 7",
      "dateOfBirth": "2016-02-09T10:06:48.6157929-05:00",
      "socialSecurityNumber": "sample string 9",
      "height": "sample string 10",
      "heightUnitOfMeasure": 11,
      "weight": "sample string 12",
      "weightUnitOfMeasure": 13,
      "relationship": 1,
      "phones": [
      {
        "phoneNumber": "sample string 1",
        "phoneType": 1
      },
      {
        "phoneNumber": "sample string 1",
        "phoneType": 1
      }
      ],
      "emails": [
      {
        "emailAddress": "sample string 1",
        "isWorkEmail": true,
        "isDefault": true
      },
      {
        "emailAddress": "sample string 1",
        "isWorkEmail": true,
        "isDefault": true
      }
      ]
    },
    {
      "clientPersonIdentifier": "sample string 1",
      "firstName": "sample string 2",
      "middleName": "sample string 3",
      "lastName": "sample string 4",
      "prefix": "sample string 5",
      "suffix": "sample string 6",
      "gender": "sample string 7",
      "dateOfBirth": "2016-02-09T10:06:48.6157929-05:00",
      "socialSecurityNumber": "sample string 9",
      "height": "sample string 10",
      "heightUnitOfMeasure": 11,
      "weight": "sample string 12",
      "weightUnitOfMeasure": 13,
      "relationship": 1,
      "phones": [
      {
        "phoneNumber": "sample string 1",
        "phoneType": 1
      },
      {
        "phoneNumber": "sample string 1",
        "phoneType": 1
      }
      ],
      "emails": [
      {
        "emailAddress": "sample string 1",
        "isWorkEmail": true,
        "isDefault": true
      },
      {
        "emailAddress": "sample string 1",
        "isWorkEmail": true,
        "isDefault": true
      }
      ]
    }
    ],
    "primaryMemberAddresses": [
    {
      "type": 1,
      "addressLine1": "sample string 1",
      "addressLine2": "sample string 2",
      "addressLine3": "sample string 3",
      "addressLine4": "sample string 4",
      "addressLine5": "sample string 5",
      "city": "sample string 6",
      "state": "sample string 7",
      "postalCode": "sample string 8",
      "countryCode": "sample string 9"
    },
    {
      "type": 1,
      "addressLine1": "sample string 1",
      "addressLine2": "sample string 2",
      "addressLine3": "sample string 3",
      "addressLine4": "sample string 4",
      "addressLine5": "sample string 5",
      "city": "sample string 6",
      "state": "sample string 7",
      "postalCode": "sample string 8",
      "countryCode": "sample string 9"
    }
    ]
  }

application/xml, text/xml

Sample:

  <QuoteRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Requests">
  <Persons xmlns:d2p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
  <d2p1:Person>
  <d2p1:ClientPersonIdentifier>sample string 1</d2p1:ClientPersonIdentifier>
  <d2p1:DateOfBirth>2016-02-09T10:06:48.6157929-05:00</d2p1:DateOfBirth>
  <d2p1:Emails>
  <d2p1:Email>
  <d2p1:EmailAddress>sample string 1</d2p1:EmailAddress>
  <d2p1:IsDefault>true</d2p1:IsDefault>
  <d2p1:IsWorkEmail>true</d2p1:IsWorkEmail>
  </d2p1:Email>
  <d2p1:Email>
  <d2p1:EmailAddress>sample string 1</d2p1:EmailAddress>
  <d2p1:IsDefault>true</d2p1:IsDefault>
  <d2p1:IsWorkEmail>true</d2p1:IsWorkEmail>
  </d2p1:Email>
  </d2p1:Emails>
  <d2p1:FirstName>sample string 2</d2p1:FirstName>
  <d2p1:Gender>sample string 7</d2p1:Gender>
  <d2p1:Height>sample string 10</d2p1:Height>
  <d2p1:HeightUnitOfMeasure>11</d2p1:HeightUnitOfMeasure>
  <d2p1:LastName>sample string 4</d2p1:LastName>
  <d2p1:MiddleName>sample string 3</d2p1:MiddleName>
  <d2p1:Phones>
  <d2p1:Phone>
  <d2p1:PhoneNumber>sample string 1</d2p1:PhoneNumber>
  <d2p1:PhoneType>Work</d2p1:PhoneType>
  </d2p1:Phone>
  <d2p1:Phone>
  <d2p1:PhoneNumber>sample string 1</d2p1:PhoneNumber>
  <d2p1:PhoneType>Work</d2p1:PhoneType>
  </d2p1:Phone>
  </d2p1:Phones>
  <d2p1:Prefix>sample string 5</d2p1:Prefix>
  <d2p1:Relationship>Primary</d2p1:Relationship>
  <d2p1:SocialSecurityNumber>sample string 9</d2p1:SocialSecurityNumber>
  <d2p1:Suffix>sample string 6</d2p1:Suffix>
  <d2p1:Weight>sample string 12</d2p1:Weight>
  <d2p1:WeightUnitOfMeasure>13</d2p1:WeightUnitOfMeasure>
  </d2p1:Person>
  <d2p1:Person>
  <d2p1:ClientPersonIdentifier>sample string 1</d2p1:ClientPersonIdentifier>
  <d2p1:DateOfBirth>2016-02-09T10:06:48.6157929-05:00</d2p1:DateOfBirth>
  <d2p1:Emails>
  <d2p1:Email>
  <d2p1:EmailAddress>sample string 1</d2p1:EmailAddress>
  <d2p1:IsDefault>true</d2p1:IsDefault>
  <d2p1:IsWorkEmail>true</d2p1:IsWorkEmail>
  </d2p1:Email>
  <d2p1:Email>
  <d2p1:EmailAddress>sample string 1</d2p1:EmailAddress>
  <d2p1:IsDefault>true</d2p1:IsDefault>
  <d2p1:IsWorkEmail>true</d2p1:IsWorkEmail>
  </d2p1:Email>
  </d2p1:Emails>
  <d2p1:FirstName>sample string 2</d2p1:FirstName>
  <d2p1:Gender>sample string 7</d2p1:Gender>
  <d2p1:Height>sample string 10</d2p1:Height>
  <d2p1:HeightUnitOfMeasure>11</d2p1:HeightUnitOfMeasure>
  <d2p1:LastName>sample string 4</d2p1:LastName>
  <d2p1:MiddleName>sample string 3</d2p1:MiddleName>
  <d2p1:Phones>
  <d2p1:Phone>
  <d2p1:PhoneNumber>sample string 1</d2p1:PhoneNumber>
  <d2p1:PhoneType>Work</d2p1:PhoneType>
  </d2p1:Phone>
  <d2p1:Phone>
  <d2p1:PhoneNumber>sample string 1</d2p1:PhoneNumber>
  <d2p1:PhoneType>Work</d2p1:PhoneType>
  </d2p1:Phone>
  </d2p1:Phones>
  <d2p1:Prefix>sample string 5</d2p1:Prefix>
  <d2p1:Relationship>Primary</d2p1:Relationship>
  <d2p1:SocialSecurityNumber>sample string 9</d2p1:SocialSecurityNumber>
  <d2p1:Suffix>sample string 6</d2p1:Suffix>
  <d2p1:Weight>sample string 12</d2p1:Weight>
  <d2p1:WeightUnitOfMeasure>13</d2p1:WeightUnitOfMeasure>
  </d2p1:Person>
  </Persons>
  <PolicyQuoteRequests>
  <PolicyQuoteRequest>
  <EffectiveDate>2016-02-09T10:06:48.6157929-05:00</EffectiveDate>
  <ExpirationDate>2016-02-09T10:06:48.6157929-05:00</ExpirationDate>
  <Fields xmlns:d4p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">
  <d4p1:FieldValue>
  <d4p1:Code>sample string 1</d4p1:Code>
  <d4p1:Value>sample string 2</d4p1:Value>
  </d4p1:FieldValue>
  <d4p1:FieldValue>
  <d4p1:Code>sample string 1</d4p1:Code>
  <d4p1:Value>sample string 2</d4p1:Value>
  </d4p1:FieldValue>
  </Fields>
  <PersonFields xmlns:d4p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
  <d4p1:PersonFieldValue>
  <d4p1:Fields xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">
  <d6p1:FieldValue>
  <d6p1:Code>sample string 1</d6p1:Code>
  <d6p1:Value>sample string 2</d6p1:Value>
  </d6p1:FieldValue>
  <d6p1:FieldValue>
  <d6p1:Code>sample string 1</d6p1:Code>
  <d6p1:Value>sample string 2</d6p1:Value>
  </d6p1:FieldValue>
  </d4p1:Fields>
  <d4p1:PersonIdentifier>sample string 1</d4p1:PersonIdentifier>
  </d4p1:PersonFieldValue>
  <d4p1:PersonFieldValue>
  <d4p1:Fields xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">
  <d6p1:FieldValue>
  <d6p1:Code>sample string 1</d6p1:Code>
  <d6p1:Value>sample string 2</d6p1:Value>
  </d6p1:FieldValue>
  <d6p1:FieldValue>
  <d6p1:Code>sample string 1</d6p1:Code>
  <d6p1:Value>sample string 2</d6p1:Value>
  </d6p1:FieldValue>
  </d4p1:Fields>
  <d4p1:PersonIdentifier>sample string 1</d4p1:PersonIdentifier>
  </d4p1:PersonFieldValue>
  </PersonFields>
  <PolicyId>1</PolicyId>
  <ProductGroupId>1</ProductGroupId>
  </PolicyQuoteRequest>
  <PolicyQuoteRequest>
  <EffectiveDate>2016-02-09T10:06:48.6157929-05:00</EffectiveDate>
  <ExpirationDate>2016-02-09T10:06:48.6157929-05:00</ExpirationDate>
  <Fields xmlns:d4p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">
  <d4p1:FieldValue>
  <d4p1:Code>sample string 1</d4p1:Code>
  <d4p1:Value>sample string 2</d4p1:Value>
  </d4p1:FieldValue>
  <d4p1:FieldValue>
  <d4p1:Code>sample string 1</d4p1:Code>
  <d4p1:Value>sample string 2</d4p1:Value>
  </d4p1:FieldValue>
  </Fields>
  <PersonFields xmlns:d4p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
  <d4p1:PersonFieldValue>
  <d4p1:Fields xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">
  <d6p1:FieldValue>
  <d6p1:Code>sample string 1</d6p1:Code>
  <d6p1:Value>sample string 2</d6p1:Value>
  </d6p1:FieldValue>
  <d6p1:FieldValue>
  <d6p1:Code>sample string 1</d6p1:Code>
  <d6p1:Value>sample string 2</d6p1:Value>
  </d6p1:FieldValue>
  </d4p1:Fields>
  <d4p1:PersonIdentifier>sample string 1</d4p1:PersonIdentifier>
  </d4p1:PersonFieldValue>
  <d4p1:PersonFieldValue>
  <d4p1:Fields xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">
  <d6p1:FieldValue>
  <d6p1:Code>sample string 1</d6p1:Code>
  <d6p1:Value>sample string 2</d6p1:Value>
  </d6p1:FieldValue>
  <d6p1:FieldValue>
  <d6p1:Code>sample string 1</d6p1:Code>
  <d6p1:Value>sample string 2</d6p1:Value>
  </d6p1:FieldValue>
  </d4p1:Fields>
  <d4p1:PersonIdentifier>sample string 1</d4p1:PersonIdentifier>
  </d4p1:PersonFieldValue>
  </PersonFields>
  <PolicyId>1</PolicyId>
  <ProductGroupId>1</ProductGroupId>
  </PolicyQuoteRequest>
  </PolicyQuoteRequests>
  <PrimaryMemberAddresses xmlns:d2p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
  <d2p1:Address>
  <d2p1:AddressLine1>sample string 1</d2p1:AddressLine1>
  <d2p1:AddressLine2>sample string 2</d2p1:AddressLine2>
  <d2p1:AddressLine3>sample string 3</d2p1:AddressLine3>
  <d2p1:AddressLine4>sample string 4</d2p1:AddressLine4>
  <d2p1:AddressLine5>sample string 5</d2p1:AddressLine5>
  <d2p1:City>sample string 6</d2p1:City>
  <d2p1:CountryCode>sample string 9</d2p1:CountryCode>
  <d2p1:PostalCode>sample string 8</d2p1:PostalCode>
  <d2p1:State>sample string 7</d2p1:State>
  <d2p1:Type>Billing</d2p1:Type>
  </d2p1:Address>
  <d2p1:Address>
  <d2p1:AddressLine1>sample string 1</d2p1:AddressLine1>
  <d2p1:AddressLine2>sample string 2</d2p1:AddressLine2>
  <d2p1:AddressLine3>sample string 3</d2p1:AddressLine3>
  <d2p1:AddressLine4>sample string 4</d2p1:AddressLine4>
  <d2p1:AddressLine5>sample string 5</d2p1:AddressLine5>
  <d2p1:City>sample string 6</d2p1:City>
  <d2p1:CountryCode>sample string 9</d2p1:CountryCode>
  <d2p1:PostalCode>sample string 8</d2p1:PostalCode>
  <d2p1:State>sample string 7</d2p1:State>
  <d2p1:Type>Billing</d2p1:Type>
  </d2p1:Address>
  </PrimaryMemberAddresses>
  <QuoteIdentifier>c83725e3-23ce-428e-a365-3be44fac65f8</QuoteIdentifier>
  <QuoteRequestCount>1</QuoteRequestCount>
  </QuoteRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

QuoteResponse

Name

Description

Type

Additional information

QuoteIdentifier

 

globally unique identifier

None.

QuoteRequestCount

 

integer

None.

QuoteVersion

 

string

None.

PolicyQuoteResponses

 

Collection of PolicyQuoteResponse

None.

Total

 

decimal number

None.

ValidationStatuses

 

Collection of Validation

None.

Status

 

QuoteStatusType

None.

Response Formats

application/json, text/json

Sample:

  {
    "quoteIdentifier": "242975e7-2b43-4db8-83b5-e4cfb40b2ed8",
    "quoteRequestCount": 1,
    "quoteVersion": "sample string 2",
    "policyQuoteResponses": [
    {
      "policyId": 1,
      "productGroupId": 1,
      "hasPolicyChanged": true,
      "isAgentConfiguredToSellPolicy": true,
      "status": 1,
      "total": 1.0,
      "fieldValidations": [
      {
        "fieldCode": "sample string 1",
        "status": 1,
        "statusMessage": "sample string 2",
        "friendlyMessage": "sample string 3"
      },
      {
        "fieldCode": "sample string 1",
        "status": 1,
        "statusMessage": "sample string 2",
        "friendlyMessage": "sample string 3"
      }
      ],
      "personResponses": [
      {
        "personIdentifier": "sample string 1",
        "quote": {
          "basePremium": 1.0,
          "addOnCharges": [
          {
            "description": "sample string 1",
            "fieldCode": "sample string 2",
            "amount": 3.0
          },
          {
            "description": "sample string 1",
            "fieldCode": "sample string 2",
            "amount": 3.0
          }
          ],
          "fees": [
          {
            "description": "sample string 1",
            "amount": 2.0
          },
          {
            "description": "sample string 1",
            "amount": 2.0
          }
          ],
          "total": 2.0
        },
        "status": 1,
        "personPropertyValidations": [
        {
          "propertyName": "sample string 1",
          "status": 1,
          "statusMessage": "sample string 2",
          "friendlyMessage": "sample string 3"
        },
        {
          "propertyName": "sample string 1",
          "status": 1,
          "statusMessage": "sample string 2",
          "friendlyMessage": "sample string 3"
        }
        ],
        "fieldValidations": [
        {
          "fieldCode": "sample string 1",
          "status": 1,
          "statusMessage": "sample string 2",
          "friendlyMessage": "sample string 3"
        },
        {
          "fieldCode": "sample string 1",
          "status": 1,
          "statusMessage": "sample string 2",
          "friendlyMessage": "sample string 3"
        }
        ]
      },
      {
        "personIdentifier": "sample string 1",
        "quote": {
          "basePremium": 1.0,
          "addOnCharges": [
          {
            "description": "sample string 1",
            "fieldCode": "sample string 2",
            "amount": 3.0
          },
          {
            "description": "sample string 1",
            "fieldCode": "sample string 2",
            "amount": 3.0
          }
          ],
          "fees": [
          {
            "description": "sample string 1",
            "amount": 2.0
          },
          {
            "description": "sample string 1",
            "amount": 2.0
          }
          ],
          "total": 2.0
        },
        "status": 1,
        "personPropertyValidations": [
        {
          "propertyName": "sample string 1",
          "status": 1,
          "statusMessage": "sample string 2",
          "friendlyMessage": "sample string 3"
        },
        {
          "propertyName": "sample string 1",
          "status": 1,
          "statusMessage": "sample string 2",
          "friendlyMessage": "sample string 3"
        }
        ],
        "fieldValidations": [
        {
          "fieldCode": "sample string 1",
          "status": 1,
          "statusMessage": "sample string 2",
          "friendlyMessage": "sample string 3"
        },
        {
          "fieldCode": "sample string 1",
          "status": 1,
          "statusMessage": "sample string 2",
          "friendlyMessage": "sample string 3"
        }
        ]
      }
      ],
      "policyQuoteValidations": [
      {
        "status": 1,
        "statusMessage": "sample string 1",
        "friendlyMessage": "sample string 2"
      },
      {
        "status": 1,
        "statusMessage": "sample string 1",
        "friendlyMessage": "sample string 2"
      }
      ],
      "policyDocumentLinks": [
      "sample string 1",
      "sample string 2"
      ]
    },
    {
      "policyId": 1,
      "productGroupId": 1,
      "hasPolicyChanged": true,
      "isAgentConfiguredToSellPolicy": true,
      "status": 1,
      "total": 1.0,
      "fieldValidations": [
      {
        "fieldCode": "sample string 1",
        "status": 1,
        "statusMessage": "sample string 2",
        "friendlyMessage": "sample string 3"
      },
      {
        "fieldCode": "sample string 1",
        "status": 1,
        "statusMessage": "sample string 2",
        "friendlyMessage": "sample string 3"
      }
      ],
      "personResponses": [
      {
        "personIdentifier": "sample string 1",
        "quote": {
          "basePremium": 1.0,
          "addOnCharges": [
          {
            "description": "sample string 1",
            "fieldCode": "sample string 2",
            "amount": 3.0
          },
          {
            "description": "sample string 1",
            "fieldCode": "sample string 2",
            "amount": 3.0
          }
          ],
          "fees": [
          {
            "description": "sample string 1",
            "amount": 2.0
          },
          {
            "description": "sample string 1",
            "amount": 2.0
          }
          ],
          "total": 2.0
        },
        "status": 1,
        "personPropertyValidations": [
        {
          "propertyName": "sample string 1",
          "status": 1,
          "statusMessage": "sample string 2",
          "friendlyMessage": "sample string 3"
        },
        {
          "propertyName": "sample string 1",
          "status": 1,
          "statusMessage": "sample string 2",
          "friendlyMessage": "sample string 3"
        }
        ],
        "fieldValidations": [
        {
          "fieldCode": "sample string 1",
          "status": 1,
          "statusMessage": "sample string 2",
          "friendlyMessage": "sample string 3"
        },
        {
          "fieldCode": "sample string 1",
          "status": 1,
          "statusMessage": "sample string 2",
          "friendlyMessage": "sample string 3"
        }
        ]
      },
      {
        "personIdentifier": "sample string 1",
        "quote": {
          "basePremium": 1.0,
          "addOnCharges": [
          {
            "description": "sample string 1",
            "fieldCode": "sample string 2",
            "amount": 3.0
          },
          {
            "description": "sample string 1",
            "fieldCode": "sample string 2",
            "amount": 3.0
          }
          ],
          "fees": [
          {
            "description": "sample string 1",
            "amount": 2.0
          },
          {
            "description": "sample string 1",
            "amount": 2.0
          }
          ],
          "total": 2.0
        },
        "status": 1,
        "personPropertyValidations": [
        {
          "propertyName": "sample string 1",
          "status": 1,
          "statusMessage": "sample string 2",
          "friendlyMessage": "sample string 3"
        },
        {
          "propertyName": "sample string 1",
          "status": 1,
          "statusMessage": "sample string 2",
          "friendlyMessage": "sample string 3"
        }
        ],
        "fieldValidations": [
        {
          "fieldCode": "sample string 1",
          "status": 1,
          "statusMessage": "sample string 2",
          "friendlyMessage": "sample string 3"
        },
        {
          "fieldCode": "sample string 1",
          "status": 1,
          "statusMessage": "sample string 2",
          "friendlyMessage": "sample string 3"
        }
        ]
      }
      ],
      "policyQuoteValidations": [
      {
        "status": 1,
        "statusMessage": "sample string 1",
        "friendlyMessage": "sample string 2"
      },
      {
        "status": 1,
        "statusMessage": "sample string 1",
        "friendlyMessage": "sample string 2"
      }
      ],
      "policyDocumentLinks": [
      "sample string 1",
      "sample string 2"
      ]
    }
    ],
    "total": 1.0,
    "validationStatuses": [
    {
      "status": 1,
      "statusMessage": "sample string 1",
      "friendlyMessage": "sample string 2"
    },
    {
      "status": 1,
      "statusMessage": "sample string 1",
      "friendlyMessage": "sample string 2"
    }
    ],
    "status": 1
  }

application/xml, text/xml

Sample:

  <QuoteResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Responses">
  <PolicyQuoteResponses>
  <PolicyQuoteResponse>
  <FieldValidations xmlns:d4p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
  <d4p1:FieldValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d4p1:FieldCode>sample string 1</d4p1:FieldCode>
  </d4p1:FieldValidation>
  <d4p1:FieldValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d4p1:FieldCode>sample string 1</d4p1:FieldCode>
  </d4p1:FieldValidation>
  </FieldValidations>
  <HasPolicyChanged>true</HasPolicyChanged>
  <IsAgentConfiguredToSellPolicy>true</IsAgentConfiguredToSellPolicy>
  <PersonResponses>
  <PersonResponse>
  <FieldValidations xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
  <d6p1:FieldValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d6p1:FieldCode>sample string 1</d6p1:FieldCode>
  </d6p1:FieldValidation>
  <d6p1:FieldValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d6p1:FieldCode>sample string 1</d6p1:FieldCode>
  </d6p1:FieldValidation>
  </FieldValidations>
  <PersonIdentifier>sample string 1</PersonIdentifier>
  <PersonPropertyValidations xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
  <d6p1:PersonPropertyValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d6p1:PropertyName>sample string 1</d6p1:PropertyName>
  </d6p1:PersonPropertyValidation>
  <d6p1:PersonPropertyValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d6p1:PropertyName>sample string 1</d6p1:PropertyName>
  </d6p1:PersonPropertyValidation>
  </PersonPropertyValidations>
  <Quote xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
  <d6p1:AddOnCharges>
  <d6p1:AddOnCharge>
  <d6p1:Amount>3</d6p1:Amount>
  <d6p1:Description>sample string 1</d6p1:Description>
  <d6p1:FieldCode>sample string 2</d6p1:FieldCode>
  </d6p1:AddOnCharge>
  <d6p1:AddOnCharge>
  <d6p1:Amount>3</d6p1:Amount>
  <d6p1:Description>sample string 1</d6p1:Description>
  <d6p1:FieldCode>sample string 2</d6p1:FieldCode>
  </d6p1:AddOnCharge>
  </d6p1:AddOnCharges>
  <d6p1:BasePremium>1</d6p1:BasePremium>
  <d6p1:Fees>
  <d6p1:Fee>
  <d6p1:Amount>2</d6p1:Amount>
  <d6p1:Description>sample string 1</d6p1:Description>
  </d6p1:Fee>
  <d6p1:Fee>
  <d6p1:Amount>2</d6p1:Amount>
  <d6p1:Description>sample string 1</d6p1:Description>
  </d6p1:Fee>
  </d6p1:Fees>
  <d6p1:Total>2</d6p1:Total>
  </Quote>
  <Status>Valid</Status>
  </PersonResponse>
  <PersonResponse>
  <FieldValidations xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
  <d6p1:FieldValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d6p1:FieldCode>sample string 1</d6p1:FieldCode>
  </d6p1:FieldValidation>
  <d6p1:FieldValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d6p1:FieldCode>sample string 1</d6p1:FieldCode>
  </d6p1:FieldValidation>
  </FieldValidations>
  <PersonIdentifier>sample string 1</PersonIdentifier>
  <PersonPropertyValidations xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
  <d6p1:PersonPropertyValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d6p1:PropertyName>sample string 1</d6p1:PropertyName>
  </d6p1:PersonPropertyValidation>
  <d6p1:PersonPropertyValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d6p1:PropertyName>sample string 1</d6p1:PropertyName>
  </d6p1:PersonPropertyValidation>
  </PersonPropertyValidations>
  <Quote xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
  <d6p1:AddOnCharges>
  <d6p1:AddOnCharge>
  <d6p1:Amount>3</d6p1:Amount>
  <d6p1:Description>sample string 1</d6p1:Description>
  <d6p1:FieldCode>sample string 2</d6p1:FieldCode>
  </d6p1:AddOnCharge>
  <d6p1:AddOnCharge>
  <d6p1:Amount>3</d6p1:Amount>
  <d6p1:Description>sample string 1</d6p1:Description>
  <d6p1:FieldCode>sample string 2</d6p1:FieldCode>
  </d6p1:AddOnCharge>
  </d6p1:AddOnCharges>
  <d6p1:BasePremium>1</d6p1:BasePremium>
  <d6p1:Fees>
  <d6p1:Fee>
  <d6p1:Amount>2</d6p1:Amount>
  <d6p1:Description>sample string 1</d6p1:Description>
  </d6p1:Fee>
  <d6p1:Fee>
  <d6p1:Amount>2</d6p1:Amount>
  <d6p1:Description>sample string 1</d6p1:Description>
  </d6p1:Fee>
  </d6p1:Fees>
  <d6p1:Total>2</d6p1:Total>
  </Quote>
  <Status>Valid</Status>
  </PersonResponse>
  </PersonResponses>
  <PolicyDocumentLinks xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <d4p1:string>sample string 1</d4p1:string>
  <d4p1:string>sample string 2</d4p1:string>
  </PolicyDocumentLinks>
  <PolicyId>1</PolicyId>
  <PolicyQuoteValidations xmlns:d4p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">
  <d4p1:Validation>
  <d4p1:FriendlyMessage>sample string 2</d4p1:FriendlyMessage>
  <d4p1:Status>Valid</d4p1:Status>
  <d4p1:StatusMessage>sample string 1</d4p1:StatusMessage>
  </d4p1:Validation>
  <d4p1:Validation>
  <d4p1:FriendlyMessage>sample string 2</d4p1:FriendlyMessage>
  <d4p1:Status>Valid</d4p1:Status>
  <d4p1:StatusMessage>sample string 1</d4p1:StatusMessage>
  </d4p1:Validation>
  </PolicyQuoteValidations>
  <ProductGroupId>1</ProductGroupId>
  <Status>Valid</Status>
  <Total>1</Total>
  </PolicyQuoteResponse>
  <PolicyQuoteResponse>
  <FieldValidations xmlns:d4p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
  <d4p1:FieldValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d4p1:FieldCode>sample string 1</d4p1:FieldCode>
  </d4p1:FieldValidation>
  <d4p1:FieldValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d4p1:FieldCode>sample string 1</d4p1:FieldCode>
  </d4p1:FieldValidation>
  </FieldValidations>
  <HasPolicyChanged>true</HasPolicyChanged>
  <IsAgentConfiguredToSellPolicy>true</IsAgentConfiguredToSellPolicy>
  <PersonResponses>
  <PersonResponse>
  <FieldValidations xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
  <d6p1:FieldValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d6p1:FieldCode>sample string 1</d6p1:FieldCode>
  </d6p1:FieldValidation>
  <d6p1:FieldValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d6p1:FieldCode>sample string 1</d6p1:FieldCode>
  </d6p1:FieldValidation>
  </FieldValidations>
  <PersonIdentifier>sample string 1</PersonIdentifier>
  <PersonPropertyValidations xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
  <d6p1:PersonPropertyValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d6p1:PropertyName>sample string 1</d6p1:PropertyName>
  </d6p1:PersonPropertyValidation>
  <d6p1:PersonPropertyValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d6p1:PropertyName>sample string 1</d6p1:PropertyName>
  </d6p1:PersonPropertyValidation>
  </PersonPropertyValidations>
  <Quote xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
  <d6p1:AddOnCharges>
  <d6p1:AddOnCharge>
  <d6p1:Amount>3</d6p1:Amount>
  <d6p1:Description>sample string 1</d6p1:Description>
  <d6p1:FieldCode>sample string 2</d6p1:FieldCode>
  </d6p1:AddOnCharge>
  <d6p1:AddOnCharge>
  <d6p1:Amount>3</d6p1:Amount>
  <d6p1:Description>sample string 1</d6p1:Description>
  <d6p1:FieldCode>sample string 2</d6p1:FieldCode>
  </d6p1:AddOnCharge>
  </d6p1:AddOnCharges>
  <d6p1:BasePremium>1</d6p1:BasePremium>
  <d6p1:Fees>
  <d6p1:Fee>
  <d6p1:Amount>2</d6p1:Amount>
  <d6p1:Description>sample string 1</d6p1:Description>
  </d6p1:Fee>
  <d6p1:Fee>
  <d6p1:Amount>2</d6p1:Amount>
  <d6p1:Description>sample string 1</d6p1:Description>
  </d6p1:Fee>
  </d6p1:Fees>
  <d6p1:Total>2</d6p1:Total>
  </Quote>
  <Status>Valid</Status>
  </PersonResponse>
  <PersonResponse>
  <FieldValidations xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
  <d6p1:FieldValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d6p1:FieldCode>sample string 1</d6p1:FieldCode>
  </d6p1:FieldValidation>
  <d6p1:FieldValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d6p1:FieldCode>sample string 1</d6p1:FieldCode>
  </d6p1:FieldValidation>
  </FieldValidations>
  <PersonIdentifier>sample string 1</PersonIdentifier>
  <PersonPropertyValidations xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
  <d6p1:PersonPropertyValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d6p1:PropertyName>sample string 1</d6p1:PropertyName>
  </d6p1:PersonPropertyValidation>
  <d6p1:PersonPropertyValidation>
  <FriendlyMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 3</FriendlyMessage>
  <Status xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">Valid</Status>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">sample string 2</StatusMessage>
  <d6p1:PropertyName>sample string 1</d6p1:PropertyName>
  </d6p1:PersonPropertyValidation>
  </PersonPropertyValidations>
  <Quote xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
  <d6p1:AddOnCharges>
  <d6p1:AddOnCharge>
  <d6p1:Amount>3</d6p1:Amount>
  <d6p1:Description>sample string 1</d6p1:Description>
  <d6p1:FieldCode>sample string 2</d6p1:FieldCode>
  </d6p1:AddOnCharge>
  <d6p1:AddOnCharge>
  <d6p1:Amount>3</d6p1:Amount>
  <d6p1:Description>sample string 1</d6p1:Description>
  <d6p1:FieldCode>sample string 2</d6p1:FieldCode>
  </d6p1:AddOnCharge>
  </d6p1:AddOnCharges>
  <d6p1:BasePremium>1</d6p1:BasePremium>
  <d6p1:Fees>
  <d6p1:Fee>
  <d6p1:Amount>2</d6p1:Amount>
  <d6p1:Description>sample string 1</d6p1:Description>
  </d6p1:Fee>
  <d6p1:Fee>
  <d6p1:Amount>2</d6p1:Amount>
  <d6p1:Description>sample string 1</d6p1:Description>
  </d6p1:Fee>
  </d6p1:Fees>
  <d6p1:Total>2</d6p1:Total>
  </Quote>
  <Status>Valid</Status>
  </PersonResponse>
  </PersonResponses>
  <PolicyDocumentLinks xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <d4p1:string>sample string 1</d4p1:string>
  <d4p1:string>sample string 2</d4p1:string>
  </PolicyDocumentLinks>
  <PolicyId>1</PolicyId>
  <PolicyQuoteValidations xmlns:d4p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">
  <d4p1:Validation>
  <d4p1:FriendlyMessage>sample string 2</d4p1:FriendlyMessage>
  <d4p1:Status>Valid</d4p1:Status>
  <d4p1:StatusMessage>sample string 1</d4p1:StatusMessage>
  </d4p1:Validation>
  <d4p1:Validation>
  <d4p1:FriendlyMessage>sample string 2</d4p1:FriendlyMessage>
  <d4p1:Status>Valid</d4p1:Status>
  <d4p1:StatusMessage>sample string 1</d4p1:StatusMessage>
  </d4p1:Validation>
  </PolicyQuoteValidations>
  <ProductGroupId>1</ProductGroupId>
  <Status>Valid</Status>
  <Total>1</Total>
  </PolicyQuoteResponse>
  </PolicyQuoteResponses>
  <QuoteIdentifier>242975e7-2b43-4db8-83b5-e4cfb40b2ed8</QuoteIdentifier>
  <QuoteRequestCount>1</QuoteRequestCount>
  <QuoteVersion>sample string 2</QuoteVersion>
  <Status>Quoted</Status>
  <Total>1</Total>
  <ValidationStatuses xmlns:d2p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">
  <d2p1:Validation>
  <d2p1:FriendlyMessage>sample string 2</d2p1:FriendlyMessage>
  <d2p1:Status>Valid</d2p1:Status>
  <d2p1:StatusMessage>sample string 1</d2p1:StatusMessage>
  </d2p1:Validation>
  <d2p1:Validation>
  <d2p1:FriendlyMessage>sample string 2</d2p1:FriendlyMessage>
  <d2p1:Status>Valid</d2p1:Status>
  <d2p1:StatusMessage>sample string 1</d2p1:StatusMessage>
  </d2p1:Validation>
  </ValidationStatuses>
  </QuoteResponse>
  

Method

Name

Description

Defaultbandsforpolicy(POST)

Provides default bands for a policy so that a quote can be created with default selections for the customer

POST api/v1/defaultbandsforpolicy

Request Information

URI Parameters

None.

Body Parameters

QuoteFieldsRequest

Name

Description

Type

Additional information

ProductGroupId

 

integer

None.

PolicyId

 

integer

None.

EffectiveDate

 

date

None.

PrimaryAge

 

integer

None.

DependentsAges

 

Collection of integer

None.

PrimaryDateOfBirth

 

date

None.

DependentsDateOfBirth

 

Collection of date

None.

PolicyFields

 

Collection of FieldValue

None.

Request Formats

application/json, text/json

Sample:

  {
    "productGroupId": 1,
    "policyId": 1,
    "effectiveDate": "2016-02-09T10:25:34.2021929-05:00",
    "primaryAge": 1,
    "dependentsAges": [
    1,
    2
    ],
    "primaryDateOfBirth": "2016-02-09T10:25:34.2021929-05:00",
    "dependentsDateOfBirth": [
    "2016-02-09T10:25:34.2021929-05:00",
    "2016-02-09T10:25:34.2021929-05:00"
    ],
    "policyFields": [
    {
      "code": "sample string 1",
      "value": "sample string 2"
    },
    {
      "code": "sample string 1",
      "value": "sample string 2"
    }
    ]
  }

application/xml, text/xml

Sample:

<QuoteFieldsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Requests">
  <DependentsAges xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <d2p1:int>1</d2p1:int>
  <d2p1:int>2</d2p1:int>
  </DependentsAges>
  <DependentsDateOfBirth xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <d2p1:dateTime>2016-02-09T10:25:34.2021929-05:00</d2p1:dateTime>
  <d2p1:dateTime>2016-02-09T10:25:34.2021929-05:00</d2p1:dateTime>
  </DependentsDateOfBirth>
  <EffectiveDate>2016-02-09T10:25:34.2021929-05:00</EffectiveDate>
  <PolicyFields xmlns:d2p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">
  <d2p1:FieldValue>
  <d2p1:Code>sample string 1</d2p1:Code>
  <d2p1:Value>sample string 2</d2p1:Value>
  </d2p1:FieldValue>
  <d2p1:FieldValue>
  <d2p1:Code>sample string 1</d2p1:Code>
  <d2p1:Value>sample string 2</d2p1:Value>
  </d2p1:FieldValue>
  </PolicyFields>
  <PolicyId>1</PolicyId>
  <PrimaryAge>1</PrimaryAge>
  <PrimaryDateOfBirth>2016-02-09T10:25:34.2021929-05:00</PrimaryDateOfBirth>
  <ProductGroupId>1</ProductGroupId

application/x-www-form-urlencoded

Response Information

Resource Description

Collection of FieldValue

Name

Description

Type

Additional information

Code

 

string

None.

Value

 

string

None.

Response Formats

application/json, text/json

Sample:

  [
  {
    "code": "sample string 1",
    "value": "sample string 2"
  },
  {
    "code": "sample string 1",
    "value": "sample string 2"
  }
  ]
  
  

application/xml, text/xml

Sample:

  <ArrayOfFieldValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">
  <FieldValue>
  <Code>sample string 1</Code>
  <Value>sample string 2</Value>
  </FieldValue>
  <FieldValue>
  <Code>sample string 1</Code>
  <Value>sample string 2</Value>
  </FieldValue>
  </ArrayOfFieldValue>
  
  
8. Purchase

Method

Name

Description

Purchase (POST)

  Endpoint to purchase an existing Quote

POST api/v1/purchase

Request Information

URI Parameters

None.

Body Parameters

PurchaseRequest

Name

Description

Type

Additional information

QuoteIdentifier

 

globally unique identifier

None.

QuoteVersion

 

string

None.

AgreedToDisclaimerText

 

boolean

None.

CanSendPromotionalMaterials

 

boolean

None.

AgentNumber

 

string

None.

PaymentInformation

 

PaymentInformation

None.

Request Formats

application/json, text/json

Sample:

    {
      "quoteIdentifier": "b00d8874-5d19-4a7a-9001-ab34955af5b9",
      "quoteVersion": "sample string 2",
      "agreedToDisclaimerText": true,
      "canSendPromotionalMaterials": true,
      "agentNumber": "sample string 5",
      "paymentInformation": {
        "paymentType": 1,
        "billingName": "sample string 1",
        "address1": "sample string 2",
        "address2": "sample string 3",
        "city": "sample string 4",
        "state": "sample string 5",
        "country": "sample string 6",
        "postalCode": "sample string 7",
        "paymentPhoneNumber": "sample string 8",
        "email": "sample string 9",
        "creditCardType": 1,
        "creditCardNumber": "sample string 10",
        "cvv2": "sample string 11",
        "creditCardExpirationDate": "sample string 12",
        "routingNumber": "sample string 13",
        "accountNumber": "sample string 14",
        "checkNumber": "sample string 15",
        "paymentDate": "2016-02-04T10:46:58.1775311-05:00"
      }
    }
    
  

application/xml, text/xml

Sample:

    <PurchaseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Requests">
    <AgentNumber>sample string 5</AgentNumber>
    <AgreedToDisclaimerText>true</AgreedToDisclaimerText>
    <CanSendPromotionalMaterials>true</CanSendPromotionalMaterials>
    <PaymentInformation xmlns:d2p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
    <d2p1:AccountNumber>sample string 14</d2p1:AccountNumber>
    <d2p1:Address1>sample string 2</d2p1:Address1>
    <d2p1:Address2>sample string 3</d2p1:Address2>
    <d2p1:BillingName>sample string 1</d2p1:BillingName>
    <d2p1:CheckNumber>sample string 15</d2p1:CheckNumber>
    <d2p1:City>sample string 4</d2p1:City>
    <d2p1:Country>sample string 6</d2p1:Country>
    <d2p1:CreditCardExpirationDate>sample string 12</d2p1:CreditCardExpirationDate>
    <d2p1:CreditCardNumber>sample string 10</d2p1:CreditCardNumber>
    <d2p1:CreditCardType>AmericanExpress</d2p1:CreditCardType>
    <d2p1:Cvv2>sample string 11</d2p1:Cvv2>
    <d2p1:Email>sample string 9</d2p1:Email>
    <d2p1:PaymentDate>2016-02-04T10:46:58.1775311-05:00</d2p1:PaymentDate>
    <d2p1:PaymentPhoneNumber>sample string 8</d2p1:PaymentPhoneNumber>
    <d2p1:PaymentType>Check</d2p1:PaymentType>
    <d2p1:PostalCode>sample string 7</d2p1:PostalCode>
    <d2p1:RoutingNumber>sample string 13</d2p1:RoutingNumber>
    <d2p1:State>sample string 5</d2p1:State>
    </PaymentInformation>
    <QuoteIdentifier>b00d8874-5d19-4a7a-9001-ab34955af5b9</QuoteIdentifier>
    <QuoteVersion>sample string 2</QuoteVersion>
    </PurchaseRequest>
    
  

application/x-www-form-urlencoded

Response Information

Resource Description

IHttpActionResult

Response Formats

application/json, text/json, application/xml, text/xml


9. Fulfillment

Method

Name

Description

IdCard(GET)

Endpoint used for retrieving Id Card from link in purchase response

GET api/v1/IdCard/{code}

 

Request Information

URI Parameters

Name

Description

Type

Additional information

code

 

string

Required

Body Parameters
None.

Response Information

Resource Description

IHttpActionResult
None.

Response Formats

Sample not available.

Method

Name

Description

CoverageLetter(GET)

Endpoint used for retrieving Coverage Letter from link in purchase response

GET api/v1/CoverageLetter/{code}

Request Information

URI Parameters

Name

Description

Type

Additional information

code

 

string

Required

Body Parameters

None.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

Sample not available.

10. Public Document

Method

Name

Description

PublicDocument(GET)

Endpoint for retrieving plan documents, parameters come from Form Definition

GET api/PublicDocument?key={key}&associationType={associationType}

Request Information

URI Parameters

Name

Description

Type

Additional information

key

 

string

Required

associationType

 

AttachmentEntityType

Required

Body Parameters

None.

Response Information


11. Agent

Method

Name

Description

PolicyID (GET)

Returns Agent information as stored in Seven Corners System

GET api/v1/agent/{policyId}

Request Information

URI Parameters

Name

 

Description

Type

Additional information

policyId

 

integer

None.

Body Parameters

None.

Response Information

Resource Description

AgentInfoResponse

Name

Description

Type

Additional information

Name

 

string

None.

Address

 

string

None.

Phone

 

string

None.

Email

 

string

None.

WebSite

 

string

None.

Number

 

string

None.

Response Formats

application/json, text/json

Sample:

        {
          "name": "sample string 1",
          "address": "sample string 2",
          "phone": "sample string 3",
          "email": "sample string 4",
          "webSite": "sample string 5",
          "number": "sample string 6"
        }
      

application/xml, text/xml

Sample:

          <AgentInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Responses">
          <Address>sample string 2</Address>
          <Email>sample string 4</Email>
          <Name>sample string 1</Name>
          <Number>sample string 6</Number>
          <Phone>sample string 3</Phone>
          <WebSite>sample string 5</WebSite>
          </AgentInfoResponse>
        

12.Products

Method

Name Description

RetailProductsOnly(GET)

List of Current Active Products Agent is configured to sell

GET api/v1/products/productgroups/{retailProductsOnly}

Request Information

URI Parameters

Name

Description

Type

Additional information

retailProductsOnly

 

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Collection of ProductGroup

Name

Description

Type

Additional information

Id

 

integer

None.

Name

 

string

None.

IsSevenCornersRetail

 

boolean

None.

Response Formats

application/json, text/json

Sample:

          [
          {
            "id": 1,
            "name": "sample string 2",
            "isSevenCornersRetail": true
          },
          {
            "id": 1,
            "name": "sample string 2",
            "isSevenCornersRetail": true
          }
          ]
        

application/xml, text/xml

Sample:

          <ArrayOfProductGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
          <ProductGroup>
          <Id>1</Id>
          <IsSevenCornersRetail>true</IsSevenCornersRetail>
          <Name>sample string 2</Name>
          </ProductGroup>
          <ProductGroup>
          <Id>1</Id>
          <IsSevenCornersRetail>true</IsSevenCornersRetail>
          <Name>sample string 2</Name>
          </ProductGroup>
          </ArrayOfProductGroup>
        

Method

Name

Description

PolicyFormFieldExclusionsCheck(GET)

End point that will check field exclusions and return information about violations

POST api/v1/products/FieldExclusionsCheck

Request Information

URI Parameters

None.

Body Parameters

QuoteRequest

Name

Description

Type

Additional information

QuoteIdentifier

 

globally unique identifier

None.

QuoteRequestCount

 

integer

None.

PolicyQuoteRequests

 

Collection of PolicyQuoteRequest

None.

Persons

 

Collection of Person

None.

PrimaryMemberAddresses

 

Collection of Address

None.

Request Formats

application/json, text/json

Sample:

          {
            "quoteIdentifier": "7cd1352f-6f1d-4074-8ecc-f1821ad9f748",
            "quoteRequestCount": 1,
            "policyQuoteRequests": [
            {
              "policyId": 1,
              "productGroupId": 1,
              "effectiveDate": "2016-02-09T09:41:35.4050413-05:00",
              "expirationDate": "2016-02-09T09:41:35.4050413-05:00",
              "fields": [
              {
                "code": "sample string 1",
                "value": "sample string 2"
              },
              {
                "code": "sample string 1",
                "value": "sample string 2"
              }
              ],
              "personFields": [
              {
                "personIdentifier": "sample string 1",
                "fields": [
                {
                  "code": "sample string 1",
                  "value": "sample string 2"
                },
                {
                  "code": "sample string 1",
                  "value": "sample string 2"
                }
                ]
              },
              {
                "personIdentifier": "sample string 1",
                "fields": [
                {
                  "code": "sample string 1",
                  "value": "sample string 2"
                },
                {
                  "code": "sample string 1",
                  "value": "sample string 2"
                }
                ]
              }
              ]
            },
            {
              "policyId": 1,
              "productGroupId": 1,
              "effectiveDate": "2016-02-09T09:41:35.4050413-05:00",
              "expirationDate": "2016-02-09T09:41:35.4050413-05:00",
              "fields": [
              {
                "code": "sample string 1",
                "value": "sample string 2"
              },
              {
                "code": "sample string 1",
                "value": "sample string 2"
              }
              ],
              "personFields": [
              {
                "personIdentifier": "sample string 1",
                "fields": [
                {
                  "code": "sample string 1",
                  "value": "sample string 2"
                },
                {
                  "code": "sample string 1",
                  "value": "sample string 2"
                }
                ]
              },
              {
                "personIdentifier": "sample string 1",
                "fields": [
                {
                  "code": "sample string 1",
                  "value": "sample string 2"
                },
                {
                  "code": "sample string 1",
                  "value": "sample string 2"
                }
                ]
              }
              ]
            }
            ],
            "persons": [
            {
              "clientPersonIdentifier": "sample string 1",
              "firstName": "sample string 2",
              "middleName": "sample string 3",
              "lastName": "sample string 4",
              "prefix": "sample string 5",
              "suffix": "sample string 6",
              "gender": "sample string 7",
              "dateOfBirth": "2016-02-09T09:41:35.4050413-05:00",
              "socialSecurityNumber": "sample string 9",
              "height": "sample string 10",
              "heightUnitOfMeasure": 11,
              "weight": "sample string 12",
              "weightUnitOfMeasure": 13,
              "relationship": 1,
              "phones": [
              {
                "phoneNumber": "sample string 1",
                "phoneType": 1
              },
              {
                "phoneNumber": "sample string 1",
                "phoneType": 1
              }
              ],
              "emails": [
              {
                "emailAddress": "sample string 1",
                "isWorkEmail": true,
                "isDefault": true
              },
              {
                "emailAddress": "sample string 1",
                "isWorkEmail": true,
                "isDefault": true
              }
              ]
            },
            {
              "clientPersonIdentifier": "sample string 1",
              "firstName": "sample string 2",
              "middleName": "sample string 3",
              "lastName": "sample string 4",
              "prefix": "sample string 5",
              "suffix": "sample string 6",
              "gender": "sample string 7",
              "dateOfBirth": "2016-02-09T09:41:35.4050413-05:00",
              "socialSecurityNumber": "sample string 9",
              "height": "sample string 10",
              "heightUnitOfMeasure": 11,
              "weight": "sample string 12",
              "weightUnitOfMeasure": 13,
              "relationship": 1,
              "phones": [
              {
                "phoneNumber": "sample string 1",
                "phoneType": 1
              },
              {
                "phoneNumber": "sample string 1",
                "phoneType": 1
              }
              ],
              "emails": [
              {
                "emailAddress": "sample string 1",
                "isWorkEmail": true,
                "isDefault": true
              },
              {
                "emailAddress": "sample string 1",
                "isWorkEmail": true,
                "isDefault": true
              }
              ]
            }
            ],
            "primaryMemberAddresses": [
            {
              "type": 1,
              "addressLine1": "sample string 1",
              "addressLine2": "sample string 2",
              "addressLine3": "sample string 3",
              "addressLine4": "sample string 4",
              "addressLine5": "sample string 5",
              "city": "sample string 6",
              "state": "sample string 7",
              "postalCode": "sample string 8",
              "countryCode": "sample string 9"
            },
            {
              "type": 1,
              "addressLine1": "sample string 1",
              "addressLine2": "sample string 2",
              "addressLine3": "sample string 3",
              "addressLine4": "sample string 4",
              "addressLine5": "sample string 5",
              "city": "sample string 6",
              "state": "sample string 7",
              "postalCode": "sample string 8",
              "countryCode": "sample string 9"
            }
            ]
          }
        

application/xml, text/xml

Sample:

          <QuoteRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Requests">
          <Persons xmlns:d2p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
          <d2p1:Person>
          <d2p1:ClientPersonIdentifier>sample string 1</d2p1:ClientPersonIdentifier>
          <d2p1:DateOfBirth>2016-02-09T09:41:35.4050413-05:00</d2p1:DateOfBirth>
          <d2p1:Emails>
          <d2p1:Email>
          <d2p1:EmailAddress>sample string 1</d2p1:EmailAddress>
          <d2p1:IsDefault>true</d2p1:IsDefault>
          <d2p1:IsWorkEmail>true</d2p1:IsWorkEmail>
          </d2p1:Email>
          <d2p1:Email>
          <d2p1:EmailAddress>sample string 1</d2p1:EmailAddress>
          <d2p1:IsDefault>true</d2p1:IsDefault>
          <d2p1:IsWorkEmail>true</d2p1:IsWorkEmail>
          </d2p1:Email>
          </d2p1:Emails>
          <d2p1:FirstName>sample string 2</d2p1:FirstName>
          <d2p1:Gender>sample string 7</d2p1:Gender>
          <d2p1:Height>sample string 10</d2p1:Height>
          <d2p1:HeightUnitOfMeasure>11</d2p1:HeightUnitOfMeasure>
          <d2p1:LastName>sample string 4</d2p1:LastName>
          <d2p1:MiddleName>sample string 3</d2p1:MiddleName>
          <d2p1:Phones>
          <d2p1:Phone>
          <d2p1:PhoneNumber>sample string 1</d2p1:PhoneNumber>
          <d2p1:PhoneType>Work</d2p1:PhoneType>
          </d2p1:Phone>
          <d2p1:Phone>
          <d2p1:PhoneNumber>sample string 1</d2p1:PhoneNumber>
          <d2p1:PhoneType>Work</d2p1:PhoneType>
          </d2p1:Phone>
          </d2p1:Phones>
          <d2p1:Prefix>sample string 5</d2p1:Prefix>
          <d2p1:Relationship>Primary</d2p1:Relationship>
          <d2p1:SocialSecurityNumber>sample string 9</d2p1:SocialSecurityNumber>
          <d2p1:Suffix>sample string 6</d2p1:Suffix>
          <d2p1:Weight>sample string 12</d2p1:Weight>
          <d2p1:WeightUnitOfMeasure>13</d2p1:WeightUnitOfMeasure>
          </d2p1:Person>
          <d2p1:Person>
          <d2p1:ClientPersonIdentifier>sample string 1</d2p1:ClientPersonIdentifier>
          <d2p1:DateOfBirth>2016-02-09T09:41:35.4050413-05:00</d2p1:DateOfBirth>
          <d2p1:Emails>
          <d2p1:Email>
          <d2p1:EmailAddress>sample string 1</d2p1:EmailAddress>
          <d2p1:IsDefault>true</d2p1:IsDefault>
          <d2p1:IsWorkEmail>true</d2p1:IsWorkEmail>
          </d2p1:Email>
          <d2p1:Email>
          <d2p1:EmailAddress>sample string 1</d2p1:EmailAddress>
          <d2p1:IsDefault>true</d2p1:IsDefault>
          <d2p1:IsWorkEmail>true</d2p1:IsWorkEmail>
          </d2p1:Email>
          </d2p1:Emails>
          <d2p1:FirstName>sample string 2</d2p1:FirstName>
          <d2p1:Gender>sample string 7</d2p1:Gender>
          <d2p1:Height>sample string 10</d2p1:Height>
          <d2p1:HeightUnitOfMeasure>11</d2p1:HeightUnitOfMeasure>
          <d2p1:LastName>sample string 4</d2p1:LastName>
          <d2p1:MiddleName>sample string 3</d2p1:MiddleName>
          <d2p1:Phones>
          <d2p1:Phone>
          <d2p1:PhoneNumber>sample string 1</d2p1:PhoneNumber>
          <d2p1:PhoneType>Work</d2p1:PhoneType>
          </d2p1:Phone>
          <d2p1:Phone>
          <d2p1:PhoneNumber>sample string 1</d2p1:PhoneNumber>
          <d2p1:PhoneType>Work</d2p1:PhoneType>
          </d2p1:Phone>
          </d2p1:Phones>
          <d2p1:Prefix>sample string 5</d2p1:Prefix>
          <d2p1:Relationship>Primary</d2p1:Relationship>
          <d2p1:SocialSecurityNumber>sample string 9</d2p1:SocialSecurityNumber>
          <d2p1:Suffix>sample string 6</d2p1:Suffix>
          <d2p1:Weight>sample string 12</d2p1:Weight>
          <d2p1:WeightUnitOfMeasure>13</d2p1:WeightUnitOfMeasure>
          </d2p1:Person>
          </Persons>
          <PolicyQuoteRequests>
          <PolicyQuoteRequest>
          <EffectiveDate>2016-02-09T09:41:35.4050413-05:00</EffectiveDate>
          <ExpirationDate>2016-02-09T09:41:35.4050413-05:00</ExpirationDate>
          <Fields xmlns:d4p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">
          <d4p1:FieldValue>
          <d4p1:Code>sample string 1</d4p1:Code>
          <d4p1:Value>sample string 2</d4p1:Value>
          </d4p1:FieldValue>
          <d4p1:FieldValue>
          <d4p1:Code>sample string 1</d4p1:Code>
          <d4p1:Value>sample string 2</d4p1:Value>
          </d4p1:FieldValue>
          </Fields>
          <PersonFields xmlns:d4p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
          <d4p1:PersonFieldValue>
          <d4p1:Fields xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">
          <d6p1:FieldValue>
          <d6p1:Code>sample string 1</d6p1:Code>
          <d6p1:Value>sample string 2</d6p1:Value>
          </d6p1:FieldValue>
          <d6p1:FieldValue>
          <d6p1:Code>sample string 1</d6p1:Code>
          <d6p1:Value>sample string 2</d6p1:Value>
          </d6p1:FieldValue>
          </d4p1:Fields>
          <d4p1:PersonIdentifier>sample string 1</d4p1:PersonIdentifier>
          </d4p1:PersonFieldValue>
          <d4p1:PersonFieldValue>
          <d4p1:Fields xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">
          <d6p1:FieldValue>
          <d6p1:Code>sample string 1</d6p1:Code>
          <d6p1:Value>sample string 2</d6p1:Value>
          </d6p1:FieldValue>
          <d6p1:FieldValue>
          <d6p1:Code>sample string 1</d6p1:Code>
          <d6p1:Value>sample string 2</d6p1:Value>
          </d6p1:FieldValue>
          </d4p1:Fields>
          <d4p1:PersonIdentifier>sample string 1</d4p1:PersonIdentifier>
          </d4p1:PersonFieldValue>
          </PersonFields>
          <PolicyId>1</PolicyId>
          <ProductGroupId>1</ProductGroupId>
          </PolicyQuoteRequest>
          <PolicyQuoteRequest>
          <EffectiveDate>2016-02-09T09:41:35.4050413-05:00</EffectiveDate>
          <ExpirationDate>2016-02-09T09:41:35.4050413-05:00</ExpirationDate>
          <Fields xmlns:d4p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">
          <d4p1:FieldValue>
          <d4p1:Code>sample string 1</d4p1:Code>
          <d4p1:Value>sample string 2</d4p1:Value>
          </d4p1:FieldValue>
          <d4p1:FieldValue>
          <d4p1:Code>sample string 1</d4p1:Code>
          <d4p1:Value>sample string 2</d4p1:Value>
          </d4p1:FieldValue>
          </Fields>
          <PersonFields xmlns:d4p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
          <d4p1:PersonFieldValue>
          <d4p1:Fields xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">
          <d6p1:FieldValue>
          <d6p1:Code>sample string 1</d6p1:Code>
          <d6p1:Value>sample string 2</d6p1:Value>
          </d6p1:FieldValue>
          <d6p1:FieldValue>
          <d6p1:Code>sample string 1</d6p1:Code>
          <d6p1:Value>sample string 2</d6p1:Value>
          </d6p1:FieldValue>
          </d4p1:Fields>
          <d4p1:PersonIdentifier>sample string 1</d4p1:PersonIdentifier>
          </d4p1:PersonFieldValue>
          <d4p1:PersonFieldValue>
          <d4p1:Fields xmlns:d6p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common">
          <d6p1:FieldValue>
          <d6p1:Code>sample string 1</d6p1:Code>
          <d6p1:Value>sample string 2</d6p1:Value>
          </d6p1:FieldValue>
          <d6p1:FieldValue>
          <d6p1:Code>sample string 1</d6p1:Code>
          <d6p1:Value>sample string 2</d6p1:Value>
          </d6p1:FieldValue>
          </d4p1:Fields>
          <d4p1:PersonIdentifier>sample string 1</d4p1:PersonIdentifier>
          </d4p1:PersonFieldValue>
          </PersonFields>
          <PolicyId>1</PolicyId>
          <ProductGroupId>1</ProductGroupId>
          </PolicyQuoteRequest>
          </PolicyQuoteRequests>
          <PrimaryMemberAddresses xmlns:d2p1="http://schemas.datacontract.org/2004/07/SevenCorners.WebApi.Common.Models">
          <d2p1:Address>
          <d2p1:AddressLine1>sample string 1</d2p1:AddressLine1>
          <d2p1:AddressLine2>sample string 2</d2p1:AddressLine2>
          <d2p1:AddressLine3>sample string 3</d2p1:AddressLine3>
          <d2p1:AddressLine4>sample string 4</d2p1:AddressLine4>
          <d2p1:AddressLine5>sample string 5</d2p1:AddressLine5>
          <d2p1:City>sample string 6</d2p1:City>
          <d2p1:CountryCode>sample string 9</d2p1:CountryCode>
          <d2p1:PostalCode>sample string 8</d2p1:PostalCode>
          <d2p1:State>sample string 7</d2p1:State>
          <d2p1:Type>Billing</d2p1:Type>
          </d2p1:Address>
          <d2p1:Address>
          <d2p1:AddressLine1>sample string 1</d2p1:AddressLine1>
          <d2p1:AddressLine2>sample string 2</d2p1:AddressLine2>
          <d2p1:AddressLine3>sample string 3</d2p1:AddressLine3>
          <d2p1:AddressLine4>sample string 4</d2p1:AddressLine4>
          <d2p1:AddressLine5>sample string 5</d2p1:AddressLine5>
          <d2p1:City>sample string 6</d2p1:City>
          <d2p1:CountryCode>sample string 9</d2p1:CountryCode>
          <d2p1:PostalCode>sample string 8</d2p1:PostalCode>
          <d2p1:State>sample string 7</d2p1:State>
          <d2p1:Type>Billing</d2p1:Type>
          </d2p1:Address>
          </PrimaryMemberAddresses>
          <QuoteIdentifier>7cd1352f-6f1d-4074-8ecc-f1821ad9f748</QuoteIdentifier>
          <QuoteRequestCount>1</QuoteRequestCount>
          </QuoteRequest>
        

application/x-www-form-urlencoded

Sample: Sample not available.

Response Information
Resource Description

Collection of FormDefinition

Name

Description

Type

Additional information

EffectiveDateFieldDefinition

 

Definition

None.

ExpirationDateFieldDefinition

 

Definition

None.

DisclaimerText

 

string

None.

UnderwrittenBy

 

string

None.

HideRequestSendPromotionalMaterials

 

boolean

None.

IsAgentConfiguredToSellPolicy

 

boolean

None.

PersonDefinitions

 

Collection of PersonDefinition

None.

QuoteFieldDefinitions

 

Collection of FieldDefinition

None.

PersonFieldDefinitions

 

Collection of FieldDefinition

None.

FieldExclusions

 

Collection of FieldExclusion

None.

FieldTriggers

 

Collection of FieldTrigger

None.

RequiredAddresses

 

Collection of AddressDefinition

None.

ExcludedCountries

 

Collection of Option

None.

PhoneTypes

 

Collection of Option

None.

ReferenceDocuments

 

Collection of DocumentInfo

None.

Further examples can be found on the online Swagger API.

Documents

Privacy Information
Terms of Use
Security Statement

Connect with Seven Corners

About Us
Newsroom
Careers

   

Contact Us