| GET | /v1/vehicle/GetVehicleReprocessHistory | Get Vehicle Reprocessing History |
|---|
# frozen_string_literal: true
# encoding: utf-8
require 'json'
require 'servicestack'
class BulkVehicleReprocessHistory
include ServiceStack::DTO
# @return [String]
attr_accessor :file_name
# @return [String]
attr_accessor :date_started
# @return [String]
attr_accessor :date_finished
# @return [Integer]
attr_accessor :total_records
# @return [Integer]
attr_accessor :processed_records
# @return [String]
attr_accessor :gas_id
# @return [String]
attr_accessor :status
def self.properties
{
file_name: { name: 'fileName' },
date_started: { name: 'dateStarted' },
date_finished: { name: 'dateFinished' },
total_records: { name: 'totalRecords' },
processed_records: { name: 'processedRecords' },
gas_id: { name: 'gasId' },
status: { name: 'status' },
}
end
end
class BulkVehicleReprocessAuditRequest
include ServiceStack::DTO
def response_type() = BulkVehicleReprocessHistory
def get_type_name() = 'BulkVehicleReprocessAuditRequest'
end
Ruby BulkVehicleReprocessAuditRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/vehicle/GetVehicleReprocessHistory HTTP/1.1 Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"fileName":"String","dateStarted":"String","dateFinished":"String","totalRecords":0,"processedRecords":0,"gasId":"String","status":"String"}