Mercedes.Agency.Orchestration.API

<back to all web services

GetOrderDetailByGuidRequest

Order
Requires Authentication
The following routes are available for this service:
GET/v1/order/detail/{OrderGuid}Get Order by Guid
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class GetOrderDetailByGuidRequest
{
    open var OrderGuid:String? = null
}

open class GetOrderDetailByGuidResponse
{
    open var Order:OrderDetailByGuid? = null
}

open class OrderDetailByGuid
{
    open var Guid:String? = null
    open var BackOrderReference:String? = null
    open var Reference:String? = null
    open var Agent:String? = null
    open var Vin:String? = null
    open var Description:String? = null
    open var ImageUrl:String? = null
    open var OutrightPurchaseCorporation:String? = null
    open var NetPrice:String? = null
    open var OtrPrice:String? = null
    open var ActualPrice:String? = null
    open var CommissionNumber:String? = null
    open var BodyStyle:String? = null
    open var Line:String? = null
    open var Engine:String? = null
    open var Transmission:String? = null
    open var Fuel:String? = null
    open var Colour:String? = null
    open var Upholstery:String? = null
    open var Package:String? = null
    open var FullModelYearCode:String? = null
    open var PortArrivalDate:String? = null
    open var ProductionDate:String? = null
    open var PersonalisedOffer:ArrayList<String> = ArrayList<String>()
}

Kotlin GetOrderDetailByGuidRequest 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/order/detail/{OrderGuid} 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

{
	Order: 
	{
		Guid: String,
		BackOrderReference: String,
		Reference: String,
		Agent: String,
		Vin: String,
		Description: String,
		ImageUrl: String,
		OutrightPurchaseCorporation: String,
		NetPrice: String,
		OtrPrice: String,
		ActualPrice: String,
		CommissionNumber: String,
		BodyStyle: String,
		Line: String,
		Engine: String,
		Transmission: String,
		Fuel: String,
		Colour: String,
		Upholstery: String,
		Package: String,
		FullModelYearCode: String,
		PortArrivalDate: String,
		ProductionDate: String,
		PersonalisedOffer: 
		[
			String
		]
	}
}