Mercedes.VehicleManagement.API

<back to all web services

SecuredVehicleAuditRequest

SecuredAudit
Requires Authentication
The following routes are available for this service:
GET/v1/SecuredAudit/{identifier}Gets vehicle secured audits for supplied identifierGets vehicle secured audits for supplied identifier
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Mercedes.VehicleManagement.API.ServiceModel.VehicleServiceModels
Imports Mercedes.VehicleManagement.API.Shared.Clients.Vehicle
Imports Mercedes.OS.Vehicle.Shared.POCO

Namespace Global

    Namespace Mercedes.OS.Vehicle.Shared.POCO

        Public Partial Class VehicleAuditDetails
            Public Overridable Property UserId As String
            Public Overridable Property Status As Boolean
            Public Overridable Property Notes As String
            Public Overridable Property CreationDate As String
        End Class

        Public Partial Class VehicleSecuredAuditDetails
            Inherits VehicleAuditDetails
            Public Overridable Property Vin As String
            Public Overridable Property CommissionNumber As String
            Public Overridable Property IsBulkUpdate As Boolean
        End Class
    End Namespace

    Namespace Mercedes.VehicleManagement.API.ServiceModel.VehicleServiceModels

        Public Partial Class SecuredVehicleAuditRequest
            Implements IGet
            Public Overridable Property Identifier As String
        End Class
    End Namespace

    Namespace Mercedes.VehicleManagement.API.Shared.Clients.Vehicle

        Public Partial Class SecuredVehicleAuditResponse
            Public Overridable Property VehicleSecuredAudits As List(Of VehicleSecuredAuditDetails)
        End Class
    End Namespace
End Namespace

VB.NET SecuredVehicleAuditRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/SecuredAudit/{identifier} HTTP/1.1 
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<SecuredVehicleAuditResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.VehicleManagement.API.Shared.Clients.Vehicle">
  <VehicleSecuredAudits xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.OS.Vehicle.Shared.POCO">
    <d2p1:VehicleSecuredAuditDetails>
      <d2p1:CreationDate>String</d2p1:CreationDate>
      <d2p1:Notes>String</d2p1:Notes>
      <d2p1:Status>false</d2p1:Status>
      <d2p1:UserId>String</d2p1:UserId>
      <d2p1:CommissionNumber>String</d2p1:CommissionNumber>
      <d2p1:IsBulkUpdate>false</d2p1:IsBulkUpdate>
      <d2p1:Vin>String</d2p1:Vin>
    </d2p1:VehicleSecuredAuditDetails>
  </VehicleSecuredAudits>
</SecuredVehicleAuditResponse>