digitaluapi

<back to all web services

GetCampaignActionClientFormData

The following routes are available for this service:
GET/campaign/inbox/form
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports digitaluapi.ServiceModel

Namespace Global

    Namespace digitaluapi.ServiceModel

        Public Partial Class CampaignActionFile
            Public Overridable Property Name As String
            Public Overridable Property FileType As String
            Public Overridable Property FileSize As String
            Public Overridable Property Extension As String
            Public Overridable Property UploadUrl As String
        End Class

        Public Partial Class CampaignActionFormResults
            Public Overridable Property CustomFormResults As String
            Public Overridable Property Comments As String
            Public Overridable Property CampaignActionFiles As List(Of CampaignActionFile)
        End Class

        Public Partial Class GetCampaignActionClientFormData
            Public Overridable Property Id As Long
            Public Overridable Property CommsGuid As Guid
            Public Overridable Property CampaignActionsRequestsId As Long
        End Class

        Public Partial Class GetCampaignActionClientFormDataResponse
            Public Overridable Property FormMetaResponses As CampaignActionFormResults
            Public Overridable Property ResponseStatus As ResponseStatus
        End Class
    End Namespace
End Namespace

VB.NET GetCampaignActionClientFormData 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 /campaign/inbox/form HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"FormMetaResponses":{"CustomFormResults":"String","Comments":"String","CampaignActionFiles":[{"Name":"String","FileType":"String","FileSize":"String","Extension":"String","UploadUrl":"String"}]},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}