POST v1/Policies/Details/InlandMarine/EquipmentStorage

Upserts an equipment storage for an existing Inland Marine type policy.

Request Information

URI Parameters

None.

Body Parameters

PolicyDetailsInlandMarineEquipmentStorageDTO
NameDescriptionTypeAdditional information
EquipmentStorageID

integer

None.

PolicyDetailsID

integer

None.

MonthsInStorage

integer

None.

MaxInBuilding

integer

None.

MaxOutside

integer

None.

TypeOfSecurity

string

None.

LocationName

string

None.

LocationAddress

string

None.

LocationID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EquipmentStorageID": 1,
  "PolicyDetailsID": 2,
  "MonthsInStorage": 1,
  "MaxInBuilding": 1,
  "MaxOutside": 1,
  "TypeOfSecurity": "sample string 3",
  "LocationName": "sample string 4",
  "LocationAddress": "sample string 5",
  "LocationID": 6
}

application/xml, text/xml

Sample:
<PolicyDetailsInlandMarineEquipmentStorageDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <LocationAddress>sample string 5</LocationAddress>
  <LocationID>6</LocationID>
  <LocationName>sample string 4</LocationName>
  <EquipmentStorageID>1</EquipmentStorageID>
  <MaxInBuilding>1</MaxInBuilding>
  <MaxOutside>1</MaxOutside>
  <MonthsInStorage>1</MonthsInStorage>
  <PolicyDetailsID>2</PolicyDetailsID>
  <TypeOfSecurity>sample string 3</TypeOfSecurity>
</PolicyDetailsInlandMarineEquipmentStorageDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ActionResultDTOOfPolicyDetailsInlandMarineEquipmentStorageDTO
NameDescriptionTypeAdditional information
Result

PolicyDetailsInlandMarineEquipmentStorageDTO

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": {
    "EquipmentStorageID": 1,
    "PolicyDetailsID": 2,
    "MonthsInStorage": 1,
    "MaxInBuilding": 1,
    "MaxOutside": 1,
    "TypeOfSecurity": "sample string 3",
    "LocationName": "sample string 4",
    "LocationAddress": "sample string 5",
    "LocationID": 6
  },
  "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:
<ActionResultOfPolicyDetailsInlandMarineEquipmentStorageDTO 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">
    <d2p1:LocationAddress>sample string 5</d2p1:LocationAddress>
    <d2p1:LocationID>6</d2p1:LocationID>
    <d2p1:LocationName>sample string 4</d2p1:LocationName>
    <d2p1:EquipmentStorageID>1</d2p1:EquipmentStorageID>
    <d2p1:MaxInBuilding>1</d2p1:MaxInBuilding>
    <d2p1:MaxOutside>1</d2p1:MaxOutside>
    <d2p1:MonthsInStorage>1</d2p1:MonthsInStorage>
    <d2p1:PolicyDetailsID>2</d2p1:PolicyDetailsID>
    <d2p1:TypeOfSecurity>sample string 3</d2p1:TypeOfSecurity>
  </Result>
  <RowSource>sample string 3</RowSource>
</ActionResultOfPolicyDetailsInlandMarineEquipmentStorageDTO>