Mercedes.Agency.Orchestration.API

<back to all web services

GetVehicleBackOrderValidateRequest

Vehicle
Requires Authentication
The following routes are available for this service:
POST/v1/vehicle/backordervalidate/{VehicleIdentifier}Validate Vehicle assignment to BackOrder by Vin or Commission Number
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class GetVehicleBackOrderValidateRequest implements IPost
    {
        public String VehicleIdentifier = null;
        public UUID BackOrderGuid = null;
        
        public String getVehicleIdentifier() { return VehicleIdentifier; }
        public GetVehicleBackOrderValidateRequest setVehicleIdentifier(String value) { this.VehicleIdentifier = value; return this; }
        public UUID getBackOrderGuid() { return BackOrderGuid; }
        public GetVehicleBackOrderValidateRequest setBackOrderGuid(UUID value) { this.BackOrderGuid = value; return this; }
    }

    public static class GetVehicleBackOrderValidateResponse
    {
        public String CommissionNumber = null;
        public String Vin = null;
        public Boolean IsDisplayStock = null;
        public Boolean Specialist = null;
        public String DisplayRetailer = null;
        public Boolean IsValid = null;
        public String ErrorMessage = null;
        public Boolean NotMotability = null;
        
        public String getCommissionNumber() { return CommissionNumber; }
        public GetVehicleBackOrderValidateResponse setCommissionNumber(String value) { this.CommissionNumber = value; return this; }
        public String getVin() { return Vin; }
        public GetVehicleBackOrderValidateResponse setVin(String value) { this.Vin = value; return this; }
        public Boolean getIsDisplayStock() { return IsDisplayStock; }
        public GetVehicleBackOrderValidateResponse setIsDisplayStock(Boolean value) { this.IsDisplayStock = value; return this; }
        public Boolean isSpecialist() { return Specialist; }
        public GetVehicleBackOrderValidateResponse setSpecialist(Boolean value) { this.Specialist = value; return this; }
        public String getDisplayRetailer() { return DisplayRetailer; }
        public GetVehicleBackOrderValidateResponse setDisplayRetailer(String value) { this.DisplayRetailer = value; return this; }
        public Boolean getIsValid() { return IsValid; }
        public GetVehicleBackOrderValidateResponse setIsValid(Boolean value) { this.IsValid = value; return this; }
        public String getErrorMessage() { return ErrorMessage; }
        public GetVehicleBackOrderValidateResponse setErrorMessage(String value) { this.ErrorMessage = value; return this; }
        public Boolean isNotMotability() { return NotMotability; }
        public GetVehicleBackOrderValidateResponse setNotMotability(Boolean value) { this.NotMotability = value; return this; }
    }

}

Java GetVehicleBackOrderValidateRequest 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.

POST /v1/vehicle/backordervalidate/{VehicleIdentifier} HTTP/1.1 
Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetVehicleBackOrderValidateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.ServiceModel.Vehicles">
  <BackOrderGuid>00000000-0000-0000-0000-000000000000</BackOrderGuid>
  <VehicleIdentifier>String</VehicleIdentifier>
</GetVehicleBackOrderValidateRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetVehicleBackOrderValidateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.ServiceModel.Vehicles">
  <CommissionNumber>String</CommissionNumber>
  <DisplayRetailer>String</DisplayRetailer>
  <ErrorMessage>String</ErrorMessage>
  <IsDisplayStock>false</IsDisplayStock>
  <IsValid>false</IsValid>
  <NotMotability>false</NotMotability>
  <Specialist>false</Specialist>
  <Vin>String</Vin>
</GetVehicleBackOrderValidateResponse>