POST api/QuoteRequestExternalImport

Insert insured and quote request

Request Information

URI Parameters

None.

Body Parameters

QuoteRequestExternalImportModel
NameDescriptionTypeAdditional information
AgencyId

globally unique identifier

None.

QuoteApplicationName

string

None.

Fields_OrderBy

FieldsOrderBy

None.

Fields

Collection of KeyValueTypeJson

None.

Request Formats

application/json, text/json

Sample:
{
  "agencyId": "4f9e97bb-023b-4ba0-857f-c9538c65ea12",
  "quoteApplicationName": "sample string 1",
  "fields_OrderBy": 0,
  "fields": [
    {
      "propertyName": "sample string 1",
      "displayName": "sample string 2",
      "value": {},
      "type": 0,
      "order": 4
    },
    {
      "propertyName": "sample string 1",
      "displayName": "sample string 2",
      "value": {},
      "type": 0,
      "order": 4
    }
  ]
}

application/xml, text/xml

Sample:
<QuoteRequestExternalImportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.ImportJsonModels">
  <AgencyId>4f9e97bb-023b-4ba0-857f-c9538c65ea12</AgencyId>
  <Fields>
    <KeyValueTypeJson>
      <DisplayName>sample string 2</DisplayName>
      <Order>4</Order>
      <PropertyName>sample string 1</PropertyName>
      <Type>Text</Type>
      <Value />
    </KeyValueTypeJson>
    <KeyValueTypeJson>
      <DisplayName>sample string 2</DisplayName>
      <Order>4</Order>
      <PropertyName>sample string 1</PropertyName>
      <Type>Text</Type>
      <Value />
    </KeyValueTypeJson>
  </Fields>
  <Fields_OrderBy>FieldOrderAndPropertyName</Fields_OrderBy>
  <QuoteApplicationName>sample string 1</QuoteApplicationName>
</QuoteRequestExternalImportModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>