POST v1/Policies/Details/InlandMarine/UnscheduledEquipment

Insert the Unscheduled Equipment Section data for Commercial Inland Marine type policies

Request Information

URI Parameters

None.

Body Parameters

Unscheduled equipment info

PolicyDetailsInlandMarineUnscheduledEquipmentDTO
NameDescriptionTypeAdditional information
UnscheduledEquipmentID

Id of the unscheduled equipment

integer

None.

PolicyDetailsID

Id of the policy details

integer

None.

Description

Description

string

None.

MaximumItem

Maximum item

decimal number

None.

Amount

Amount

decimal number

None.

PercentCoins

Percent coins

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "UnscheduledEquipmentID": 1,
  "PolicyDetailsID": 2,
  "Description": "sample string 3",
  "MaximumItem": 1.0,
  "Amount": 1.0,
  "PercentCoins": 1.0
}

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

application/xml, text/xml

Sample:
<PolicyDetailsInlandMarineUnscheduledEquipmentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <Amount>1</Amount>
  <Description>sample string 3</Description>
  <MaximumItem>1</MaximumItem>
  <PercentCoins>1</PercentCoins>
  <PolicyDetailsID>2</PolicyDetailsID>
  <UnscheduledEquipmentID>1</UnscheduledEquipmentID>
</PolicyDetailsInlandMarineUnscheduledEquipmentDTO>

Response Information

Resource Description

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