| GET | /v1/backorder/detail/{BackOrderGuid} | Get Back Order detail by Guid | Get Back Order detail by Guid |
|---|
package dtos
type GetBackOrderDetailRequest struct {
BackOrderGuid string `json:"backOrderGuid"`
}
type BackOrderResolveDetail struct {
Guid string `json:"guid"`
Reference string `json:"reference"`
Agent string `json:"agent"`
Vin *string `json:"vin,omitempty"`
Description *string `json:"description,omitempty"`
ImageUrl *string `json:"imageUrl,omitempty"`
OutrightPurchaseCorporation *string `json:"outrightPurchaseCorporation,omitempty"`
NetPrice *string `json:"netPrice,omitempty"`
OtrPrice *string `json:"otrPrice,omitempty"`
ActualPrice *string `json:"actualPrice,omitempty"`
CommissionNumber *string `json:"commissionNumber,omitempty"`
BodyStyle *string `json:"bodyStyle,omitempty"`
Line *string `json:"line,omitempty"`
Engine *string `json:"engine,omitempty"`
Transmission *string `json:"transmission,omitempty"`
Fuel *string `json:"fuel,omitempty"`
Colour *string `json:"colour,omitempty"`
Upholstery *string `json:"upholstery,omitempty"`
Package *string `json:"package,omitempty"`
FullModelYearCode *string `json:"fullModelYearCode,omitempty"`
PortArrivalDate *string `json:"portArrivalDate,omitempty"`
}
type GetBackOrderDetailResponse struct {
BackOrder BackOrderResolveDetail `json:"backOrder"`
}
Go GetBackOrderDetailRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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
}
}