POST api/Quotes/GetQuotesList

Get quote list by Agent

Request Information

URI Parameters

None.

Body Parameters

Input parameter

InputViewModels
NameDescriptionTypeAdditional information
QuoteDateFrom

date

None.

QuoteDateTo

date

None.

Agents

Collection of string

None.

AgentName

string

None.

ProductName

string

None.

QuoteNumber

string

None.

Offset

integer

None.

Limit

integer

None.

SortParam

integer

None.

Status

string

None.

PrimaryName

string

None.

ApplicationReference

string

None.

Request Formats

application/json, text/json

Sample:
{
  "QuoteDateFrom": "2021-04-21T03:45:53.6860711-07:00",
  "QuoteDateTo": "2021-04-21T03:45:53.6860711-07:00",
  "Agents": [
    "sample string 1",
    "sample string 2"
  ],
  "AgentName": "sample string 1",
  "ProductName": "sample string 2",
  "QuoteNumber": "sample string 3",
  "Offset": 4,
  "Limit": 5,
  "SortParam": 6,
  "Status": "sample string 7",
  "PrimaryName": "sample string 8",
  "ApplicationReference": "sample string 9"
}

application/xml, text/xml

Sample:
<InputViewModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.AS.AgentPortal.Data.Models.Quotes">
  <AgentName>sample string 1</AgentName>
  <Agents xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Agents>
  <ApplicationReference>sample string 9</ApplicationReference>
  <Limit>5</Limit>
  <Offset>4</Offset>
  <PrimaryName>sample string 8</PrimaryName>
  <ProductName>sample string 2</ProductName>
  <QuoteDateFrom>2021-04-21T03:45:53.6860711-07:00</QuoteDateFrom>
  <QuoteDateTo>2021-04-21T03:45:53.6860711-07:00</QuoteDateTo>
  <QuoteNumber>sample string 3</QuoteNumber>
  <SortParam>6</SortParam>
  <Status>sample string 7</Status>
</InputViewModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

API response with Quotes list

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.