PUT v1/Policies

Insert a policy into Catalyst

Request Information

URI Parameters

None.

Body Parameters

InsertPolicyDTO
NameDescriptionTypeAdditional information
Term

string

None.

PolicyType

string

None.

PackageType

string

None.

PackageLobIDs

Collection of integer

None.

PolicyId

integer

None.

CustomerId

integer

None.

PolicyNumber

string

None.

EffectiveDate

string

None.

ExpirationDate

string

None.

Status

string

None.

TotalPremium

decimal number

None.

Description

string

None.

LOBId

integer

None.

MGAId

integer

None.

CarrierId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Term": "sample string 1",
  "PolicyType": "sample string 2",
  "PackageType": "sample string 3",
  "PackageLobIDs": [
    1,
    2
  ],
  "PolicyId": 1,
  "CustomerId": 4,
  "PolicyNumber": "sample string 5",
  "EffectiveDate": "sample string 6",
  "ExpirationDate": "sample string 7",
  "Status": "sample string 8",
  "TotalPremium": 9.0,
  "Description": "sample string 10",
  "LOBId": 11,
  "MGAId": 1,
  "CarrierId": 1
}

application/xml, text/xml

Sample:
<InsertPolicyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <CarrierId>1</CarrierId>
  <CustomerId>4</CustomerId>
  <Description>sample string 10</Description>
  <EffectiveDate>sample string 6</EffectiveDate>
  <ExpirationDate>sample string 7</ExpirationDate>
  <LOBId>11</LOBId>
  <MGAId>1</MGAId>
  <PolicyId>1</PolicyId>
  <PolicyNumber>sample string 5</PolicyNumber>
  <Status>sample string 8</Status>
  <TotalPremium>9</TotalPremium>
  <PackageLobIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:short>1</d2p1:short>
    <d2p1:short>2</d2p1:short>
  </PackageLobIDs>
  <PackageType>sample string 3</PackageType>
  <PolicyType>sample string 2</PolicyType>
  <Term>sample string 1</Term>
</InsertPolicyDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ActionResultDTOOfString
NameDescriptionTypeAdditional information
Result

string

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": "sample string 1",
  "CreatedBy": "sample string 2",
  "EntityID": 3,
  "RowSource": "sample string 4",
  "PolicyID": 5,
  "IsSuccess": true,
  "ErrorCode": "sample string 7",
  "ErrorMessage": "sample string 8",
  "InfoMessage": "sample string 9"
}

application/xml, text/xml

Sample:
<ActionResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects">
  <ErrorCode>sample string 7</ErrorCode>
  <ErrorMessage>sample string 8</ErrorMessage>
  <InfoMessage>sample string 9</InfoMessage>
  <IsSuccess>true</IsSuccess>
  <CreatedBy>sample string 2</CreatedBy>
  <EntityID>3</EntityID>
  <PolicyID>5</PolicyID>
  <Result>sample string 1</Result>
  <RowSource>sample string 4</RowSource>
</ActionResultOfstring>