POST v1/Policies/Details/InlandMarine/BasicInfo

Upsert the Basic Info Section data for Inland Marine type policies

Request Information

URI Parameters

None.

Body Parameters

Basic info

PolicyDetailsInlandMarineBasicInfoDTO
NameDescriptionTypeAdditional information
PolicyDetailsID

integer

None.

TerritoryOfOperation

string

None.

TypeOfOperation

string

None.

CoverageInfoDescription

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PolicyDetailsID": 1,
  "TerritoryOfOperation": "sample string 2",
  "TypeOfOperation": "sample string 3",
  "CoverageInfoDescription": "sample string 4"
}

application/xml, text/xml

Sample:
<PolicyDetailsInlandMarineBasicInfoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <CoverageInfoDescription>sample string 4</CoverageInfoDescription>
  <PolicyDetailsID>1</PolicyDetailsID>
  <TerritoryOfOperation>sample string 2</TerritoryOfOperation>
  <TypeOfOperation>sample string 3</TypeOfOperation>
</PolicyDetailsInlandMarineBasicInfoDTO>

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

Response Information

Resource Description

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