POST v1/Policies/Details/InlandMarine/ScheduledEquipment

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

Request Information

URI Parameters

None.

Body Parameters

Scheduled equipment info

PolicyDetailsInlandMarineScheduledEquipmentDTO
NameDescriptionTypeAdditional information
ScheduledEquipmentID

integer

None.

PolicyDetailsID

integer

None.

ItemNumber

integer

None.

Condition

string

None.

ModelYear

integer

None.

EquipType

string

None.

Description

string

None.

SerialNumber

string

None.

Manufacturer

string

None.

Model

string

None.

Capacity

string

None.

DatePurchased

date

None.

Amount

decimal number

None.

ItemName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ScheduledEquipmentID": 1,
  "PolicyDetailsID": 2,
  "ItemNumber": 3,
  "Condition": "sample string 4",
  "ModelYear": 1,
  "EquipType": "sample string 5",
  "Description": "sample string 6",
  "SerialNumber": "sample string 7",
  "Manufacturer": "sample string 8",
  "Model": "sample string 9",
  "Capacity": "sample string 10",
  "DatePurchased": "2024-11-21T10:14:59.6529557+00:00",
  "Amount": 11.0,
  "ItemName": "sample string 12"
}

application/xml, text/xml

Sample:
<PolicyDetailsInlandMarineScheduledEquipmentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <Amount>11</Amount>
  <Capacity>sample string 10</Capacity>
  <Condition>sample string 4</Condition>
  <DatePurchased>2024-11-21T10:14:59.6529557+00:00</DatePurchased>
  <Description>sample string 6</Description>
  <EquipType>sample string 5</EquipType>
  <ItemName>sample string 12</ItemName>
  <ItemNumber>3</ItemNumber>
  <Manufacturer>sample string 8</Manufacturer>
  <Model>sample string 9</Model>
  <ModelYear>1</ModelYear>
  <PolicyDetailsID>2</PolicyDetailsID>
  <ScheduledEquipmentID>1</ScheduledEquipmentID>
  <SerialNumber>sample string 7</SerialNumber>
</PolicyDetailsInlandMarineScheduledEquipmentDTO>

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

Response Information

Resource Description

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