Mercedes.Agency.Orchestration.API

<back to all web services

NonOptimalOrderAuditRequest

Requires Authentication
The following routes are available for this service:
GET/v1/NonOptimalOrderAuditGet the audit of orders using non-optimal vehicles
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class NonOptimalOrderAuditRequest
    {
        
    }

    public static class NonOptimalOrderAuditResponse
    {
        public ArrayList<OrderNonOptimalAudit> Audits = new ArrayList<OrderNonOptimalAudit>();
        
        public ArrayList<OrderNonOptimalAudit> getAudits() { return Audits; }
        public NonOptimalOrderAuditResponse setAudits(ArrayList<OrderNonOptimalAudit> value) { this.Audits = value; return this; }
    }

    public static class OrderNonOptimalAudit
    {
        public Integer Id = null;
        public String OrderReference = null;
        public Date AuditDate = null;
        public String Reason = null;
        public String VinOrdered = null;
        public String VinSuggested = null;
        public String GasId = null;
        public String Showroom = null;
        
        public Integer getId() { return Id; }
        public OrderNonOptimalAudit setId(Integer value) { this.Id = value; return this; }
        public String getOrderReference() { return OrderReference; }
        public OrderNonOptimalAudit setOrderReference(String value) { this.OrderReference = value; return this; }
        public Date getAuditDate() { return AuditDate; }
        public OrderNonOptimalAudit setAuditDate(Date value) { this.AuditDate = value; return this; }
        public String getReason() { return Reason; }
        public OrderNonOptimalAudit setReason(String value) { this.Reason = value; return this; }
        public String getVinOrdered() { return VinOrdered; }
        public OrderNonOptimalAudit setVinOrdered(String value) { this.VinOrdered = value; return this; }
        public String getVinSuggested() { return VinSuggested; }
        public OrderNonOptimalAudit setVinSuggested(String value) { this.VinSuggested = value; return this; }
        public String getGasId() { return GasId; }
        public OrderNonOptimalAudit setGasId(String value) { this.GasId = value; return this; }
        public String getShowroom() { return Showroom; }
        public OrderNonOptimalAudit setShowroom(String value) { this.Showroom = value; return this; }
    }

}

Java NonOptimalOrderAuditRequest 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/NonOptimalOrderAudit 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

<NonOptimalOrderAuditResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Responses">
  <Audits xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO">
    <d2p1:OrderNonOptimalAudit>
      <d2p1:AuditDate>0001-01-01T00:00:00</d2p1:AuditDate>
      <d2p1:GasId>String</d2p1:GasId>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:OrderReference>String</d2p1:OrderReference>
      <d2p1:Reason>String</d2p1:Reason>
      <d2p1:Showroom>String</d2p1:Showroom>
      <d2p1:VinOrdered>String</d2p1:VinOrdered>
      <d2p1:VinSuggested>String</d2p1:VinSuggested>
    </d2p1:OrderNonOptimalAudit>
  </Audits>
</NonOptimalOrderAuditResponse>