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
"use strict";
export class GetOrderDetailByGuidRequest {
    /** @param {{OrderGuid?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {?string} */
    OrderGuid;
}
export class OrderDetailByGuid {
    /** @param {{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[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Guid;
    /** @type {?string} */
    BackOrderReference;
    /** @type {string} */
    Reference;
    /** @type {string} */
    Agent;
    /** @type {string} */
    Vin;
    /** @type {string} */
    Description;
    /** @type {string} */
    ImageUrl;
    /** @type {string} */
    OutrightPurchaseCorporation;
    /** @type {?string} */
    NetPrice;
    /** @type {?string} */
    OtrPrice;
    /** @type {?string} */
    ActualPrice;
    /** @type {string} */
    CommissionNumber;
    /** @type {string} */
    BodyStyle;
    /** @type {string} */
    Line;
    /** @type {string} */
    Engine;
    /** @type {string} */
    Transmission;
    /** @type {string} */
    Fuel;
    /** @type {string} */
    Colour;
    /** @type {string} */
    Upholstery;
    /** @type {?string} */
    Package;
    /** @type {?string} */
    FullModelYearCode;
    /** @type {?string} */
    PortArrivalDate;
    /** @type {?string} */
    ProductionDate;
    /** @type {string[]} */
    PersonalisedOffer = [];
}
export class GetOrderDetailByGuidResponse {
    /** @param {{Order?:OrderDetailByGuid}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {OrderDetailByGuid} */
    Order;
}

JavaScript 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
		]
	}
}