| PUT | /v1/forms/kiosk-branches/{BranchId} |
|---|
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 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
Public Partial Class FormKioskBranchSetRequest
Public Overridable Property BranchId As Guid
Public Overridable Property FormUID As Guid
Public Overridable Property Show As Boolean
End Class
End Namespace
End Namespace
VB.NET FormKioskBranchSetRequest 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.
PUT /v1/forms/kiosk-branches/{BranchId} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"BranchId":"00000000000000000000000000000000","FormUID":"00000000000000000000000000000000","Show":false}
HTTP/1.1 200 OK
Content-Type: text/jsonl
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"}}}