Trendsic Platform Service

<back to all web services

QueueSweepRequest

The following routes are available for this service:
POST/v1/queue/sweep
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class QueueSweepRequest
    {
        
    }

    public static class QueueSweepResponse
    {
        public ResponseStatus ResponseStatus = null;
        public ArrayList<LocationSweepResult> Locations = new ArrayList<LocationSweepResult>();
        public Integer TotalNoShow = null;
        public Integer TotalUnfulfilled = null;
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public QueueSweepResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public ArrayList<LocationSweepResult> getLocations() { return Locations; }
        public QueueSweepResponse setLocations(ArrayList<LocationSweepResult> value) { this.Locations = value; return this; }
        public Integer getTotalNoShow() { return TotalNoShow; }
        public QueueSweepResponse setTotalNoShow(Integer value) { this.TotalNoShow = value; return this; }
        public Integer getTotalUnfulfilled() { return TotalUnfulfilled; }
        public QueueSweepResponse setTotalUnfulfilled(Integer value) { this.TotalUnfulfilled = value; return this; }
    }

    public static class LocationSweepResult
    {
        public UUID LocationId = null;
        public String LocationName = null;
        public Integer NoShow = null;
        public Integer Unfulfilled = null;
        
        public UUID getLocationId() { return LocationId; }
        public LocationSweepResult setLocationId(UUID value) { this.LocationId = value; return this; }
        public String getLocationName() { return LocationName; }
        public LocationSweepResult setLocationName(String value) { this.LocationName = value; return this; }
        public Integer getNoShow() { return NoShow; }
        public LocationSweepResult setNoShow(Integer value) { this.NoShow = value; return this; }
        public Integer getUnfulfilled() { return Unfulfilled; }
        public LocationSweepResult setUnfulfilled(Integer value) { this.Unfulfilled = value; return this; }
    }

}

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

POST /v1/queue/sweep HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Locations":[{"LocationId":"00000000000000000000000000000000","LocationName":"String","NoShow":0,"Unfulfilled":0}],"TotalNoShow":0,"TotalUnfulfilled":0}