| POST | /v1/formfill/sign/{Token}/send |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class FormFillSignSendRequest
{
open var Token:String? = null
open var RequestUID:String? = null
open var AnswersJson:String? = null
open var Lang:String? = null
}
open class FormFillSignSendResponse
{
open var Sent:Boolean? = null
open var Arrived:Boolean? = null
open var StatusUrl:String? = null
open var Errors:ArrayList<FormFillFieldError> = ArrayList<FormFillFieldError>()
open var ResponseStatus:ResponseStatus? = null
}
open class FormFillFieldError
{
open var K:String? = null
open var Msg:String? = null
}
Kotlin FormFillSignSendRequest 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/formfill/sign/{Token}/send HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Token: String,
RequestUID: String,
AnswersJson: String,
Lang: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Sent: False,
Arrived: False,
StatusUrl: String,
Errors:
[
{
K: String,
Msg: String
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}