POST v1/Policies/Details/PersonalInlandMarine/ScheduleOfProperty

Upserts a schedule of property for an existing Personal Inland Marine type policy.

Request Information

URI Parameters

None.

Body Parameters

Property

PolicyDetailsPersonalInlandMarineScheduleOfPropertyDTO
NameDescriptionTypeAdditional information
PropertyID

integer

None.

CoverageInfoID

integer

None.

FormalApprasial

boolean

None.

Description

string

None.

ValuationDate

date

None.

AmountOfInsurance

integer

None.

CoverageInfoClassCode

string

None.

CoverageInfoClassDescription

string

None.

PolicyDetailsID

integer

None.

ValuationDateString

string

None.

LocationName

string

None.

LocationAddress

string

None.

LocationID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PropertyID": 1,
  "CoverageInfoID": 2,
  "FormalApprasial": true,
  "Description": "sample string 3",
  "ValuationDate": "2024-11-21T09:41:02.1010118+00:00",
  "AmountOfInsurance": 1,
  "CoverageInfoClassCode": "sample string 4",
  "CoverageInfoClassDescription": "sample string 5",
  "PolicyDetailsID": 6,
  "ValuationDateString": "sample string 7",
  "LocationName": "sample string 8",
  "LocationAddress": "sample string 9",
  "LocationID": 10
}

application/xml, text/xml

Sample:
<PolicyDetailsPersonalInlandMarineScheduleOfPropertyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies.PersonalInlandMarine">
  <LocationAddress xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">sample string 9</LocationAddress>
  <LocationID xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">10</LocationID>
  <LocationName xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">sample string 8</LocationName>
  <AmountOfInsurance>1</AmountOfInsurance>
  <CoverageInfoClassCode>sample string 4</CoverageInfoClassCode>
  <CoverageInfoClassDescription>sample string 5</CoverageInfoClassDescription>
  <CoverageInfoID>2</CoverageInfoID>
  <Description>sample string 3</Description>
  <FormalApprasial>true</FormalApprasial>
  <PolicyDetailsID>6</PolicyDetailsID>
  <PropertyID>1</PropertyID>
  <ValuationDate>2024-11-21T09:41:02.1010118+00:00</ValuationDate>
  <ValuationDateString>sample string 7</ValuationDateString>
</PolicyDetailsPersonalInlandMarineScheduleOfPropertyDTO>

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

Response Information

Resource Description

Upserting result

ActionResultDTOOfPolicyDetailsPersonalInlandMarineScheduleOfPropertyDTO
NameDescriptionTypeAdditional information
Result

PolicyDetailsPersonalInlandMarineScheduleOfPropertyDTO

None.

CreatedBy

string

None.

EntityID

integer

None.

RowSource

string

None.

PolicyID

integer

None.

IsSuccess

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

InfoMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": {
    "PropertyID": 1,
    "CoverageInfoID": 2,
    "FormalApprasial": true,
    "Description": "sample string 3",
    "ValuationDate": "2024-11-21T09:41:02.1010118+00:00",
    "AmountOfInsurance": 1,
    "CoverageInfoClassCode": "sample string 4",
    "CoverageInfoClassDescription": "sample string 5",
    "PolicyDetailsID": 6,
    "ValuationDateString": "sample string 7",
    "LocationName": "sample string 8",
    "LocationAddress": "sample string 9",
    "LocationID": 10
  },
  "CreatedBy": "sample string 1",
  "EntityID": 2,
  "RowSource": "sample string 3",
  "PolicyID": 4,
  "IsSuccess": true,
  "ErrorCode": "sample string 6",
  "ErrorMessage": "sample string 7",
  "InfoMessage": "sample string 8"
}

application/xml, text/xml

Sample:
<ActionResultOfPolicyDetailsPersonalInlandMarineScheduleOfPropertyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects">
  <ErrorCode>sample string 6</ErrorCode>
  <ErrorMessage>sample string 7</ErrorMessage>
  <InfoMessage>sample string 8</InfoMessage>
  <IsSuccess>true</IsSuccess>
  <CreatedBy>sample string 1</CreatedBy>
  <EntityID>2</EntityID>
  <PolicyID>4</PolicyID>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies.PersonalInlandMarine">
    <LocationAddress xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">sample string 9</LocationAddress>
    <LocationID xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">10</LocationID>
    <LocationName xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">sample string 8</LocationName>
    <d2p1:AmountOfInsurance>1</d2p1:AmountOfInsurance>
    <d2p1:CoverageInfoClassCode>sample string 4</d2p1:CoverageInfoClassCode>
    <d2p1:CoverageInfoClassDescription>sample string 5</d2p1:CoverageInfoClassDescription>
    <d2p1:CoverageInfoID>2</d2p1:CoverageInfoID>
    <d2p1:Description>sample string 3</d2p1:Description>
    <d2p1:FormalApprasial>true</d2p1:FormalApprasial>
    <d2p1:PolicyDetailsID>6</d2p1:PolicyDetailsID>
    <d2p1:PropertyID>1</d2p1:PropertyID>
    <d2p1:ValuationDate>2024-11-21T09:41:02.1010118+00:00</d2p1:ValuationDate>
    <d2p1:ValuationDateString>sample string 7</d2p1:ValuationDateString>
  </Result>
  <RowSource>sample string 3</RowSource>
</ActionResultOfPolicyDetailsPersonalInlandMarineScheduleOfPropertyDTO>