GET | /v1/backorder/detail/{BackOrderGuid} | Get Back Order detail 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.BackOrders
Imports Mercedes.Agency.Orchestration.API.Business.Poco
Namespace Global
Namespace Mercedes.Agency.Orchestration.API.Business.Poco
Public Partial Class BackOrderResolveDetail
Public Overridable Property Guid 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
End Class
End Namespace
Namespace Mercedes.Agency.Orchestration.API.ServiceModel.BackOrders
Public Partial Class GetBackOrderDetailRequest
Public Overridable Property BackOrderGuid As String
End Class
Public Partial Class GetBackOrderDetailResponse
Public Overridable Property BackOrder As BackOrderResolveDetail
End Class
End Namespace
End Namespace
VB.NET GetBackOrderDetailRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"BackOrder":{"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"}}