Click or drag to resize

VehicleInformationServiceExport Method

OFV Kjøretøydata service

Export vehicleinformation by freetext searchstring to PDF document.

There is no restrictions, so its possible to export complete set of vehicledata (Bilpriser).

Namespace:  OfvVehicleData.Service
Assembly:  OfvVehicleData.Service (in OfvVehicleData.Service.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public DTO Export(
	UserDTO user,
	string searchString,
	int vehicleGroup,
	int searchYear,
	string format
)

Parameters

user
Type: OfvService.DTO.LoginUserDTO
UserDTO
searchString
Type: SystemString
Freetext searchstring - if blank => all vehicles.
vehicleGroup
Type: SystemInt32
Vehiclegroup code defines which group to work with.
searchYear
Type: SystemInt32
Year to search in
format
Type: SystemString
json/xml - which format result will be delivered in.

Return Value

Type: DTO
Returns success or error - report is sent to users registered email.
See Also