Mercedes.Agency.Orchestration.API

<back to all web services

BackOrderResolveAuditByGuidRequest

BackOrder
Requires Authentication
The following routes are available for this service:
GET/v1/backorder/resolve/{BackOrderGuid}/auditGet mismatched back order audits for given back order
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class BackOrderResolveAuditByGuidRequest extends BaseBackOrderResolveRequest
    {
        
    }

    public static class BaseBackOrderResolveRequest
    {
        public String BackOrderGuid = null;
        
        public String getBackOrderGuid() { return BackOrderGuid; }
        public BaseBackOrderResolveRequest setBackOrderGuid(String value) { this.BackOrderGuid = value; return this; }
    }

    public static class BackOrderResolveAuditResponse
    {
        public ArrayList<DisplayOrderResolveAudit> Audits = new ArrayList<DisplayOrderResolveAudit>();
        
        public ArrayList<DisplayOrderResolveAudit> getAudits() { return Audits; }
        public BackOrderResolveAuditResponse 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 BackOrderResolveAuditByGuidRequest 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/backorder/resolve/{BackOrderGuid}/audit 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,"Action":"String","Created":"\/Date(-62135596800000-0000)\/","Guid":"00000000000000000000000000000000","Reference":"String","User":"String"}]}