POST api/v1/insurance/phyd/external

Request Information

URI Parameters

None.

Body Parameters

PhydPolicyInfomation
NameDescriptionTypeAdditional information
VINNo

string

Required

String length: inclusive between 0 and 50

PolicyNo

string

Required

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

Required

String length: inclusive between 0 and 60

Package

string

Required

Matching regular expression pattern: ^PHYD$

String length: inclusive between 0 and 20

DealerCode

string

Required

PolicyFlag

integer

Required

InsuranceCompanyCode

string

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",
  "PolicyFlag": 1,
  "InsuranceCompanyCode": "sample string 9"
}

application/xml, text/xml

Sample:
<PhydPolicyInfomation 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>
  <InsuranceCompanyCode>sample string 9</InsuranceCompanyCode>
  <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>
</PhydPolicyInfomation>

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.