POST v1/Policies/Details/ProfessionalLiability/GrossSales

Creates new prof liab gross sales

Request Information

URI Parameters

None.

Body Parameters

Gross sales

ProfLiabGrossSalesDTO
NameDescriptionTypeAdditional information
PolicyDetailsID

integer

None.

LastFiscalYearDomestic

string

None.

LastFiscalYearForeign

string

None.

LastFiscalYearTotal

string

None.

CurrentFiscalYearDomestic

string

None.

CurrentFiscalYearForeign

string

None.

CurrentFiscalYearTotal

string

None.

NextFiscalYearDomestic

string

None.

NextFiscalYearForeign

string

None.

NextFiscalYearTotal

string

None.

FiscalYearBegins

date

None.

FiscalYearBeginsString

string

None.

RetailSales

string

None.

WholesaleSales

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PolicyDetailsID": 1,
  "LastFiscalYearDomestic": "sample string 2",
  "LastFiscalYearForeign": "sample string 3",
  "LastFiscalYearTotal": "sample string 4",
  "CurrentFiscalYearDomestic": "sample string 5",
  "CurrentFiscalYearForeign": "sample string 6",
  "CurrentFiscalYearTotal": "sample string 7",
  "NextFiscalYearDomestic": "sample string 8",
  "NextFiscalYearForeign": "sample string 9",
  "NextFiscalYearTotal": "sample string 10",
  "FiscalYearBegins": "2024-12-11T07:17:16.829354+00:00",
  "FiscalYearBeginsString": "12/11/2024",
  "RetailSales": "sample string 11",
  "WholesaleSales": "sample string 12"
}

application/xml, text/xml

Sample:
<ProfLiabGrossSalesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies.PolicyDetail.ProfessionalLiability">
  <CurrentFiscalYearDomestic>sample string 5</CurrentFiscalYearDomestic>
  <CurrentFiscalYearForeign>sample string 6</CurrentFiscalYearForeign>
  <CurrentFiscalYearTotal>sample string 7</CurrentFiscalYearTotal>
  <FiscalYearBegins>2024-12-11T07:17:16.829354+00:00</FiscalYearBegins>
  <LastFiscalYearDomestic>sample string 2</LastFiscalYearDomestic>
  <LastFiscalYearForeign>sample string 3</LastFiscalYearForeign>
  <LastFiscalYearTotal>sample string 4</LastFiscalYearTotal>
  <NextFiscalYearDomestic>sample string 8</NextFiscalYearDomestic>
  <NextFiscalYearForeign>sample string 9</NextFiscalYearForeign>
  <NextFiscalYearTotal>sample string 10</NextFiscalYearTotal>
  <PolicyDetailsID>1</PolicyDetailsID>
  <RetailSales>sample string 11</RetailSales>
  <WholesaleSales>sample string 12</WholesaleSales>
</ProfLiabGrossSalesDTO>

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 'ProfLiabGrossSalesDTO'.

Response Information

Resource Description

Creation result

ActionResultDTO
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

InfoMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "ErrorCode": "sample string 2",
  "ErrorMessage": "sample string 3",
  "InfoMessage": "sample string 4"
}

application/xml, text/xml

Sample:
<ActionResultDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects">
  <ErrorCode>sample string 2</ErrorCode>
  <ErrorMessage>sample string 3</ErrorMessage>
  <InfoMessage>sample string 4</InfoMessage>
  <IsSuccess>true</IsSuccess>
</ActionResultDTO>