Trendsic Platform Service

<back to all web services

CustomersInLine

The following routes are available for this service:
GET/v1/CustomersInLine
GET/v1/CustomersInLine/{LocationId}
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal

Namespace Global

    Namespace CRM.AgencyPlatform.API.Internal

        Public Partial Class CustomerInLineObject
            Public Overridable Property CheckinId As Guid
            Public Overridable Property VisitKey As Guid?
            Public Overridable Property Name As String
            Public Overridable Property SayNameAs As String
            Public Overridable Property Line As String
            Public Overridable Property Description As String
            Public Overridable Property ServiceId As Guid
            Public Overridable Property Status As Integer
            Public Overridable Property SignInTime As Date
            Public Overridable Property AdjustedSignInTime As Date
            Public Overridable Property ArrivedTime As Date?
            Public Overridable Property SendReminders As Boolean
            Public Overridable Property CalledTime As Date?
            Public Overridable Property TicketLabel As String
            Public Overridable Property StationId As Guid
            Public Overridable Property StationName As String
            Public Overridable Property Id As Guid?
            Public Overridable Property FullName As String
            Public Overridable Property TaskTime As Integer?
            Public Overridable Property Completed As Boolean?
            Public Overridable Property CompletedTime As Date?
            Public Overridable Property EmployeeId As Guid?
            Public Overridable Property Employee As String
            Public Overridable Property QuestionnaireSubmitted As Boolean?
            Public Overridable Property HoldReason As String
            Public Overridable Property HoldExpectedUtc As Date?
            Public Overridable Property ReturnedTime As Date?
            Public Overridable Property ContactId As Integer?
            Public Overridable Property MobilePhone As String
            Public Overridable Property Source As String
            Public Overridable Property LastMovedFrom As String
            Public Overridable Property LastMovedUtc As Date?
            Public Overridable Property PriorityTime As Date?
            Public Overridable Property HoldByName As String
            Public Overridable Property HoldByStationName As String
            Public Overridable Property HoldSinceUtc As Date?
            Public Overridable Property TicketNo As Integer?
            Public Overridable Property NoteCount As Integer?
            Public Overridable Property HasCarryNote As Boolean?
            Public Overridable Property CarryNoteBy As String
            Public Overridable Property CarryNoteAtUtc As Date?
            Public Overridable Property PaperworkAsks As PaperworkAsks
            Public Overridable Property DocumentCount As Integer?
        End Class

        Public Partial Class CustomersInLine
            Public Overridable Property ApiKey As Guid
            Public Overridable Property LocationId As Guid
            Public Overridable Property clientIsLoading As Boolean
        End Class

        Public Partial Class CustomersInLineResponse
            Public Overridable Property ResponseStatus As ResponseStatus
            Public Overridable Property Customers As List(Of CustomerInLineObject) = New List(Of CustomerInLineObject)
            Public Overridable Property LocationName As String
            Public Overridable Property MonitorShowServices As Boolean?
            Public Overridable Property Lobby As LobbySettings
            Public Overridable Property WorkspaceName As String
            Public Overridable Property StationTerm As String
            Public Overridable Property Sessions As List(Of StationSessionView) = New List(Of StationSessionView)
        End Class

        Public Partial Class LobbySettings
            Public Overridable Property LocationId As Guid
            Public Overridable Property WaitSource As String
            Public Overridable Property MonitorChime As String
            Public Overridable Property HasUploadedChime As Boolean
            Public Overridable Property ChimeUrl As String
            Public Overridable Property MonitorVolume As Integer
            Public Overridable Property MonitorAnnounce As Boolean
            Public Overridable Property MonitorAnnounceTemplate As String
            Public Overridable Property MonitorVoice As String
            Public Overridable Property MonitorVoiceRate As Decimal
            Public Overridable Property MonitorRepeatAfterSec As Integer?
            Public Overridable Property MonitorTicketOnly As Boolean
            Public Overridable Property LobbyZoneMode As String
            Public Overridable Property LobbyTakeoverEveryMin As Integer?
            Public Overridable Property LobbyTakeoverSec As Integer?
            Public Overridable Property LobbyIdleScreen As Boolean
            Public Overridable Property TimeZone As String
            Public Overridable Property MonitorShowServices As Boolean?
            Public Overridable Property LobbyTvCount As Integer?
            Public Overridable Property TicketPrefix As String
            Public Overridable Property LobbyDensity As String
            Public Overridable Property LobbyIdleMode As String
            Public Overridable Property LobbyIdleContentId As Integer?
        End Class

        Public Partial Class PaperworkAsks
            Public Overridable Property Questionnaire As Boolean
            Public Overridable Property Upload As Boolean
        End Class

        Public Partial Class StationSessionView
            Public Overridable Property SessionId As Guid
            Public Overridable Property LocationId As Guid
            Public Overridable Property StationId As Guid
            Public Overridable Property StationName As String
            Public Overridable Property EmployeeId As Guid
            Public Overridable Property EmployeeName As String
            Public Overridable Property SignedInUtc As Date
            Public Overridable Property LastSeenUtc As Date
            Public Overridable Property PausedSinceUtc As Date?
            Public Overridable Property PauseReason As String
            Public Overridable Property IsMine As Boolean
        End Class
    End Namespace
End Namespace

VB.NET 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}]}