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

export class NotaryInvitePreview
{
    public Link: string;
    public Subject: string;
    public Greeting: string;
    public Lead: string;
    public SignIn: string;
    public Sms: string;
    public SmsLength: number;
    public SmsSegments: number;

    public constructor(init?: Partial<NotaryInvitePreview>) { (Object as any).assign(this, init); }
}

export class NotaryInviteResponse
{
    public Preview: NotaryInvitePreview;
    public Lines: string[] = [];
    public EmailedTo: string;
    public TextedTo: string;
    public ResponseStatus: ResponseStatus;

    public constructor(init?: Partial<NotaryInviteResponse>) { (Object as any).assign(this, init); }
}

export class NotaryInviteRequest
{
    public Email: string;
    public Phone: string;
    public NotaryId?: number;

    public constructor(init?: Partial<NotaryInviteRequest>) { (Object as any).assign(this, init); }
}

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

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

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