| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/queue/appointments/slots |
|---|
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 BranchApptSlot
Public Overridable Property StartLocal As String
Public Overridable Property Booked As Integer
Public Overridable Property Capacity As Integer
Public Overridable Property Open As Integer
Public Overridable Property Full As Boolean
Public Overridable Property Past As Boolean
Public Overridable Property Fits As Boolean
Public Overridable Property Reason As String
End Class
Public Partial Class BranchApptSlotsRequest
Public Overridable Property LocationId As Guid
Public Overridable Property [Date] As String
Public Overridable Property LineIds As String
Public Overridable Property ExcludeCheckInId As Guid?
End Class
Public Partial Class BranchApptSlotsResponse
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property [Date] As String
Public Overridable Property TimeslotMinutes As Integer
Public Overridable Property SlotMinutes As Integer
Public Overridable Property Capacity As Integer
Public Overridable Property OnlinePaused As Boolean
Public Overridable Property Slots As List(Of BranchApptSlot) = New List(Of BranchApptSlot)
End Class
End Namespace
End Namespace
VB.NET BranchApptSlotsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/queue/appointments/slots 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"}},"Date":"String","TimeslotMinutes":0,"SlotMinutes":0,"Capacity":0,"OnlinePaused":false,"Slots":[{"StartLocal":"String","Booked":0,"Capacity":0,"Open":0,"Full":false,"Past":false,"Fits":false,"Reason":"String"}]}