Mercedes.VehicleManagement.API

<back to all web services

BulkVehicleReprocessAuditRequest

VehicleReprocess
Requires Authentication
The following routes are available for this service:
GET/v1/vehicle/GetVehicleReprocessHistoryGet 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 .other suffix or ?format=other

HTTP + OTHER

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: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"fileName":"String","dateStarted":"String","dateFinished":"String","totalRecords":0,"processedRecords":0,"gasId":"String","status":"String"}