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

Policy details Id

integer

None.

IsProtectiveDevicesInUse

Is protective devices in use

boolean

None.

ProtectiveDevicesInUseExplain

Protective devices in use explain

string

None.

WillPropertyBeExhibited

Will property be exhibited

boolean

None.

PropertyBeExhibitedExplain

Property be exhibited explain

string

None.

WillSpecialRestrictionsApply

Will special restrictions apply

boolean

None.

SpecialRestricationsApplyExplain

Special restrications apply explain

string

None.

IsPropertyUsedProfessionally

Is property used professionally

boolean

None.

PropertyUsedProfessionallyExplain

Property used professionally explain

string

None.

IsOtherInsurance

Is other insurance

boolean

None.

OtherInsuranceExplain

Other insurance explain

string

None.

HasCoverageBeenDeclined

Has coverage been declined

boolean

None.

CoverageBeenDeclinedExplain

Coverage been declined explain

string

None.

HasApplicantHadForeclosure

Has applicant had foreclosure

boolean

None.

ApplicantHadForeclosureExplain

Applicant had foreclosure explain

string

None.

HasApplicantHadJudgement

Has applicant had judgement

boolean

None.

ApplicantHadJudgementExplain

Applicant had judgement explain

string

None.

HasInsuranceBeenTransferred

Has insurance been transferred

boolean

None.

InsuranceBeenTransferredExplain

Insurance been transferred explain

string

None.

HasApplicantBeenConvicted

Has applicant been convicted

boolean

None.

ApplicantBeenConvictedExplain

Applicant been convicted explain

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

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>

Response Information

Resource Description

Upserting result

ActionResultDTO
NameDescriptionTypeAdditional information
IsSuccess

Signifies whether action is successful

boolean

None.

ErrorCode

Error code

string

None.

ErrorMessage

Error message

string

None.

InfoMessage

Information message

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>