POST api/v1/insurance/policyinfo

Request Information

URI Parameters

None.

Body Parameters

PolicyInformation
NameDescriptionTypeAdditional information
VINNo

string

Required

String length: inclusive between 0 and 50

PolicyNo

string

String length: inclusive between 0 and 128

PolicyFrom

string

Required

PolicyTo

string

Required

InsuredName

string

Required

String length: inclusive between 0 and 120

DriverName

string

String length: inclusive between 0 and 60

Package

string

Required

String length: inclusive between 0 and 20

DealerCode

string

Required

VINNoNew

string

String length: inclusive between 0 and 50

PolicyFlag

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "VINNo": "sample string 1",
  "PolicyNo": "sample string 2",
  "PolicyFrom": "sample string 3",
  "PolicyTo": "sample string 4",
  "InsuredName": "sample string 5",
  "DriverName": "sample string 6",
  "Package": "sample string 7",
  "DealerCode": "sample string 8",
  "VINNoNew": "sample string 9",
  "PolicyFlag": 1
}

application/xml, text/xml

Sample:
<PolicyInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LDCM.MyServices.Models">
  <DealerCode>sample string 8</DealerCode>
  <DriverName>sample string 6</DriverName>
  <InsuredName>sample string 5</InsuredName>
  <Package>sample string 7</Package>
  <PolicyFlag>1</PolicyFlag>
  <PolicyFrom>sample string 3</PolicyFrom>
  <PolicyNo>sample string 2</PolicyNo>
  <PolicyTo>sample string 4</PolicyTo>
  <VinNo>sample string 1</VinNo>
  <VinNoNew>sample string 9</VinNoNew>
</PolicyInformation>

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.