PUT api/FleetOnlineNewBusiness/SaveVehicles

Request Information

URI Parameters

None.

Body Parameters

Collection of FleetOnlineSaveVehiclesDto
NameDescriptionTypeAdditional information
PolicyId

integer

None.

VregList

Collection of string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "PolicyId": 1,
    "VregList": [
      "sample string 1",
      "sample string 2"
    ]
  },
  {
    "PolicyId": 1,
    "VregList": [
      "sample string 1",
      "sample string 2"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfFleetOnlineSaveVehiclesDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheAA.Bcas.Dto">
  <FleetOnlineSaveVehiclesDto>
    <PolicyId>1</PolicyId>
    <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>
  </FleetOnlineSaveVehiclesDto>
  <FleetOnlineSaveVehiclesDto>
    <PolicyId>1</PolicyId>
    <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>
  </FleetOnlineSaveVehiclesDto>
</ArrayOfFleetOnlineSaveVehiclesDto>

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>