Trendsic Platform Service

<back to all web services

CustomersInLine

The following routes are available for this service:
GET/v1/CustomersInLine
GET/v1/CustomersInLine/{LocationId}
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class CustomersInLine
    {
        public UUID ApiKey = null;
        public UUID LocationId = null;
        public Boolean clientIsLoading = null;
        
        public UUID getApiKey() { return ApiKey; }
        public CustomersInLine setApiKey(UUID value) { this.ApiKey = value; return this; }
        public UUID getLocationId() { return LocationId; }
        public CustomersInLine setLocationId(UUID value) { this.LocationId = value; return this; }
        public Boolean isClientIsLoading() { return clientIsLoading; }
        public CustomersInLine setClientIsLoading(Boolean value) { this.clientIsLoading = value; return this; }
    }

    public static class CustomersInLineResponse
    {
        public ResponseStatus ResponseStatus = null;
        public ArrayList<CustomerInLineObject> Customers = new ArrayList<CustomerInLineObject>();
        public String LocationName = null;
        public Boolean MonitorShowServices = null;
        public LobbySettings Lobby = null;
        public String WorkspaceName = null;
        public String StationTerm = null;
        public ArrayList<StationSessionView> Sessions = new ArrayList<StationSessionView>();
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public CustomersInLineResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public ArrayList<CustomerInLineObject> getCustomers() { return Customers; }
        public CustomersInLineResponse setCustomers(ArrayList<CustomerInLineObject> value) { this.Customers = value; return this; }
        public String getLocationName() { return LocationName; }
        public CustomersInLineResponse setLocationName(String value) { this.LocationName = value; return this; }
        public Boolean isMonitorShowServices() { return MonitorShowServices; }
        public CustomersInLineResponse setMonitorShowServices(Boolean value) { this.MonitorShowServices = value; return this; }
        public LobbySettings getLobby() { return Lobby; }
        public CustomersInLineResponse setLobby(LobbySettings value) { this.Lobby = value; return this; }
        public String getWorkspaceName() { return WorkspaceName; }
        public CustomersInLineResponse setWorkspaceName(String value) { this.WorkspaceName = value; return this; }
        public String getStationTerm() { return StationTerm; }
        public CustomersInLineResponse setStationTerm(String value) { this.StationTerm = value; return this; }
        public ArrayList<StationSessionView> getSessions() { return Sessions; }
        public CustomersInLineResponse setSessions(ArrayList<StationSessionView> value) { this.Sessions = value; return this; }
    }

    public static class CustomerInLineObject
    {
        public UUID CheckinId = null;
        public UUID VisitKey = null;
        public String Name = null;
        public String SayNameAs = null;
        public String Line = null;
        public String Description = null;
        public UUID ServiceId = null;
        public Integer Status = null;
        public Date SignInTime = null;
        public Date AdjustedSignInTime = null;
        public Date ArrivedTime = null;
        public Boolean SendReminders = null;
        public Date CalledTime = null;
        public String TicketLabel = null;
        public UUID StationId = null;
        public String StationName = null;
        public UUID Id = null;
        public String FullName = null;
        public Integer TaskTime = null;
        public Boolean Completed = null;
        public Date CompletedTime = null;
        public UUID EmployeeId = null;
        public String Employee = null;
        public Boolean QuestionnaireSubmitted = null;
        public String HoldReason = null;
        public Date HoldExpectedUtc = null;
        public Date ReturnedTime = null;
        public Integer ContactId = null;
        public String MobilePhone = null;
        public String Source = null;
        public String LastMovedFrom = null;
        public Date LastMovedUtc = null;
        public Date PriorityTime = null;
        public String HoldByName = null;
        public String HoldByStationName = null;
        public Date HoldSinceUtc = null;
        public Integer TicketNo = null;
        public Integer NoteCount = null;
        public Boolean HasCarryNote = null;
        public String CarryNoteBy = null;
        public Date CarryNoteAtUtc = null;
        public PaperworkAsks PaperworkAsks = null;
        public Integer DocumentCount = null;
        
        public UUID getCheckinId() { return CheckinId; }
        public CustomerInLineObject setCheckinId(UUID value) { this.CheckinId = value; return this; }
        public UUID getVisitKey() { return VisitKey; }
        public CustomerInLineObject setVisitKey(UUID value) { this.VisitKey = value; return this; }
        public String getName() { return Name; }
        public CustomerInLineObject setName(String value) { this.Name = value; return this; }
        public String getSayNameAs() { return SayNameAs; }
        public CustomerInLineObject setSayNameAs(String value) { this.SayNameAs = value; return this; }
        public String getLine() { return Line; }
        public CustomerInLineObject setLine(String value) { this.Line = value; return this; }
        public String getDescription() { return Description; }
        public CustomerInLineObject setDescription(String value) { this.Description = value; return this; }
        public UUID getServiceId() { return ServiceId; }
        public CustomerInLineObject setServiceId(UUID value) { this.ServiceId = value; return this; }
        public Integer getStatus() { return Status; }
        public CustomerInLineObject setStatus(Integer value) { this.Status = value; return this; }
        public Date getSignInTime() { return SignInTime; }
        public CustomerInLineObject setSignInTime(Date value) { this.SignInTime = value; return this; }
        public Date getAdjustedSignInTime() { return AdjustedSignInTime; }
        public CustomerInLineObject setAdjustedSignInTime(Date value) { this.AdjustedSignInTime = value; return this; }
        public Date getArrivedTime() { return ArrivedTime; }
        public CustomerInLineObject setArrivedTime(Date value) { this.ArrivedTime = value; return this; }
        public Boolean isSendReminders() { return SendReminders; }
        public CustomerInLineObject setSendReminders(Boolean value) { this.SendReminders = value; return this; }
        public Date getCalledTime() { return CalledTime; }
        public CustomerInLineObject setCalledTime(Date value) { this.CalledTime = value; return this; }
        public String getTicketLabel() { return TicketLabel; }
        public CustomerInLineObject setTicketLabel(String value) { this.TicketLabel = value; return this; }
        public UUID getStationId() { return StationId; }
        public CustomerInLineObject setStationId(UUID value) { this.StationId = value; return this; }
        public String getStationName() { return StationName; }
        public CustomerInLineObject setStationName(String value) { this.StationName = value; return this; }
        public UUID getId() { return Id; }
        public CustomerInLineObject setId(UUID value) { this.Id = value; return this; }
        public String getFullName() { return FullName; }
        public CustomerInLineObject setFullName(String value) { this.FullName = value; return this; }
        public Integer getTaskTime() { return TaskTime; }
        public CustomerInLineObject setTaskTime(Integer value) { this.TaskTime = value; return this; }
        public Boolean isCompleted() { return Completed; }
        public CustomerInLineObject setCompleted(Boolean value) { this.Completed = value; return this; }
        public Date getCompletedTime() { return CompletedTime; }
        public CustomerInLineObject setCompletedTime(Date value) { this.CompletedTime = value; return this; }
        public UUID getEmployeeId() { return EmployeeId; }
        public CustomerInLineObject setEmployeeId(UUID value) { this.EmployeeId = value; return this; }
        public String getEmployee() { return Employee; }
        public CustomerInLineObject setEmployee(String value) { this.Employee = value; return this; }
        public Boolean isQuestionnaireSubmitted() { return QuestionnaireSubmitted; }
        public CustomerInLineObject setQuestionnaireSubmitted(Boolean value) { this.QuestionnaireSubmitted = value; return this; }
        public String getHoldReason() { return HoldReason; }
        public CustomerInLineObject setHoldReason(String value) { this.HoldReason = value; return this; }
        public Date getHoldExpectedUtc() { return HoldExpectedUtc; }
        public CustomerInLineObject setHoldExpectedUtc(Date value) { this.HoldExpectedUtc = value; return this; }
        public Date getReturnedTime() { return ReturnedTime; }
        public CustomerInLineObject setReturnedTime(Date value) { this.ReturnedTime = value; return this; }
        public Integer getContactId() { return ContactId; }
        public CustomerInLineObject setContactId(Integer value) { this.ContactId = value; return this; }
        public String getMobilePhone() { return MobilePhone; }
        public CustomerInLineObject setMobilePhone(String value) { this.MobilePhone = value; return this; }
        public String getSource() { return Source; }
        public CustomerInLineObject setSource(String value) { this.Source = value; return this; }
        public String getLastMovedFrom() { return LastMovedFrom; }
        public CustomerInLineObject setLastMovedFrom(String value) { this.LastMovedFrom = value; return this; }
        public Date getLastMovedUtc() { return LastMovedUtc; }
        public CustomerInLineObject setLastMovedUtc(Date value) { this.LastMovedUtc = value; return this; }
        public Date getPriorityTime() { return PriorityTime; }
        public CustomerInLineObject setPriorityTime(Date value) { this.PriorityTime = value; return this; }
        public String getHoldByName() { return HoldByName; }
        public CustomerInLineObject setHoldByName(String value) { this.HoldByName = value; return this; }
        public String getHoldByStationName() { return HoldByStationName; }
        public CustomerInLineObject setHoldByStationName(String value) { this.HoldByStationName = value; return this; }
        public Date getHoldSinceUtc() { return HoldSinceUtc; }
        public CustomerInLineObject setHoldSinceUtc(Date value) { this.HoldSinceUtc = value; return this; }
        public Integer getTicketNo() { return TicketNo; }
        public CustomerInLineObject setTicketNo(Integer value) { this.TicketNo = value; return this; }
        public Integer getNoteCount() { return NoteCount; }
        public CustomerInLineObject setNoteCount(Integer value) { this.NoteCount = value; return this; }
        public Boolean isHasCarryNote() { return HasCarryNote; }
        public CustomerInLineObject setHasCarryNote(Boolean value) { this.HasCarryNote = value; return this; }
        public String getCarryNoteBy() { return CarryNoteBy; }
        public CustomerInLineObject setCarryNoteBy(String value) { this.CarryNoteBy = value; return this; }
        public Date getCarryNoteAtUtc() { return CarryNoteAtUtc; }
        public CustomerInLineObject setCarryNoteAtUtc(Date value) { this.CarryNoteAtUtc = value; return this; }
        public PaperworkAsks getPaperworkAsks() { return PaperworkAsks; }
        public CustomerInLineObject setPaperworkAsks(PaperworkAsks value) { this.PaperworkAsks = value; return this; }
        public Integer getDocumentCount() { return DocumentCount; }
        public CustomerInLineObject setDocumentCount(Integer value) { this.DocumentCount = value; return this; }
    }

    public static class PaperworkAsks
    {
        public Boolean Questionnaire = null;
        public Boolean Upload = null;
        
        public Boolean isQuestionnaire() { return Questionnaire; }
        public PaperworkAsks setQuestionnaire(Boolean value) { this.Questionnaire = value; return this; }
        public Boolean isUpload() { return Upload; }
        public PaperworkAsks setUpload(Boolean value) { this.Upload = value; return this; }
    }

    public static class LobbySettings
    {
        public UUID LocationId = null;
        public String WaitSource = null;
        public String MonitorChime = null;
        public Boolean HasUploadedChime = null;
        public String ChimeUrl = null;
        public Integer MonitorVolume = null;
        public Boolean MonitorAnnounce = null;
        public String MonitorAnnounceTemplate = null;
        public String MonitorVoice = null;
        public BigDecimal MonitorVoiceRate = null;
        public Integer MonitorRepeatAfterSec = null;
        public Boolean MonitorTicketOnly = null;
        public String LobbyZoneMode = null;
        public Integer LobbyTakeoverEveryMin = null;
        public Integer LobbyTakeoverSec = null;
        public Boolean LobbyIdleScreen = null;
        public String TimeZone = null;
        public Boolean MonitorShowServices = null;
        public Integer LobbyTvCount = null;
        public String TicketPrefix = null;
        public String LobbyDensity = null;
        public String LobbyIdleMode = null;
        public Integer LobbyIdleContentId = null;
        
        public UUID getLocationId() { return LocationId; }
        public LobbySettings setLocationId(UUID value) { this.LocationId = value; return this; }
        public String getWaitSource() { return WaitSource; }
        public LobbySettings setWaitSource(String value) { this.WaitSource = value; return this; }
        public String getMonitorChime() { return MonitorChime; }
        public LobbySettings setMonitorChime(String value) { this.MonitorChime = value; return this; }
        public Boolean isHasUploadedChime() { return HasUploadedChime; }
        public LobbySettings setHasUploadedChime(Boolean value) { this.HasUploadedChime = value; return this; }
        public String getChimeUrl() { return ChimeUrl; }
        public LobbySettings setChimeUrl(String value) { this.ChimeUrl = value; return this; }
        public Integer getMonitorVolume() { return MonitorVolume; }
        public LobbySettings setMonitorVolume(Integer value) { this.MonitorVolume = value; return this; }
        public Boolean isMonitorAnnounce() { return MonitorAnnounce; }
        public LobbySettings setMonitorAnnounce(Boolean value) { this.MonitorAnnounce = value; return this; }
        public String getMonitorAnnounceTemplate() { return MonitorAnnounceTemplate; }
        public LobbySettings setMonitorAnnounceTemplate(String value) { this.MonitorAnnounceTemplate = value; return this; }
        public String getMonitorVoice() { return MonitorVoice; }
        public LobbySettings setMonitorVoice(String value) { this.MonitorVoice = value; return this; }
        public BigDecimal getMonitorVoiceRate() { return MonitorVoiceRate; }
        public LobbySettings setMonitorVoiceRate(BigDecimal value) { this.MonitorVoiceRate = value; return this; }
        public Integer getMonitorRepeatAfterSec() { return MonitorRepeatAfterSec; }
        public LobbySettings setMonitorRepeatAfterSec(Integer value) { this.MonitorRepeatAfterSec = value; return this; }
        public Boolean isMonitorTicketOnly() { return MonitorTicketOnly; }
        public LobbySettings setMonitorTicketOnly(Boolean value) { this.MonitorTicketOnly = value; return this; }
        public String getLobbyZoneMode() { return LobbyZoneMode; }
        public LobbySettings setLobbyZoneMode(String value) { this.LobbyZoneMode = value; return this; }
        public Integer getLobbyTakeoverEveryMin() { return LobbyTakeoverEveryMin; }
        public LobbySettings setLobbyTakeoverEveryMin(Integer value) { this.LobbyTakeoverEveryMin = value; return this; }
        public Integer getLobbyTakeoverSec() { return LobbyTakeoverSec; }
        public LobbySettings setLobbyTakeoverSec(Integer value) { this.LobbyTakeoverSec = value; return this; }
        public Boolean isLobbyIdleScreen() { return LobbyIdleScreen; }
        public LobbySettings setLobbyIdleScreen(Boolean value) { this.LobbyIdleScreen = value; return this; }
        public String getTimeZone() { return TimeZone; }
        public LobbySettings setTimeZone(String value) { this.TimeZone = value; return this; }
        public Boolean isMonitorShowServices() { return MonitorShowServices; }
        public LobbySettings setMonitorShowServices(Boolean value) { this.MonitorShowServices = value; return this; }
        public Integer getLobbyTvCount() { return LobbyTvCount; }
        public LobbySettings setLobbyTvCount(Integer value) { this.LobbyTvCount = value; return this; }
        public String getTicketPrefix() { return TicketPrefix; }
        public LobbySettings setTicketPrefix(String value) { this.TicketPrefix = value; return this; }
        public String getLobbyDensity() { return LobbyDensity; }
        public LobbySettings setLobbyDensity(String value) { this.LobbyDensity = value; return this; }
        public String getLobbyIdleMode() { return LobbyIdleMode; }
        public LobbySettings setLobbyIdleMode(String value) { this.LobbyIdleMode = value; return this; }
        public Integer getLobbyIdleContentId() { return LobbyIdleContentId; }
        public LobbySettings setLobbyIdleContentId(Integer value) { this.LobbyIdleContentId = value; return this; }
    }

    public static class StationSessionView
    {
        public UUID SessionId = null;
        public UUID LocationId = null;
        public UUID StationId = null;
        public String StationName = null;
        public UUID EmployeeId = null;
        public String EmployeeName = null;
        public Date SignedInUtc = null;
        public Date LastSeenUtc = null;
        public Date PausedSinceUtc = null;
        public String PauseReason = null;
        public Boolean IsMine = null;
        
        public UUID getSessionId() { return SessionId; }
        public StationSessionView setSessionId(UUID value) { this.SessionId = value; return this; }
        public UUID getLocationId() { return LocationId; }
        public StationSessionView setLocationId(UUID value) { this.LocationId = value; return this; }
        public UUID getStationId() { return StationId; }
        public StationSessionView setStationId(UUID value) { this.StationId = value; return this; }
        public String getStationName() { return StationName; }
        public StationSessionView setStationName(String value) { this.StationName = value; return this; }
        public UUID getEmployeeId() { return EmployeeId; }
        public StationSessionView setEmployeeId(UUID value) { this.EmployeeId = value; return this; }
        public String getEmployeeName() { return EmployeeName; }
        public StationSessionView setEmployeeName(String value) { this.EmployeeName = value; return this; }
        public Date getSignedInUtc() { return SignedInUtc; }
        public StationSessionView setSignedInUtc(Date value) { this.SignedInUtc = value; return this; }
        public Date getLastSeenUtc() { return LastSeenUtc; }
        public StationSessionView setLastSeenUtc(Date value) { this.LastSeenUtc = value; return this; }
        public Date getPausedSinceUtc() { return PausedSinceUtc; }
        public StationSessionView setPausedSinceUtc(Date value) { this.PausedSinceUtc = value; return this; }
        public String getPauseReason() { return PauseReason; }
        public StationSessionView setPauseReason(String value) { this.PauseReason = value; return this; }
        public Boolean getIsMine() { return IsMine; }
        public StationSessionView setIsMine(Boolean value) { this.IsMine = value; return this; }
    }

}

