POST api/v1/insurance/topservi

Request Information

URI Parameters

None.

Body Parameters

TopservIPolicyRequest
NameDescriptionTypeAdditional information
vinNo

string

Required

Max length: 50

insuranceMode

string

Required

Matching regular expression pattern: ^New$|^Renew$

insuranceCompanyCode

string

Required

Max length: 5

insuranceCompanyName

string

Required

Max length: 100

insuranceClass

string

Required

Matching regular expression pattern: ^1$|^2$|^2\+$|^3$|^3\+$

Max length: 5

garageType

string

Required

Matching regular expression pattern: ^DLR Garage$|^General Garage$

Max length: 50

policyNo

string

Required

Max length: 50

policyDate

string

Required

policySumInsured

string

Matching regular expression pattern: ^\d{0,10}\.?\d{0,2}$

coverageFrom

string

Required

coverageTo

string

Required

phydFlag

string

Required

Matching regular expression pattern: ^Y$|^N$

policyInformDate

string

None.

dealerRetailSales

string

Required

Max length: 5

policyStatus

string

Required

Matching regular expression pattern: ^1$|^2$|^3$

cancelDate

string

None.

updateDate

string

Required

updateBy

string

Required

Max length: 301

Request Formats

application/json, text/json

Sample:
{
  "vinNo": "sample string 1",
  "insuranceMode": "sample string 2",
  "insuranceCompanyCode": "sample string 3",
  "insuranceCompanyName": "sample string 4",
  "insuranceClass": "sample string 5",
  "garageType": "sample string 6",
  "policyNo": "sample string 7",
  "policyDate": "sample string 8",
  "policySumInsured": "sample string 9",
  "coverageFrom": "sample string 10",
  "coverageTo": "sample string 11",
  "phydFlag": "sample string 12",
  "policyInformDate": "sample string 13",
  "dealerRetailSales": "sample string 14",
  "policyStatus": "sample string 15",
  "cancelDate": "sample string 16",
  "updateDate": "sample string 17",
  "updateBy": "sample string 18"
}

application/xml, text/xml

Sample:
<TopservIPolicyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LDCM.MyServices.Models">
  <CancelDate>sample string 16</CancelDate>
  <CoverageFrom>sample string 10</CoverageFrom>
  <CoverageTo>sample string 11</CoverageTo>
  <DealerRetailSales>sample string 14</DealerRetailSales>
  <GarageType>sample string 6</GarageType>
  <InsuranceClass>sample string 5</InsuranceClass>
  <InsuranceCompany>sample string 4</InsuranceCompany>
  <InsuranceCompanyCode>sample string 3</InsuranceCompanyCode>
  <InsuranceMode>sample string 2</InsuranceMode>
  <PhydFlag>sample string 12</PhydFlag>
  <PolicyDate>sample string 8</PolicyDate>
  <PolicyInformDate>sample string 13</PolicyInformDate>
  <PolicyNo>sample string 7</PolicyNo>
  <PolicyStatus>sample string 15</PolicyStatus>
  <PolicySumInsured>sample string 9</PolicySumInsured>
  <UpdateBy>sample string 18</UpdateBy>
  <UpdateDate>sample string 17</UpdateDate>
  <VinNo>sample string 1</VinNo>
</TopservIPolicyRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.