GET | /v1/order/resolve/audit | Get mismatched order audits |
---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class OrderResolveAuditRequest
{
}
public static class OrderResolveAuditResponse
{
public ArrayList<DisplayOrderResolveAudit> Audits = new ArrayList<DisplayOrderResolveAudit>();
public ArrayList<DisplayOrderResolveAudit> getAudits() { return Audits; }
public OrderResolveAuditResponse setAudits(ArrayList<DisplayOrderResolveAudit> value) { this.Audits = value; return this; }
}
public static class DisplayOrderResolveAudit
{
public Integer Id = null;
public String Action = null;
public Date Created = null;
public UUID Guid = null;
public String Reference = null;
public String User = null;
public Integer getId() { return Id; }
public DisplayOrderResolveAudit setId(Integer value) { this.Id = value; return this; }
public String getAction() { return Action; }
public DisplayOrderResolveAudit setAction(String value) { this.Action = value; return this; }
public Date getCreated() { return Created; }
public DisplayOrderResolveAudit setCreated(Date value) { this.Created = value; return this; }
public UUID getGuid() { return Guid; }
public DisplayOrderResolveAudit setGuid(UUID value) { this.Guid = value; return this; }
public String getReference() { return Reference; }
public DisplayOrderResolveAudit setReference(String value) { this.Reference = value; return this; }
public String getUser() { return User; }
public DisplayOrderResolveAudit setUser(String value) { this.User = value; return this; }
}
}
Java OrderResolveAuditRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/order/resolve/audit HTTP/1.1 Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"Audits":[{"Id":0,"Action":"String","Created":"\/Date(-62135596800000-0000)\/","Guid":"00000000000000000000000000000000","Reference":"String","User":"String"}]}