Trendsic Platform Service

<back to all web services

FormServiceLinksRequest

Requires Authentication
The following routes are available for this service:
GET/v1/forms/service-links
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 FormServiceLinkForm
            Public Overridable Property FormUID As Guid
            Public Overridable Property Name As String
        End Class

        Public Partial Class FormServiceLinksRequest
            Public Overridable Property FormUID As Guid?
            Public Overridable Property LineId As Guid?
        End Class

        Public Partial Class FormServiceLinksResponse
            Public Overridable Property Services As List(Of FormServiceLinkView) = New List(Of FormServiceLinkView)
            Public Overridable Property Forms As List(Of FormServiceLinkForm) = New List(Of FormServiceLinkForm)
            Public Overridable Property Sentence As String
            Public Overridable Property ResponseStatus As ResponseStatus
        End Class

        Public Partial Class FormServiceLinkView
            Public Overridable Property LineId As Guid
            Public Overridable Property ServiceName As String
            Public Overridable Property BranchName As String
            Public Overridable Property SendsQuestionnaire As Boolean
            Public Overridable Property FormUID As Guid?
            Public Overridable Property FormName As String
            Public Overridable Property Mine As Boolean
            Public Overridable Property Live As Boolean
            Public Overridable Property Note As String
        End Class
    End Namespace
End Namespace

VB.NET FormServiceLinksRequest 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/forms/service-links HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Services":[{"LineId":"00000000000000000000000000000000","ServiceName":"String","BranchName":"String","SendsQuestionnaire":false,"FormUID":"00000000000000000000000000000000","FormName":"String","Mine":false,"Live":false,"Note":"String"}],"Forms":[{"FormUID":"00000000000000000000000000000000","Name":"String"}],"Sentence":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}