Java CustomersInLine 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/CustomersInLine HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
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"}},"Customers":[{"CheckinId":"00000000000000000000000000000000","VisitKey":"00000000000000000000000000000000","Name":"String","SayNameAs":"String","Line":"String","Description":"String","ServiceId":"00000000000000000000000000000000","Status":0,"SignInTime":"0001-01-01T00:00:00.0000000","AdjustedSignInTime":"0001-01-01T00:00:00.0000000","ArrivedTime":"0001-01-01T00:00:00.0000000","SendReminders":false,"CalledTime":"0001-01-01T00:00:00.0000000","TicketLabel":"String","StationId":"00000000000000000000000000000000","StationName":"String","Id":"00000000000000000000000000000000","FullName":"String","TaskTime":0,"Completed":false,"CompletedTime":"0001-01-01T00:00:00.0000000","EmployeeId":"00000000000000000000000000000000","Employee":"String","QuestionnaireSubmitted":false,"HoldReason":"String","HoldExpectedUtc":"0001-01-01T00:00:00.0000000","ReturnedTime":"0001-01-01T00:00:00.0000000","ContactId":0,"MobilePhone":"String","Source":"String","LastMovedFrom":"String","LastMovedUtc":"0001-01-01T00:00:00.0000000","PriorityTime":"0001-01-01T00:00:00.0000000","HoldByName":"String","HoldByStationName":"String","HoldSinceUtc":"0001-01-01T00:00:00.0000000","TicketNo":0,"NoteCount":0,"HasCarryNote":false,"CarryNoteBy":"String","CarryNoteAtUtc":"0001-01-01T00:00:00.0000000","PaperworkAsks":{"Questionnaire":false,"Upload":false},"DocumentCount":0}],"LocationName":"String","MonitorShowServices":false,"Lobby":{"LocationId":"00000000000000000000000000000000","WaitSource":"String","MonitorChime":"String","HasUploadedChime":false,"ChimeUrl":"String","MonitorVolume":0,"MonitorAnnounce":false,"MonitorAnnounceTemplate":"String","MonitorVoice":"String","MonitorVoiceRate":0,"MonitorRepeatAfterSec":0,"MonitorTicketOnly":false,"LobbyZoneMode":"String","LobbyTakeoverEveryMin":0,"LobbyTakeoverSec":0,"LobbyIdleScreen":false,"TimeZone":"String","MonitorShowServices":false,"LobbyTvCount":0,"TicketPrefix":"String","LobbyDensity":"String","LobbyIdleMode":"String","LobbyIdleContentId":0},"WorkspaceName":"String","StationTerm":"String","Sessions":[{"SessionId":"00000000000000000000000000000000","LocationId":"00000000000000000000000000000000","StationId":"00000000000000000000000000000000","StationName":"String","EmployeeId":"00000000000000000000000000000000","EmployeeName":"String","SignedInUtc":"0001-01-01T00:00:00.0000000","LastSeenUtc":"0001-01-01T00:00:00.0000000","PausedSinceUtc":"0001-01-01T00:00:00.0000000","PauseReason":"String","IsMine":false}]}