POST v1/Policies/Details/PersonalInlandMarine/SafeVault

Upserts a safe/vault for an existing Personal Inland Marine type policy.

Request Information

URI Parameters

None.

Body Parameters

Safe vault

PolicyDetailsPersonalInlandMarineSafeVaultDTO
NameDescriptionTypeAdditional information
SafeVaultID

Safe vault Id

integer

None.

PolicyDetailsID

Policy details Id

integer

None.

Manufacturer

Manufacturer

string

None.

Model

Model

string

None.

Class

Class

string

None.

Label

Label

string

None.

DoorType

Door type

string

None.

CombinationLocks

Combination locks

string

None.

DoorThickness

Door thickness

decimal number

None.

WallThickness

Wall thickness

decimal number

None.

LocationName

Display only - not saved nor used in equals

string

None.

LocationAddress

Display only - not saved nor used in equals

string

None.

LocationID

Id of the location

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SafeVaultID": 1,
  "PolicyDetailsID": 2,
  "Manufacturer": "sample string 3",
  "Model": "sample string 4",
  "Class": "sample string 5",
  "Label": "sample string 6",
  "DoorType": "sample string 7",
  "CombinationLocks": "sample string 8",
  "DoorThickness": 1.1,
  "WallThickness": 1.1,
  "LocationName": "sample string 9",
  "LocationAddress": "sample string 10",
  "LocationID": 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 'PolicyDetailsPersonalInlandMarineSafeVaultDTO'.

application/xml, text/xml

Sample:
<PolicyDetailsPersonalInlandMarineSafeVaultDTO 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 10</LocationAddress>
  <LocationID xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">11</LocationID>
  <LocationName xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">sample string 9</LocationName>
  <Class>sample string 5</Class>
  <CombinationLocks>sample string 8</CombinationLocks>
  <DoorThickness>1.1</DoorThickness>
  <DoorType>sample string 7</DoorType>
  <Label>sample string 6</Label>
  <Manufacturer>sample string 3</Manufacturer>
  <Model>sample string 4</Model>
  <PolicyDetailsID>2</PolicyDetailsID>
  <SafeVaultID>1</SafeVaultID>
  <WallThickness>1.1</WallThickness>
</PolicyDetailsPersonalInlandMarineSafeVaultDTO>

Response Information

Resource Description

Upserting result with upserted safe/vault

ActionResultDTOOfPolicyDetailsPersonalInlandMarineSafeVaultDTO
NameDescriptionTypeAdditional information
Result

PolicyDetailsPersonalInlandMarineSafeVaultDTO

None.

CreatedBy

string

None.

EntityID

integer

None.

RowSource

string

None.

PolicyID

integer

None.

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:
{
  "Result": {
    "SafeVaultID": 1,
    "PolicyDetailsID": 2,
    "Manufacturer": "sample string 3",
    "Model": "sample string 4",
    "Class": "sample string 5",
    "Label": "sample string 6",
    "DoorType": "sample string 7",
    "CombinationLocks": "sample string 8",
    "DoorThickness": 1.1,
    "WallThickness": 1.1,
    "LocationName": "sample string 9",
    "LocationAddress": "sample string 10",
    "LocationID": 11
  },
  "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:
<ActionResultOfPolicyDetailsPersonalInlandMarineSafeVaultDTO 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 10</LocationAddress>
    <LocationID xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">11</LocationID>
    <LocationName xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">sample string 9</LocationName>
    <d2p1:Class>sample string 5</d2p1:Class>
    <d2p1:CombinationLocks>sample string 8</d2p1:CombinationLocks>
    <d2p1:DoorThickness>1.1</d2p1:DoorThickness>
    <d2p1:DoorType>sample string 7</d2p1:DoorType>
    <d2p1:Label>sample string 6</d2p1:Label>
    <d2p1:Manufacturer>sample string 3</d2p1:Manufacturer>
    <d2p1:Model>sample string 4</d2p1:Model>
    <d2p1:PolicyDetailsID>2</d2p1:PolicyDetailsID>
    <d2p1:SafeVaultID>1</d2p1:SafeVaultID>
    <d2p1:WallThickness>1.1</d2p1:WallThickness>
  </Result>
  <RowSource>sample string 3</RowSource>
</ActionResultOfPolicyDetailsPersonalInlandMarineSafeVaultDTO>