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 .other suffix or ?format=other

HTTP + OTHER

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

{"Audits":[{"Id":0,"OrderReference":"String","AuditDate":"\/Date(-62135596800000-0000)\/","Reason":"String","VinOrdered":"String","VinSuggested":"String","GasId":"String","Showroom":"String"}]}