POST v1/Policies/Details/PersonalInlandMarine/GeneralInfo

Upsert the General Info Section data for Inland Marine type policies

Request Information

URI Parameters

None.

Body Parameters

General info

PolicyDetailsPersonalInlandMarineGeneralInfoDTO
NameDescriptionTypeAdditional information
PolicyDetailsID

integer

None.

IsProtectiveDevicesInUse

boolean

None.

ProtectiveDevicesInUseExplain

string

None.

WillPropertyBeExhibited

boolean

None.

PropertyBeExhibitedExplain

string

None.

WillSpecialRestrictionsApply

boolean

None.

SpecialRestricationsApplyExplain

string

None.

IsPropertyUsedProfessionally

boolean

None.

PropertyUsedProfessionallyExplain

string

None.

IsOtherInsurance

boolean

None.

OtherInsuranceExplain

string

None.

HasCoverageBeenDeclined

boolean

None.

CoverageBeenDeclinedExplain

string

None.

HasApplicantHadForeclosure

boolean

None.

ApplicantHadForeclosureExplain

string

None.

HasApplicantHadJudgement

boolean

None.

ApplicantHadJudgementExplain

string

None.

HasInsuranceBeenTransferred

boolean

None.

InsuranceBeenTransferredExplain

string

None.

HasApplicantBeenConvicted

boolean

None.

ApplicantBeenConvictedExplain

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PolicyDetailsID": 1,
  "IsProtectiveDevicesInUse": true,
  "ProtectiveDevicesInUseExplain": "sample string 2",
  "WillPropertyBeExhibited": true,
  "PropertyBeExhibitedExplain": "sample string 3",
  "WillSpecialRestrictionsApply": true,
  "SpecialRestricationsApplyExplain": "sample string 4",
  "IsPropertyUsedProfessionally": true,
  "PropertyUsedProfessionallyExplain": "sample string 5",
  "IsOtherInsurance": true,
  "OtherInsuranceExplain": "sample string 6",
  "HasCoverageBeenDeclined": true,
  "CoverageBeenDeclinedExplain": "sample string 7",
  "HasApplicantHadForeclosure": true,
  "ApplicantHadForeclosureExplain": "sample string 8",
  "HasApplicantHadJudgement": true,
  "ApplicantHadJudgementExplain": "sample string 9",
  "HasInsuranceBeenTransferred": true,
  "InsuranceBeenTransferredExplain": "sample string 10",
  "HasApplicantBeenConvicted": true,
  "ApplicantBeenConvictedExplain": "sample string 11"
}

application/xml, text/xml

Sample:
<PolicyDetailsPersonalInlandMarineGeneralInfoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <ApplicantBeenConvictedExplain>sample string 11</ApplicantBeenConvictedExplain>
  <ApplicantHadForeclosureExplain>sample string 8</ApplicantHadForeclosureExplain>
  <ApplicantHadJudgementExplain>sample string 9</ApplicantHadJudgementExplain>
  <CoverageBeenDeclinedExplain>sample string 7</CoverageBeenDeclinedExplain>
  <HasApplicantBeenConvicted>true</HasApplicantBeenConvicted>
  <HasApplicantHadForeclosure>true</HasApplicantHadForeclosure>
  <HasApplicantHadJudgement>true</HasApplicantHadJudgement>
  <HasCoverageBeenDeclined>true</HasCoverageBeenDeclined>
  <HasInsuranceBeenTransferred>true</HasInsuranceBeenTransferred>
  <InsuranceBeenTransferredExplain>sample string 10</InsuranceBeenTransferredExplain>
  <IsOtherInsurance>true</IsOtherInsurance>
  <IsPropertyUsedProfessionally>true</IsPropertyUsedProfessionally>
  <IsProtectiveDevicesInUse>true</IsProtectiveDevicesInUse>
  <OtherInsuranceExplain>sample string 6</OtherInsuranceExplain>
  <PolicyDetailsID>1</PolicyDetailsID>
  <PropertyBeExhibitedExplain>sample string 3</PropertyBeExhibitedExplain>
  <PropertyUsedProfessionallyExplain>sample string 5</PropertyUsedProfessionallyExplain>
  <ProtectiveDevicesInUseExplain>sample string 2</ProtectiveDevicesInUseExplain>
  <SpecialRestricationsApplyExplain>sample string 4</SpecialRestricationsApplyExplain>
  <WillPropertyBeExhibited>true</WillPropertyBeExhibited>
  <WillSpecialRestrictionsApply>true</WillSpecialRestrictionsApply>
</PolicyDetailsPersonalInlandMarineGeneralInfoDTO>

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

Response Information

Resource Description

Upserting 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>