GET | /v1/backorder/detail/{BackOrderGuid} | Get Back Order detail by Guid |
---|
"use strict";
export class GetBackOrderDetailRequest {
/** @param {{BackOrderGuid?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
BackOrderGuid;
}
export class BackOrderResolveDetail {
/** @param {{Guid?: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}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Guid;
/** @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;
}
export class GetBackOrderDetailResponse {
/** @param {{BackOrder?:BackOrderResolveDetail}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {BackOrderResolveDetail} */
BackOrder;
}
JavaScript GetBackOrderDetailRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/backorder/detail/{BackOrderGuid} HTTP/1.1 Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <GetBackOrderDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.ServiceModel.BackOrders"> <BackOrder xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Business.Poco"> <d2p1:ActualPrice>String</d2p1:ActualPrice> <d2p1:Agent>String</d2p1:Agent> <d2p1:BodyStyle>String</d2p1:BodyStyle> <d2p1:Colour>String</d2p1:Colour> <d2p1:CommissionNumber>String</d2p1:CommissionNumber> <d2p1:Description>String</d2p1:Description> <d2p1:Engine>String</d2p1:Engine> <d2p1:Fuel>String</d2p1:Fuel> <d2p1:FullModelYearCode>String</d2p1:FullModelYearCode> <d2p1:Guid>String</d2p1:Guid> <d2p1:ImageUrl>String</d2p1:ImageUrl> <d2p1:Line>String</d2p1:Line> <d2p1:NetPrice>String</d2p1:NetPrice> <d2p1:OtrPrice>String</d2p1:OtrPrice> <d2p1:OutrightPurchaseCorporation>String</d2p1:OutrightPurchaseCorporation> <d2p1:Package>String</d2p1:Package> <d2p1:PortArrivalDate>String</d2p1:PortArrivalDate> <d2p1:ProductionDate>String</d2p1:ProductionDate> <d2p1:Reference>String</d2p1:Reference> <d2p1:Transmission>String</d2p1:Transmission> <d2p1:Upholstery>String</d2p1:Upholstery> <d2p1:Vin>String</d2p1:Vin> </BackOrder> </GetBackOrderDetailResponse>