Mercedes.Agency.Orchestration.API

<back to all web services

VehicleSwapResolveAuditRequest

VehicleSwap
Requires Authentication
The following routes are available for this service:
GET/v1/vehicleswap/resolve/auditGet mismatched vehicle swap auditsGet mismatched vehicle swap audits
import Foundation
import ServiceStack

public class VehicleSwapResolveAuditRequest : Codable
{
    required public init(){}
}

public class VehicleSwapResolveAuditResponse : Codable
{
    public var audits:[DisplayVehicleSwapResolveAudit] = []

    required public init(){}
}

public class DisplayVehicleSwapResolveAudit : Codable
{
    public var id:Int
    public var action:String
    public var created:Date
    public var guid:String
    public var user:String

    required public init(){}
}


Swift VehicleSwapResolveAuditRequest DTOs

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

HTTP + JSV

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

GET /v1/vehicleswap/resolve/audit HTTP/1.1 
Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Audits: 
	[
		{
			Id: 0,
			Action: String,
			Created: 0001-01-01,
			Guid: 00000000000000000000000000000000,
			User: String
		}
	]
}