POST api/Renewals/GetRenewalLetterReportForAgent

To Get renewal letter details

Request Information

URI Parameters

None.

Body Parameters

RenewalLetterRequestInputModel
NameDescriptionTypeAdditional information
AgentName

Gets or sets Agent Name

string

None.

PolicyNumber

Gets or sets Policy Number

string

None.

PolicyHolderName

Gets or sets Policy Holder Name

string

None.

Product

Gets or sets Product Name

string

None.

Country

Gets or sets Country

string

None.

RenewalDateTo

Gets or sets RenewalDate To

date

None.

RenewalDateFrom

Gets or sets RenewalDate From

date

None.

SortParam

Gets or sets sort parameter

integer

None.

Agents

Gets or sets agents

Collection of string

None.

Offset

Gets or sets Offset

integer

None.

Limit

Gets or setslimit

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AgentName": "sample string 1",
  "PolicyNumber": "sample string 2",
  "PolicyHolderName": "sample string 3",
  "Product": "sample string 4",
  "Country": "sample string 5",
  "RenewalDateTo": "2021-05-17T03:51:46.3290489-07:00",
  "RenewalDateFrom": "2021-05-17T03:51:46.3290489-07:00",
  "SortParam": 1,
  "Agents": [
    "sample string 1",
    "sample string 2"
  ],
  "Offset": 6,
  "Limit": 7
}

application/xml, text/xml

Sample:
<RenewalLetterRequestInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.AS.AgentPortal.API.Areas.Proposals.Models">
  <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>
  <Country>sample string 5</Country>
  <Limit>7</Limit>
  <Offset>6</Offset>
  <PolicyHolderName>sample string 3</PolicyHolderName>
  <PolicyNumber>sample string 2</PolicyNumber>
  <Product>sample string 4</Product>
  <RenewalDateFrom>2021-05-17T03:51:46.3290489-07:00</RenewalDateFrom>
  <RenewalDateTo>2021-05-17T03:51:46.3290489-07:00</RenewalDateTo>
  <SortParam>1</SortParam>
</RenewalLetterRequestInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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.