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
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class NotaryInviteRequest
{
    open var Email:String? = null
    open var Phone:String? = null
    open var NotaryId:Int? = null
}

open class NotaryInviteResponse
{
    open var Preview:NotaryInvitePreview? = null
    open var Lines:ArrayList<String> = ArrayList<String>()
    open var EmailedTo:String? = null
    open var TextedTo:String? = null
    open var ResponseStatus:ResponseStatus? = null
}

open class NotaryInvitePreview
{
    open var Link:String? = null
    open var Subject:String? = null
    open var Greeting:String? = null
    open var Lead:String? = null
    open var SignIn:String? = null
    open var Sms:String? = null
    open var SmsLength:Int? = null
    open var SmsSegments:Int? = null
}

Kotlin NotaryInviteRequest 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.

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

{"Email":"String","Phone":"String","NotaryId":0}
HTTP/1.1 200 OK
Content-Type: application/json
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"}}}