Trendsic Platform Service

<back to all web services

CustomersInLine

The following routes are available for this service:
GET/v1/CustomersInLine/{LocationId}
GET/v1/CustomersInLine
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 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 static class CustomerInLineObject
    {
        public UUID Id = null;
        public String Name = null;
        public String FullName = null;
        public Date SignInTime = null;
        public Date AdjustedSignInTime = null;
        public Integer Status = null;
        public Integer TaskTime = null;
        public Boolean Completed = null;
        public Boolean SendReminders = null;
        public Date CompletedTime = null;
        public UUID EmployeeId = null;
        public String Employee = null;
        public String Line = null;
        public String Description = null;
        public UUID ServiceId = null;
        public UUID StationId = null;
        public String StationName = null;
        
        public UUID getId() { return Id; }
        public CustomerInLineObject setId(UUID value) { this.Id = value; return this; }
        public String getName() { return Name; }
        public CustomerInLineObject setName(String value) { this.Name = value; return this; }
        public String getFullName() { return FullName; }
        public CustomerInLineObject setFullName(String value) { this.FullName = 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 Integer getStatus() { return Status; }
        public CustomerInLineObject setStatus(Integer value) { this.Status = 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 Boolean isSendReminders() { return SendReminders; }
        public CustomerInLineObject setSendReminders(Boolean value) { this.SendReminders = 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 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 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; }
    }

}

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/{LocationId} 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":[{"Id":"00000000000000000000000000000000","Name":"String","FullName":"String","SignInTime":"0001-01-01T00:00:00.0000000","AdjustedSignInTime":"0001-01-01T00:00:00.0000000","Status":0,"TaskTime":0,"Completed":false,"SendReminders":false,"CompletedTime":"0001-01-01T00:00:00.0000000","EmployeeId":"00000000000000000000000000000000","Employee":"String","Line":"String","Description":"String","ServiceId":"00000000000000000000000000000000","StationId":"00000000000000000000000000000000","StationName":"String"}]}