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
GetOrderDetailByGuidRequest Parameters:
NameParameterData TypeRequiredDescription
OrderGuidpathstringNo
GetOrderDetailByGuidResponse Parameters:
NameParameterData TypeRequiredDescription
OrderformOrderDetailByGuidYes
OrderDetailByGuid Parameters:
NameParameterData TypeRequiredDescription
GuidformstringYes
BackOrderReferenceformstringNo
ReferenceformstringYes
AgentformstringYes
VinformstringYes
DescriptionformstringYes
ImageUrlformstringYes
OutrightPurchaseCorporationformstringYes
NetPriceformstringNo
OtrPriceformstringNo
ActualPriceformstringNo
CommissionNumberformstringYes
BodyStyleformstringYes
LineformstringYes
EngineformstringYes
TransmissionformstringYes
FuelformstringYes
ColourformstringYes
UpholsteryformstringYes
PackageformstringNo
FullModelYearCodeformstringNo
PortArrivalDateformstringNo
ProductionDateformstringNo
PersonalisedOfferformstring[]Yes

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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"]}}