POST v1/XDates

Upsert xDate

Request Information

URI Parameters

None.

Body Parameters

xDate to be upserted

EntityXDateDTO
NameDescriptionTypeAdditional information
EntityID

integer

None.

XDate

string

None.

LobID

integer

None.

Notes

string

None.

EntityXDateID

integer

None.

ExpiringPremium

decimal number

None.

RelatedPolicyID

integer

None.

Period

string

None.

LOB

LobDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityID": 1,
  "XDate": "sample string 2",
  "LobID": 3,
  "Notes": "sample string 4",
  "EntityXDateID": 5,
  "ExpiringPremium": 1.0,
  "RelatedPolicyID": 1,
  "Period": "sample string 6",
  "LOB": {
    "LOBID": 1,
    "LOBString": "sample string 2",
    "InternalCode": "sample string 3",
    "IsPackage": true,
    "PackageCode": "sample string 5",
    "AcordCode": "sample string 6",
    "LOBClassId": "sample string 7",
    "SubCodes": "sample string 8",
    "LOBDetailsGroup": "sample string 9",
    "LOBGroupCode": "sample string 10",
    "HasDetails": true,
    "DropDown": "sample string 12"
  }
}

application/xml, text/xml

Sample:
<EntityXDateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Contacts">
  <EntityID>1</EntityID>
  <EntityXDateID>5</EntityXDateID>
  <ExpiringPremium>1</ExpiringPremium>
  <LOB xmlns:d2p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Locations">
    <d2p1:AcordCode>sample string 6</d2p1:AcordCode>
    <d2p1:DropDown>sample string 12</d2p1:DropDown>
    <d2p1:HasDetails>true</d2p1:HasDetails>
    <d2p1:InternalCode>sample string 3</d2p1:InternalCode>
    <d2p1:IsPackage>true</d2p1:IsPackage>
    <d2p1:LOBClassId>sample string 7</d2p1:LOBClassId>
    <d2p1:LOBDetailsGroup>sample string 9</d2p1:LOBDetailsGroup>
    <d2p1:LOBGroupCode>sample string 10</d2p1:LOBGroupCode>
    <d2p1:LOBID>1</d2p1:LOBID>
    <d2p1:LOBString>sample string 2</d2p1:LOBString>
    <d2p1:PackageCode>sample string 5</d2p1:PackageCode>
    <d2p1:SubCodes>sample string 8</d2p1:SubCodes>
  </LOB>
  <LobID>3</LobID>
  <Notes>sample string 4</Notes>
  <Period>sample string 6</Period>
  <RelatedPolicyID>1</RelatedPolicyID>
  <XDate>sample string 2</XDate>
</EntityXDateDTO>

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

Response Information

Resource Description

Upserted xDate

EntityXDateDTO
NameDescriptionTypeAdditional information
EntityID

integer

None.

XDate

string

None.

LobID

integer

None.

Notes

string

None.

EntityXDateID

integer

None.

ExpiringPremium

decimal number

None.

RelatedPolicyID

integer

None.

Period

string

None.

LOB

LobDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "EntityID": 1,
  "XDate": "sample string 2",
  "LobID": 3,
  "Notes": "sample string 4",
  "EntityXDateID": 5,
  "ExpiringPremium": 1.0,
  "RelatedPolicyID": 1,
  "Period": "sample string 6",
  "LOB": {
    "LOBID": 1,
    "LOBString": "sample string 2",
    "InternalCode": "sample string 3",
    "IsPackage": true,
    "PackageCode": "sample string 5",
    "AcordCode": "sample string 6",
    "LOBClassId": "sample string 7",
    "SubCodes": "sample string 8",
    "LOBDetailsGroup": "sample string 9",
    "LOBGroupCode": "sample string 10",
    "HasDetails": true,
    "DropDown": "sample string 12"
  }
}

application/xml, text/xml

Sample:
<EntityXDateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Contacts">
  <EntityID>1</EntityID>
  <EntityXDateID>5</EntityXDateID>
  <ExpiringPremium>1</ExpiringPremium>
  <LOB xmlns:d2p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Locations">
    <d2p1:AcordCode>sample string 6</d2p1:AcordCode>
    <d2p1:DropDown>sample string 12</d2p1:DropDown>
    <d2p1:HasDetails>true</d2p1:HasDetails>
    <d2p1:InternalCode>sample string 3</d2p1:InternalCode>
    <d2p1:IsPackage>true</d2p1:IsPackage>
    <d2p1:LOBClassId>sample string 7</d2p1:LOBClassId>
    <d2p1:LOBDetailsGroup>sample string 9</d2p1:LOBDetailsGroup>
    <d2p1:LOBGroupCode>sample string 10</d2p1:LOBGroupCode>
    <d2p1:LOBID>1</d2p1:LOBID>
    <d2p1:LOBString>sample string 2</d2p1:LOBString>
    <d2p1:PackageCode>sample string 5</d2p1:PackageCode>
    <d2p1:SubCodes>sample string 8</d2p1:SubCodes>
  </LOB>
  <LobID>3</LobID>
  <Notes>sample string 4</Notes>
  <Period>sample string 6</Period>
  <RelatedPolicyID>1</RelatedPolicyID>
  <XDate>sample string 2</XDate>
</EntityXDateDTO>