Trendsic Platform Service

<back to all web services

LobbyBranchesRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/lobby/branches
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 LobbyBranch
            Public Overridable Property BranchId As Guid
            Public Overridable Property Name As String
            Public Overridable Property Allowed As Boolean
            Public Overridable Property TvCount As Integer
            Public Overridable Property ZoneMode As String
            Public Overridable Property TakeoverEveryMin As Integer?
            Public Overridable Property TakeoverSec As Integer?
            Public Overridable Property Density As String
            Public Overridable Property IdleMode As String
            Public Overridable Property IdleContentId As Integer?
            Public Overridable Property ShowServices As Boolean
            Public Overridable Property TimeZone As String
            Public Overridable Property BookingSlug As String
        End Class

        Public Partial Class LobbyBranchesRequest
        End Class

        Public Partial Class LobbyBranchesResponse
            Public Overridable Property ResponseStatus As ResponseStatus
            Public Overridable Property Branches As List(Of LobbyBranch) = New List(Of LobbyBranch)
            Public Overridable Property Policy As LobbyPolicy
        End Class

        Public Partial Class LobbyPolicy
            Public Overridable Property ImageExtensions As List(Of String) = New List(Of String)
            Public Overridable Property MaxImageBytes As Long
            Public Overridable Property MaxVideoBytes As Long
            Public Overridable Property MaxVideoSec As Integer
            Public Overridable Property TitleMax As Integer
            Public Overridable Property HeadlineMax As Integer
            Public Overridable Property BodyMax As Integer
            Public Overridable Property CaptionMax As Integer
            Public Overridable Property DwellMin As Integer
            Public Overridable Property DwellMax As Integer
        End Class
    End Namespace
End Namespace

VB.NET LobbyBranchesRequest 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/lobby/branches 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"}},"Branches":[{"BranchId":"00000000000000000000000000000000","Name":"String","Allowed":false,"TvCount":0,"ZoneMode":"String","TakeoverEveryMin":0,"TakeoverSec":0,"Density":"String","IdleMode":"String","IdleContentId":0,"ShowServices":false,"TimeZone":"String","BookingSlug":"String"}],"Policy":{"ImageExtensions":["String"],"MaxImageBytes":0,"MaxVideoBytes":0,"MaxVideoSec":0,"TitleMax":0,"HeadlineMax":0,"BodyMax":0,"CaptionMax":0,"DwellMin":0,"DwellMax":0}}