Mercedes.Agency.Orchestration.API

<back to all web services

GetBackOrderDetailRequest

BackOrder
Requires Authentication
The following routes are available for this service:
GET/v1/backorder/detail/{BackOrderGuid}Get Back Order detail by GuidGet Back Order detail by Guid
const std = @import("std");

pub const GetBackOrderDetailRequest = struct {
    back_order_guid: ?[]const u8 = null,
};

pub const BackOrderResolveDetail = struct {
    guid: ?[]const u8 = null,
    reference: ?[]const u8 = null,
    agent: ?[]const u8 = null,
    vin: ?[]const u8 = null,
    description: ?[]const u8 = null,
    image_url: ?[]const u8 = null,
    outright_purchase_corporation: ?[]const u8 = null,
    net_price: ?[]const u8 = null,
    otr_price: ?[]const u8 = null,
    actual_price: ?[]const u8 = null,
    commission_number: ?[]const u8 = null,
    body_style: ?[]const u8 = null,
    line: ?[]const u8 = null,
    engine: ?[]const u8 = null,
    transmission: ?[]const u8 = null,
    fuel: ?[]const u8 = null,
    colour: ?[]const u8 = null,
    upholstery: ?[]const u8 = null,
    package: ?[]const u8 = null,
    full_model_year_code: ?[]const u8 = null,
    port_arrival_date: ?[]const u8 = null,
};

pub const GetBackOrderDetailResponse = struct {
    back_order: ?BackOrderResolveDetail = null,
};

Zig GetBackOrderDetailRequest DTOs

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

HTTP + 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
	}
}