| POST | /v1/forms/submissions/{SubmissionUID}/sign-link |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class FormSignLinkResendRequest
{
public UUID SubmissionUID = null;
public UUID getSubmissionUID() { return SubmissionUID; }
public FormSignLinkResendRequest setSubmissionUID(UUID value) { this.SubmissionUID = value; return this; }
}
public static class FormSignLinkResponse
{
public ArrayList<FormFillReceiptLine> Sent = new ArrayList<FormFillReceiptLine>();
public Integer Left = null;
public ResponseStatus ResponseStatus = null;
public ArrayList<FormFillReceiptLine> getSent() { return Sent; }
public FormSignLinkResponse setSent(ArrayList<FormFillReceiptLine> value) { this.Sent = value; return this; }
public Integer getLeft() { return Left; }
public FormSignLinkResponse setLeft(Integer value) { this.Left = value; return this; }
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public FormSignLinkResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
}
public static class FormFillReceiptLine
{
public String Channel = null;
public String To = null;
public String Outcome = null;
public String getChannel() { return Channel; }
public FormFillReceiptLine setChannel(String value) { this.Channel = value; return this; }
public String getTo() { return To; }
public FormFillReceiptLine setTo(String value) { this.To = value; return this; }
public String getOutcome() { return Outcome; }
public FormFillReceiptLine setOutcome(String value) { this.Outcome = value; return this; }
}
}
Java FormSignLinkResendRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/forms/submissions/{SubmissionUID}/sign-link HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
SubmissionUID: 00000000000000000000000000000000
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Sent:
[
{
Channel: String,
To: String,
Outcome: String
}
],
Left: 0,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}