Mercedes.Agency.Orchestration.API

<back to all web services

VehicleSwapResolveAuditByGuidRequest

VehicleSwap
Requires Authentication
The following routes are available for this service:
GET/v1/vehicleswap/resolve/{VehicleSwapGuid}/auditGet mismatched vehicle swap auditsGet mismatched vehicle swap audits for given vehicle swap
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class VehicleSwapResolveAuditByGuidRequest : BaseVehicleSwapResolveRequest()
{
}

open class BaseVehicleSwapResolveRequest
{
    open var VehicleSwapGuid:String? = null
}

open class VehicleSwapResolveAuditResponse
{
    open var Audits:ArrayList<DisplayVehicleSwapResolveAudit> = ArrayList<DisplayVehicleSwapResolveAudit>()
}

open class DisplayVehicleSwapResolveAudit
{
    open var Id:Int? = null
    open var Action:String? = null
    open var Created:Date? = null
    open var Guid:UUID? = null
    open var User:String? = null
}

Kotlin VehicleSwapResolveAuditByGuidRequest 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/{VehicleSwapGuid}/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
		}
	]
}