POST | /v1/backorder | Create Back Order (Online Showroom) |
---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class CreateBackOrderRequest extends CreateBackOrderBase implements IPost
{
}
public static class CreateBackOrderBase
{
public String GssnId = null;
public String AdditionalInformation = null;
public String ConfigCode = null;
public Source Source = null;
public String TagUrl = null;
public Customer Customer = null;
public Criteria CustomerCriteria = null;
public V2Criteria AgentCriteria = null;
public OutrightPurchase OutrightPurchase = null;
public String GasId = null;
public Boolean Motability = null;
public Integer MotabilityPricingId = null;
public Integer AssistanceProviderId = null;
public String AssistanceDetail = null;
public String ConfiguratorCode = null;
public String getGssnId() { return GssnId; }
public CreateBackOrderBase setGssnId(String value) { this.GssnId = value; return this; }
public String getAdditionalInformation() { return AdditionalInformation; }
public CreateBackOrderBase setAdditionalInformation(String value) { this.AdditionalInformation = value; return this; }
public String getConfigCode() { return ConfigCode; }
public CreateBackOrderBase setConfigCode(String value) { this.ConfigCode = value; return this; }
public Source getSource() { return Source; }
public CreateBackOrderBase setSource(Source value) { this.Source = value; return this; }
public String getTagUrl() { return TagUrl; }
public CreateBackOrderBase setTagUrl(String value) { this.TagUrl = value; return this; }
public Customer getCustomer() { return Customer; }
public CreateBackOrderBase setCustomer(Customer value) { this.Customer = value; return this; }
public Criteria getCustomerCriteria() { return CustomerCriteria; }
public CreateBackOrderBase setCustomerCriteria(Criteria value) { this.CustomerCriteria = value; return this; }
public V2Criteria getAgentCriteria() { return AgentCriteria; }
public CreateBackOrderBase setAgentCriteria(V2Criteria value) { this.AgentCriteria = value; return this; }
public OutrightPurchase getOutrightPurchase() { return OutrightPurchase; }
public CreateBackOrderBase setOutrightPurchase(OutrightPurchase value) { this.OutrightPurchase = value; return this; }
public String getGasId() { return GasId; }
public CreateBackOrderBase setGasId(String value) { this.GasId = value; return this; }
public Boolean isMotability() { return Motability; }
public CreateBackOrderBase setMotability(Boolean value) { this.Motability = value; return this; }
public Integer getMotabilityPricingId() { return MotabilityPricingId; }
public CreateBackOrderBase setMotabilityPricingId(Integer value) { this.MotabilityPricingId = value; return this; }
public Integer getAssistanceProviderId() { return AssistanceProviderId; }
public CreateBackOrderBase setAssistanceProviderId(Integer value) { this.AssistanceProviderId = value; return this; }
public String getAssistanceDetail() { return AssistanceDetail; }
public CreateBackOrderBase setAssistanceDetail(String value) { this.AssistanceDetail = value; return this; }
public String getConfiguratorCode() { return ConfiguratorCode; }
public CreateBackOrderBase setConfiguratorCode(String value) { this.ConfiguratorCode = value; return this; }
}
public static enum Source
{
OnlineShowroom(1),
OneAdmin(2);
private final int value;
Source(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
public static class Customer extends SalesforceCustomer
{
public UUID ProfileId = null;
public Preferences Preferences = null;
public UUID getProfileId() { return ProfileId; }
public Customer setProfileId(UUID value) { this.ProfileId = value; return this; }
public Preferences getPreferences() { return Preferences; }
public Customer setPreferences(Preferences value) { this.Preferences = value; return this; }
}
public static class SalesforceCustomer implements ICustomer
{
public String CustomerId = null;
public Boolean IsCiam = null;
public String CompanyName = null;
public String Title = null;
public String Firstname = null;
public String Surname = null;
public String EmailAddress = null;
public String Telephone = null;
public Address Address = null;
public CustomerMode Mode = null;
public String getCustomerId() { return CustomerId; }
public SalesforceCustomer setCustomerId(String value) { this.CustomerId = value; return this; }
public Boolean getIsCiam() { return IsCiam; }
public SalesforceCustomer setIsCiam(Boolean value) { this.IsCiam = value; return this; }
public String getCompanyName() { return CompanyName; }
public SalesforceCustomer setCompanyName(String value) { this.CompanyName = value; return this; }
public String getTitle() { return Title; }
public SalesforceCustomer setTitle(String value) { this.Title = value; return this; }
public String getFirstname() { return Firstname; }
public SalesforceCustomer setFirstname(String value) { this.Firstname = value; return this; }
public String getSurname() { return Surname; }
public SalesforceCustomer setSurname(String value) { this.Surname = value; return this; }
public String getEmailAddress() { return EmailAddress; }
public SalesforceCustomer setEmailAddress(String value) { this.EmailAddress = value; return this; }
public String getTelephone() { return Telephone; }
public SalesforceCustomer setTelephone(String value) { this.Telephone = value; return this; }
public Address getAddress() { return Address; }
public SalesforceCustomer setAddress(Address value) { this.Address = value; return this; }
public CustomerMode getMode() { return Mode; }
public SalesforceCustomer setMode(CustomerMode value) { this.Mode = value; return this; }
}
public static class Address
{
public String Property = null;
public String Street = null;
public String Town = null;
public String County = null;
public String Locality = null;
public String Postcode = null;
public String getProperty() { return Property; }
public Address setProperty(String value) { this.Property = value; return this; }
public String getStreet() { return Street; }
public Address setStreet(String value) { this.Street = value; return this; }
public String getTown() { return Town; }
public Address setTown(String value) { this.Town = value; return this; }
public String getCounty() { return County; }
public Address setCounty(String value) { this.County = value; return this; }
public String getLocality() { return Locality; }
public Address setLocality(String value) { this.Locality = value; return this; }
public String getPostcode() { return Postcode; }
public Address setPostcode(String value) { this.Postcode = value; return this; }
}
public static enum CustomerMode
{
Private(1),
Business(2),
Motability(3);
private final int value;
CustomerMode(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
public static class Preferences
{
public Boolean OptinEmail = null;
public Boolean OptinPost = null;
public Boolean OptinSMS = null;
public Boolean OptinTelephone = null;
public Boolean isOptinEmail() { return OptinEmail; }
public Preferences setOptinEmail(Boolean value) { this.OptinEmail = value; return this; }
public Boolean isOptinPost() { return OptinPost; }
public Preferences setOptinPost(Boolean value) { this.OptinPost = value; return this; }
public Boolean isOptinSMS() { return OptinSMS; }
public Preferences setOptinSMS(Boolean value) { this.OptinSMS = value; return this; }
public Boolean isOptinTelephone() { return OptinTelephone; }
public Preferences setOptinTelephone(Boolean value) { this.OptinTelephone = value; return this; }
}
public static class Criteria extends CriteriaBase
{
public ArrayList<String> Engine = new ArrayList<String>();
public ArrayList<String> getEngine() { return Engine; }
public Criteria setEngine(ArrayList<String> value) { this.Engine = value; return this; }
}
public static class CriteriaBase extends JsonVersion
{
public ArrayList<String> Transmission = new ArrayList<String>();
public ArrayList<String> Fuel = new ArrayList<String>();
public ArrayList<String> Upholstery = new ArrayList<String>();
public ArrayList<String> Equipment = new ArrayList<String>();
public ArrayList<String> Line = new ArrayList<String>();
public ArrayList<String> BodyStyle = new ArrayList<String>();
public ArrayList<String> ColourGroup = new ArrayList<String>();
public ArrayList<String> Packages = new ArrayList<String>();
public ArrayList<CriteriaModel> Model = new ArrayList<CriteriaModel>();
public String UrlReferrer = null;
public String PreferredDeliveryDate = null;
@ApiMember(ExcludeInSchema=true)
public Boolean IsNewModel = null;
@ApiMember(ExcludeInSchema=true)
public Boolean IsSmart = null;
@ApiMember(ExcludeInSchema=true)
public Boolean IsSpecialised = null;
@ApiMember(ExcludeInSchema=true)
public CriteriaDifference CriteriaDifference = null;
public ArrayList<String> getTransmission() { return Transmission; }
public CriteriaBase setTransmission(ArrayList<String> value) { this.Transmission = value; return this; }
public ArrayList<String> getFuel() { return Fuel; }
public CriteriaBase setFuel(ArrayList<String> value) { this.Fuel = value; return this; }
public ArrayList<String> getUpholstery() { return Upholstery; }
public CriteriaBase setUpholstery(ArrayList<String> value) { this.Upholstery = value; return this; }
public ArrayList<String> getEquipment() { return Equipment; }
public CriteriaBase setEquipment(ArrayList<String> value) { this.Equipment = value; return this; }
public ArrayList<String> getLine() { return Line; }
public CriteriaBase setLine(ArrayList<String> value) { this.Line = value; return this; }
public ArrayList<String> getBodyStyle() { return BodyStyle; }
public CriteriaBase setBodyStyle(ArrayList<String> value) { this.BodyStyle = value; return this; }
public ArrayList<String> getColourGroup() { return ColourGroup; }
public CriteriaBase setColourGroup(ArrayList<String> value) { this.ColourGroup = value; return this; }
public ArrayList<String> getPackages() { return Packages; }
public CriteriaBase setPackages(ArrayList<String> value) { this.Packages = value; return this; }
public ArrayList<CriteriaModel> getModel() { return Model; }
public CriteriaBase setModel(ArrayList<CriteriaModel> value) { this.Model = value; return this; }
public String getUrlReferrer() { return UrlReferrer; }
public CriteriaBase setUrlReferrer(String value) { this.UrlReferrer = value; return this; }
public String getPreferredDeliveryDate() { return PreferredDeliveryDate; }
public CriteriaBase setPreferredDeliveryDate(String value) { this.PreferredDeliveryDate = value; return this; }
public Boolean getIsNewModel() { return IsNewModel; }
public CriteriaBase setIsNewModel(Boolean value) { this.IsNewModel = value; return this; }
public Boolean getIsSmart() { return IsSmart; }
public CriteriaBase setIsSmart(Boolean value) { this.IsSmart = value; return this; }
public Boolean getIsSpecialised() { return IsSpecialised; }
public CriteriaBase setIsSpecialised(Boolean value) { this.IsSpecialised = value; return this; }
public CriteriaDifference getCriteriaDifference() { return CriteriaDifference; }
public CriteriaBase setCriteriaDifference(CriteriaDifference value) { this.CriteriaDifference = value; return this; }
}
public static class JsonVersion implements IJsonVersion
{
public Integer Version = null;
public Integer getVersion() { return Version; }
public JsonVersion setVersion(Integer value) { this.Version = value; return this; }
}
public static class CriteriaModel
{
public String Description = null;
public Integer Id = null;
public String getDescription() { return Description; }
public CriteriaModel setDescription(String value) { this.Description = value; return this; }
public Integer getId() { return Id; }
public CriteriaModel setId(Integer value) { this.Id = value; return this; }
}
public static class CriteriaDifference
{
public Boolean Model = null;
public Boolean Transmission = null;
public Boolean Fuel = null;
public Boolean Upholstery = null;
public Boolean Equipment = null;
public Boolean Line = null;
public Boolean BodyStyle = null;
public Boolean ColourGroup = null;
public Boolean Packages = null;
public Boolean Engine = null;
public Boolean AdditionalInformation = null;
public Boolean UrlReferrer = null;
public Boolean PreferredDeliveryDate = null;
public Boolean IsSmart = null;
public Boolean IsSpecialised = null;
public Boolean isModel() { return Model; }
public CriteriaDifference setModel(Boolean value) { this.Model = value; return this; }
public Boolean isTransmission() { return Transmission; }
public CriteriaDifference setTransmission(Boolean value) { this.Transmission = value; return this; }
public Boolean isFuel() { return Fuel; }
public CriteriaDifference setFuel(Boolean value) { this.Fuel = value; return this; }
public Boolean isUpholstery() { return Upholstery; }
public CriteriaDifference setUpholstery(Boolean value) { this.Upholstery = value; return this; }
public Boolean isEquipment() { return Equipment; }
public CriteriaDifference setEquipment(Boolean value) { this.Equipment = value; return this; }
public Boolean isLine() { return Line; }
public CriteriaDifference setLine(Boolean value) { this.Line = value; return this; }
public Boolean isBodyStyle() { return BodyStyle; }
public CriteriaDifference setBodyStyle(Boolean value) { this.BodyStyle = value; return this; }
public Boolean isColourGroup() { return ColourGroup; }
public CriteriaDifference setColourGroup(Boolean value) { this.ColourGroup = value; return this; }
public Boolean isPackages() { return Packages; }
public CriteriaDifference setPackages(Boolean value) { this.Packages = value; return this; }
public Boolean isEngine() { return Engine; }
public CriteriaDifference setEngine(Boolean value) { this.Engine = value; return this; }
public Boolean isAdditionalInformation() { return AdditionalInformation; }
public CriteriaDifference setAdditionalInformation(Boolean value) { this.AdditionalInformation = value; return this; }
public Boolean isUrlReferrer() { return UrlReferrer; }
public CriteriaDifference setUrlReferrer(Boolean value) { this.UrlReferrer = value; return this; }
public Boolean isPreferredDeliveryDate() { return PreferredDeliveryDate; }
public CriteriaDifference setPreferredDeliveryDate(Boolean value) { this.PreferredDeliveryDate = value; return this; }
public Boolean getIsSmart() { return IsSmart; }
public CriteriaDifference setIsSmart(Boolean value) { this.IsSmart = value; return this; }
public Boolean getIsSpecialised() { return IsSpecialised; }
public CriteriaDifference setIsSpecialised(Boolean value) { this.IsSpecialised = value; return this; }
}
public static class V2Criteria extends CriteriaBase
{
public ArrayList<V2EngineCriteria> Engine = new ArrayList<V2EngineCriteria>();
public ArrayList<V2EngineCriteria> getEngine() { return Engine; }
public V2Criteria setEngine(ArrayList<V2EngineCriteria> value) { this.Engine = value; return this; }
}
public static class V2EngineCriteria
{
public String Badge = null;
public String Brand = null;
public String getBadge() { return Badge; }
public V2EngineCriteria setBadge(String value) { this.Badge = value; return this; }
public String getBrand() { return Brand; }
public V2EngineCriteria setBrand(String value) { this.Brand = value; return this; }
}
public static class OutrightPurchase
{
public Boolean IsOutrightPurchase = null;
public String Reference = null;
public BigDecimal DiscountRate = null;
public String Bm7NST = null;
public Boolean IsBackOrder = null;
public Boolean IsCOPConverter = null;
public Boolean getIsOutrightPurchase() { return IsOutrightPurchase; }
public OutrightPurchase setIsOutrightPurchase(Boolean value) { this.IsOutrightPurchase = value; return this; }
public String getReference() { return Reference; }
public OutrightPurchase setReference(String value) { this.Reference = value; return this; }
public BigDecimal getDiscountRate() { return DiscountRate; }
public OutrightPurchase setDiscountRate(BigDecimal value) { this.DiscountRate = value; return this; }
public String getBm7NST() { return Bm7NST; }
public OutrightPurchase setBm7NST(String value) { this.Bm7NST = value; return this; }
public Boolean getIsBackOrder() { return IsBackOrder; }
public OutrightPurchase setIsBackOrder(Boolean value) { this.IsBackOrder = value; return this; }
public Boolean getIsCOPConverter() { return IsCOPConverter; }
public OutrightPurchase setIsCOPConverter(Boolean value) { this.IsCOPConverter = value; return this; }
}
public static class CreateBackOrderResponse
{
public String Guid = null;
public String Reference = null;
public String getGuid() { return Guid; }
public CreateBackOrderResponse setGuid(String value) { this.Guid = value; return this; }
public String getReference() { return Reference; }
public CreateBackOrderResponse setReference(String value) { this.Reference = value; return this; }
}
}
Java CreateBackOrderRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/backorder HTTP/1.1
Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<CreateBackOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.ServiceModel.BackOrders">
<AdditionalInformation xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Requests">String</AdditionalInformation>
<AgentCriteria xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Requests">
<d2p1:Version>0</d2p1:Version>
<d2p1:BodyStyle xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:BodyStyle>
<d2p1:ColourGroup xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:ColourGroup>
<d2p1:CriteriaDifference>
<d2p1:AdditionalInformation>false</d2p1:AdditionalInformation>
<d2p1:BodyStyle>false</d2p1:BodyStyle>
<d2p1:ColourGroup>false</d2p1:ColourGroup>
<d2p1:Engine>false</d2p1:Engine>
<d2p1:Equipment>false</d2p1:Equipment>
<d2p1:Fuel>false</d2p1:Fuel>
<d2p1:IsSmart>false</d2p1:IsSmart>
<d2p1:IsSpecialised>false</d2p1:IsSpecialised>
<d2p1:Line>false</d2p1:Line>
<d2p1:Model>false</d2p1:Model>
<d2p1:Packages>false</d2p1:Packages>
<d2p1:PreferredDeliveryDate>false</d2p1:PreferredDeliveryDate>
<d2p1:Transmission>false</d2p1:Transmission>
<d2p1:Upholstery>false</d2p1:Upholstery>
<d2p1:UrlReferrer>false</d2p1:UrlReferrer>
</d2p1:CriteriaDifference>
<d2p1:Equipment xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:Equipment>
<d2p1:Fuel xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:Fuel>
<d2p1:IsNewModel>false</d2p1:IsNewModel>
<d2p1:IsSmart>false</d2p1:IsSmart>
<d2p1:IsSpecialised>false</d2p1:IsSpecialised>
<d2p1:Line xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:Line>
<d2p1:Model>
<d2p1:CriteriaModel>
<d2p1:Description>String</d2p1:Description>
<d2p1:Id>0</d2p1:Id>
</d2p1:CriteriaModel>
</d2p1:Model>
<d2p1:Packages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:Packages>
<d2p1:PreferredDeliveryDate>String</d2p1:PreferredDeliveryDate>
<d2p1:Transmission xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:Transmission>
<d2p1:Upholstery xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:Upholstery>
<d2p1:UrlReferrer>String</d2p1:UrlReferrer>
<d2p1:Engine>
<d2p1:V2EngineCriteria>
<d2p1:Badge>String</d2p1:Badge>
<d2p1:Brand>String</d2p1:Brand>
</d2p1:V2EngineCriteria>
</d2p1:Engine>
</AgentCriteria>
<AssistanceDetail xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Requests">String</AssistanceDetail>
<AssistanceProviderId xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Requests">0</AssistanceProviderId>
<ConfigCode xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Requests">String</ConfigCode>
<ConfiguratorCode xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Requests">String</ConfiguratorCode>
<Customer xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Requests">
<d2p1:Address>
<d2p1:County>String</d2p1:County>
<d2p1:Locality>String</d2p1:Locality>
<d2p1:Postcode>String</d2p1:Postcode>
<d2p1:Property>String</d2p1:Property>
<d2p1:Street>String</d2p1:Street>
<d2p1:Town>String</d2p1:Town>
</d2p1:Address>
<d2p1:CompanyName>String</d2p1:CompanyName>
<d2p1:CustomerId>String</d2p1:CustomerId>
<d2p1:EmailAddress>String</d2p1:EmailAddress>
<d2p1:Firstname>String</d2p1:Firstname>
<d2p1:IsCiam>false</d2p1:IsCiam>
<d2p1:Mode>Private</d2p1:Mode>
<d2p1:Surname>String</d2p1:Surname>
<d2p1:Telephone>String</d2p1:Telephone>
<d2p1:Title>String</d2p1:Title>
<d2p1:Preferences>
<d2p1:OptinEmail>false</d2p1:OptinEmail>
<d2p1:OptinPost>false</d2p1:OptinPost>
<d2p1:OptinSMS>false</d2p1:OptinSMS>
<d2p1:OptinTelephone>false</d2p1:OptinTelephone>
</d2p1:Preferences>
<d2p1:ProfileId>00000000-0000-0000-0000-000000000000</d2p1:ProfileId>
</Customer>
<CustomerCriteria xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Requests">
<d2p1:Version>0</d2p1:Version>
<d2p1:BodyStyle xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:BodyStyle>
<d2p1:ColourGroup xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:ColourGroup>
<d2p1:CriteriaDifference>
<d2p1:AdditionalInformation>false</d2p1:AdditionalInformation>
<d2p1:BodyStyle>false</d2p1:BodyStyle>
<d2p1:ColourGroup>false</d2p1:ColourGroup>
<d2p1:Engine>false</d2p1:Engine>
<d2p1:Equipment>false</d2p1:Equipment>
<d2p1:Fuel>false</d2p1:Fuel>
<d2p1:IsSmart>false</d2p1:IsSmart>
<d2p1:IsSpecialised>false</d2p1:IsSpecialised>
<d2p1:Line>false</d2p1:Line>
<d2p1:Model>false</d2p1:Model>
<d2p1:Packages>false</d2p1:Packages>
<d2p1:PreferredDeliveryDate>false</d2p1:PreferredDeliveryDate>
<d2p1:Transmission>false</d2p1:Transmission>
<d2p1:Upholstery>false</d2p1:Upholstery>
<d2p1:UrlReferrer>false</d2p1:UrlReferrer>
</d2p1:CriteriaDifference>
<d2p1:Equipment xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:Equipment>
<d2p1:Fuel xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:Fuel>
<d2p1:IsNewModel>false</d2p1:IsNewModel>
<d2p1:IsSmart>false</d2p1:IsSmart>
<d2p1:IsSpecialised>false</d2p1:IsSpecialised>
<d2p1:Line xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:Line>
<d2p1:Model>
<d2p1:CriteriaModel>
<d2p1:Description>String</d2p1:Description>
<d2p1:Id>0</d2p1:Id>
</d2p1:CriteriaModel>
</d2p1:Model>
<d2p1:Packages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:Packages>
<d2p1:PreferredDeliveryDate>String</d2p1:PreferredDeliveryDate>
<d2p1:Transmission xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:Transmission>
<d2p1:Upholstery xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:Upholstery>
<d2p1:UrlReferrer>String</d2p1:UrlReferrer>
<d2p1:Engine xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:Engine>
</CustomerCriteria>
<GasId xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Requests">String</GasId>
<GssnId xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Requests">String</GssnId>
<Motability xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Requests">false</Motability>
<MotabilityPricingId xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Requests">0</MotabilityPricingId>
<OutrightPurchase xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Requests">
<d2p1:Bm7NST>String</d2p1:Bm7NST>
<d2p1:DiscountRate>0</d2p1:DiscountRate>
<d2p1:IsBackOrder>false</d2p1:IsBackOrder>
<d2p1:IsCOPConverter>false</d2p1:IsCOPConverter>
<d2p1:IsOutrightPurchase>false</d2p1:IsOutrightPurchase>
<d2p1:Reference>String</d2p1:Reference>
</OutrightPurchase>
<Source xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Requests">OnlineShowroom</Source>
<TagUrl xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Requests">String</TagUrl>
</CreateBackOrderRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <CreateBackOrderResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Responses"> <Guid>String</Guid> <Reference>String</Reference> </CreateBackOrderResponse>