PUT api/FleetOnlineRenewal/SaveVehicles

Request Information

URI Parameters

None.

Body Parameters

Collection of PolicyDetailsDto
NameDescriptionTypeAdditional information
PolicyId

integer

None.

Name

string

None.

CoversIncluded

Collection of string

None.

VregList

Collection of string

None.

Total

integer

None.

OverFlowVregList

Collection of string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "PolicyId": 1,
    "Name": "sample string 2",
    "CoversIncluded": [
      "sample string 1",
      "sample string 2"
    ],
    "VregList": [
      "sample string 1",
      "sample string 2"
    ],
    "Total": 3,
    "OverFlowVregList": [
      "sample string 1",
      "sample string 2"
    ]
  },
  {
    "PolicyId": 1,
    "Name": "sample string 2",
    "CoversIncluded": [
      "sample string 1",
      "sample string 2"
    ],
    "VregList": [
      "sample string 1",
      "sample string 2"
    ],
    "Total": 3,
    "OverFlowVregList": [
      "sample string 1",
      "sample string 2"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfPolicyDetailsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheAA.Bcas.Dto">
  <PolicyDetailsDto>
    <CoversIncluded xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </CoversIncluded>
    <Name>sample string 2</Name>
    <OverFlowVregList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </OverFlowVregList>
    <PolicyId>1</PolicyId>
    <Total>3</Total>
    <VregList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </VregList>
  </PolicyDetailsDto>
  <PolicyDetailsDto>
    <CoversIncluded xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </CoversIncluded>
    <Name>sample string 2</Name>
    <OverFlowVregList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </OverFlowVregList>
    <PolicyId>1</PolicyId>
    <Total>3</Total>
    <VregList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </VregList>
  </PolicyDetailsDto>
</ArrayOfPolicyDetailsDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

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