Trendsic Platform Service

<back to all web services

FormFillStatusRequest

The following routes are available for this service:
GET/v1/formfill/status/{Token}
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 FormFillReceiptLine
            Public Overridable Property Channel As String
            Public Overridable Property [To] As String
            Public Overridable Property Outcome As String
        End Class

        Public Partial Class FormFillStage
            Public Overridable Property Id As String
            Public Overridable Property Label As String
            Public Overridable Property Tone As String
            Public Overridable Property Kind As String
        End Class

        Public Partial Class FormFillStageSeen
            Public Overridable Property Id As String
            Public Overridable Property At As Date
        End Class

        Public Partial Class FormFillStatusRequest
            Public Overridable Property Token As String
        End Class

        Public Partial Class FormFillStatusResponse
            Public Overridable Property Number As String
            Public Overridable Property FormName As String
            Public Overridable Property Noun As String
            Public Overridable Property TenantName As String
            Public Overridable Property Stage As String
            Public Overridable Property StageKind As String
            Public Overridable Property Stages As List(Of FormFillStage) = New List(Of FormFillStage)
            Public Overridable Property Seen As List(Of FormFillStageSeen) = New List(Of FormFillStageSeen)
            Public Overridable Property SubmittedAt As Date?
            Public Overridable Property Receipt As List(Of FormFillReceiptLine) = New List(Of FormFillReceiptLine)
            Public Overridable Property CanWithdraw As Boolean
            Public Overridable Property Lang As String
            Public Overridable Property NounEs As String
            Public Overridable Property ResponseStatus As ResponseStatus
        End Class
    End Namespace
End Namespace

VB.NET FormFillStatusRequest 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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/formfill/status/{Token} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Number":"String","FormName":"String","Noun":"String","TenantName":"String","Stage":"String","StageKind":"String","Stages":[{"Id":"String","Label":"String","Tone":"String","Kind":"String"}],"Seen":[{"Id":"String","At":"0001-01-01T00:00:00.0000000"}],"SubmittedAt":"0001-01-01T00:00:00.0000000","Receipt":[{"Channel":"String","To":"String","Outcome":"String"}],"CanWithdraw":false,"Lang":"String","NounEs":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}