| GET | /v1/forms/kiosk-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 FormKioskBranchApp
Public Overridable Property FormUID As String
Public Overridable Property Name As String
Public Overridable Property Noun As String
Public Overridable Property Shown As Boolean
Public Overridable Property Offered As Boolean
End Class
Public Partial Class FormKioskBranchesRequest
Public Overridable Property BranchId As Guid?
Public Overridable Property FormUID As Guid?
End Class
Public Partial Class FormKioskBranchesResponse
Public Overridable Property BranchName As String
Public Overridable Property Apps As List(Of FormKioskBranchApp) = New List(Of FormKioskBranchApp)
Public Overridable Property NotOffered As Integer
Public Overridable Property Branches As List(Of FormKioskBranchName) = New List(Of FormKioskBranchName)
Public Overridable Property Count As Integer
Public Overridable Property Sentence As String
Public Overridable Property ResponseStatus As ResponseStatus
End Class
Public Partial Class FormKioskBranchName
Public Overridable Property BranchId As String
Public Overridable Property Name As String
End Class
End Namespace
End Namespace
VB.NET FormKioskBranchesRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/forms/kiosk-branches HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"BranchName":"String","Apps":[{"FormUID":"String","Name":"String","Noun":"String","Shown":false,"Offered":false}],"NotOffered":0,"Branches":[{"BranchId":"String","Name":"String"}],"Count":0,"Sentence":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}