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 Guid
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class GetBackOrderDetailRequest
    {
        public String BackOrderGuid = null;
        
        public String getBackOrderGuid() { return BackOrderGuid; }
        public GetBackOrderDetailRequest setBackOrderGuid(String value) { this.BackOrderGuid = value; return this; }
    }

    public static class GetBackOrderDetailResponse
    {
        public BackOrderResolveDetail BackOrder = null;
        
        public BackOrderResolveDetail getBackOrder() { return BackOrder; }
        public GetBackOrderDetailResponse setBackOrder(BackOrderResolveDetail value) { this.BackOrder = value; return this; }
    }

    public static class BackOrderResolveDetail
    {
        public String Guid = null;
        public String Reference = null;
        public String Agent = null;
        public String Vin = null;
        public String Description = null;
        public String ImageUrl = null;
        public String OutrightPurchaseCorporation = null;
        public String NetPrice = null;
        public String OtrPrice = null;
        public String ActualPrice = null;
        public String CommissionNumber = null;
        public String BodyStyle = null;
        public String Line = null;
        public String Engine = null;
        public String Transmission = null;
        public String Fuel = null;
        public String Colour = null;
        public String Upholstery = null;
        public String Package = null;
        public String FullModelYearCode = null;
        public String PortArrivalDate = null;
        public String ProductionDate = null;
        
        public String getGuid() { return Guid; }
        public BackOrderResolveDetail setGuid(String value) { this.Guid = value; return this; }
        public String getReference() { return Reference; }
        public BackOrderResolveDetail setReference(String value) { this.Reference = value; return this; }
        public String getAgent() { return Agent; }
        public BackOrderResolveDetail setAgent(String value) { this.Agent = value; return this; }
        public String getVin() { return Vin; }
        public BackOrderResolveDetail setVin(String value) { this.Vin = value; return this; }
        public String getDescription() { return Description; }
        public BackOrderResolveDetail setDescription(String value) { this.Description = value; return this; }
        public String getImageUrl() { return ImageUrl; }
        public BackOrderResolveDetail setImageUrl(String value) { this.ImageUrl = value; return this; }
        public String getOutrightPurchaseCorporation() { return OutrightPurchaseCorporation; }
        public BackOrderResolveDetail setOutrightPurchaseCorporation(String value) { this.OutrightPurchaseCorporation = value; return this; }
        public String getNetPrice() { return NetPrice; }
        public BackOrderResolveDetail setNetPrice(String value) { this.NetPrice = value; return this; }
        public String getOtrPrice() { return OtrPrice; }
        public BackOrderResolveDetail setOtrPrice(String value) { this.OtrPrice = value; return this; }
        public String getActualPrice() { return ActualPrice; }
        public BackOrderResolveDetail setActualPrice(String value) { this.ActualPrice = value; return this; }
        public String getCommissionNumber() { return CommissionNumber; }
        public BackOrderResolveDetail setCommissionNumber(String value) { this.CommissionNumber = value; return this; }
        public String getBodyStyle() { return BodyStyle; }
        public BackOrderResolveDetail setBodyStyle(String value) { this.BodyStyle = value; return this; }
        public String getLine() { return Line; }
        public BackOrderResolveDetail setLine(String value) { this.Line = value; return this; }
        public String getEngine() { return Engine; }
        public BackOrderResolveDetail setEngine(String value) { this.Engine = value; return this; }
        public String getTransmission() { return Transmission; }
        public BackOrderResolveDetail setTransmission(String value) { this.Transmission = value; return this; }
        public String getFuel() { return Fuel; }
        public BackOrderResolveDetail setFuel(String value) { this.Fuel = value; return this; }
        public String getColour() { return Colour; }
        public BackOrderResolveDetail setColour(String value) { this.Colour = value; return this; }
        public String getUpholstery() { return Upholstery; }
        public BackOrderResolveDetail setUpholstery(String value) { this.Upholstery = value; return this; }
        public String getPackage() { return Package; }
        public BackOrderResolveDetail setPackage(String value) { this.Package = value; return this; }
        public String getFullModelYearCode() { return FullModelYearCode; }
        public BackOrderResolveDetail setFullModelYearCode(String value) { this.FullModelYearCode = value; return this; }
        public String getPortArrivalDate() { return PortArrivalDate; }
        public BackOrderResolveDetail setPortArrivalDate(String value) { this.PortArrivalDate = value; return this; }
        public String getProductionDate() { return ProductionDate; }
        public BackOrderResolveDetail setProductionDate(String value) { this.ProductionDate = value; return this; }
    }

}

Java GetBackOrderDetailRequest DTOs

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

HTTP + XML

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: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetBackOrderDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.ServiceModel.BackOrders">
  <BackOrder xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Business.Poco">
    <d2p1:ActualPrice>String</d2p1:ActualPrice>
    <d2p1:Agent>String</d2p1:Agent>
    <d2p1:BodyStyle>String</d2p1:BodyStyle>
    <d2p1:Colour>String</d2p1:Colour>
    <d2p1:CommissionNumber>String</d2p1:CommissionNumber>
    <d2p1:Description>String</d2p1:Description>
    <d2p1:Engine>String</d2p1:Engine>
    <d2p1:Fuel>String</d2p1:Fuel>
    <d2p1:FullModelYearCode>String</d2p1:FullModelYearCode>
    <d2p1:Guid>String</d2p1:Guid>
    <d2p1:ImageUrl>String</d2p1:ImageUrl>
    <d2p1:Line>String</d2p1:Line>
    <d2p1:NetPrice>String</d2p1:NetPrice>
    <d2p1:OtrPrice>String</d2p1:OtrPrice>
    <d2p1:OutrightPurchaseCorporation>String</d2p1:OutrightPurchaseCorporation>
    <d2p1:Package>String</d2p1:Package>
    <d2p1:PortArrivalDate>String</d2p1:PortArrivalDate>
    <d2p1:ProductionDate>String</d2p1:ProductionDate>
    <d2p1:Reference>String</d2p1:Reference>
    <d2p1:Transmission>String</d2p1:Transmission>
    <d2p1:Upholstery>String</d2p1:Upholstery>
    <d2p1:Vin>String</d2p1:Vin>
  </BackOrder>
</GetBackOrderDetailResponse>