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
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Mercedes.Agency.Orchestration.API.ServiceModel.Orders

Namespace Global

    Namespace Mercedes.Agency.Orchestration.API.ServiceModel.Orders

        Public Partial Class GetOrderDetailByGuidRequest
            Public Overridable Property OrderGuid As String
        End Class

        Public Partial Class GetOrderDetailByGuidResponse
            Public Overridable Property Order As OrderDetailByGuid
        End Class

        Public Partial Class OrderDetailByGuid
            Public Overridable Property Guid As String
            Public Overridable Property BackOrderReference As String
            Public Overridable Property Reference As String
            Public Overridable Property Agent As String
            Public Overridable Property Vin As String
            Public Overridable Property Description As String
            Public Overridable Property ImageUrl As String
            Public Overridable Property OutrightPurchaseCorporation As String
            Public Overridable Property NetPrice As String
            Public Overridable Property OtrPrice As String
            Public Overridable Property ActualPrice As String
            Public Overridable Property CommissionNumber As String
            Public Overridable Property BodyStyle As String
            Public Overridable Property Line As String
            Public Overridable Property Engine As String
            Public Overridable Property Transmission As String
            Public Overridable Property Fuel As String
            Public Overridable Property Colour As String
            Public Overridable Property Upholstery As String
            Public Overridable Property Package As String
            Public Overridable Property FullModelYearCode As String
            Public Overridable Property PortArrivalDate As String
            Public Overridable Property ProductionDate As String
            Public Overridable Property PersonalisedOffer As String() = New String(){}
        End Class
    End Namespace
End Namespace

VB.NET GetOrderDetailByGuidRequest DTOs

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