Trendsic Platform Service

<back to all web services

NotaryInviteRequest

Requires Authentication
The following routes are available for this service:
GET,POST/v1/witness/notary/invite
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 NotaryInvitePreview
            Public Overridable Property Link As String
            Public Overridable Property Subject As String
            Public Overridable Property Greeting As String
            Public Overridable Property Lead As String
            Public Overridable Property SignIn As String
            Public Overridable Property Sms As String
            Public Overridable Property SmsLength As Integer
            Public Overridable Property SmsSegments As Integer
        End Class

        Public Partial Class NotaryInviteRequest
            Public Overridable Property Email As String
            Public Overridable Property Phone As String
            Public Overridable Property NotaryId As Integer?
        End Class

        Public Partial Class NotaryInviteResponse
            Public Overridable Property Preview As NotaryInvitePreview
            Public Overridable Property Lines As List(Of String) = New List(Of String)
            Public Overridable Property EmailedTo As String
            Public Overridable Property TextedTo As String
            Public Overridable Property ResponseStatus As ResponseStatus
        End Class
    End Namespace
End Namespace

VB.NET NotaryInviteRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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

POST /v1/witness/notary/invite HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"Email":"String","Phone":"String","NotaryId":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Preview":{"Link":"String","Subject":"String","Greeting":"String","Lead":"String","SignIn":"String","Sms":"String","SmsLength":0,"SmsSegments":0},"Lines":["String"],"EmailedTo":"String","TextedTo":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}