PUT api/DUPreviousVehicleInsurance/UpdateVehicleInsurance/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

PreviousPolicyData
NameDescriptionTypeAdditional information
DU_Veh_Ins_Id

integer

None.

DU_Cust_Id

integer

None.

DU_Veh_Id

integer

None.

Policy_No

string

None.

Insurer_Name_Id

integer

None.

Policy_Start_Date

string

None.

Policy_End_Date

string

None.

NCB

integer

None.

Applied_NCB

integer

None.

Is_Claims_Made

integer

None.

Number_Of_Claims

integer

None.

Is_Hypothecation

integer

None.

Hypothecated_Bank_Id

integer

None.

DealerName

string

None.

User_Id

string

None.

Row_Version

integer

None.

Is_From_INH

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DU_Veh_Ins_Id": 1,
  "DU_Cust_Id": 2,
  "DU_Veh_Id": 3,
  "Policy_No": "sample string 4",
  "Insurer_Name_Id": 5,
  "Policy_Start_Date": "sample string 6",
  "Policy_End_Date": "sample string 7",
  "NCB": 8,
  "Applied_NCB": 9,
  "Is_Claims_Made": 10,
  "Number_Of_Claims": 11,
  "Is_Hypothecation": 12,
  "Hypothecated_Bank_Id": 13,
  "DealerName": "sample string 14",
  "User_Id": "sample string 15",
  "Row_Version": 16,
  "Is_From_INH": "sample string 17"
}

application/xml, text/xml

Sample:
<Mdl_DU_Previous_Vehicle_Insurance.PreviousPolicyData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/INH_Insurance_MVC.Models">
  <Applied_NCB>9</Applied_NCB>
  <DU_Cust_Id>2</DU_Cust_Id>
  <DU_Veh_Id>3</DU_Veh_Id>
  <DU_Veh_Ins_Id>1</DU_Veh_Ins_Id>
  <DealerName>sample string 14</DealerName>
  <Hypothecated_Bank_Id>13</Hypothecated_Bank_Id>
  <Insurer_Name_Id>5</Insurer_Name_Id>
  <Is_Claims_Made>10</Is_Claims_Made>
  <Is_From_INH>sample string 17</Is_From_INH>
  <Is_Hypothecation>12</Is_Hypothecation>
  <NCB>8</NCB>
  <Number_Of_Claims>11</Number_Of_Claims>
  <Policy_End_Date>sample string 7</Policy_End_Date>
  <Policy_No>sample string 4</Policy_No>
  <Policy_Start_Date>sample string 6</Policy_Start_Date>
  <Row_Version>16</Row_Version>
  <User_Id>sample string 15</User_Id>
</Mdl_DU_Previous_Vehicle_Insurance.PreviousPolicyData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>