Trendsic Platform Service

<back to all web services

FormFillRequestSignRequest

The following routes are available for this service:
POST/v1/formfill/status/{Token}/request/sign/{FieldKey}
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class FormFillRequestSignRequest
{
    open var Token:String? = null
    open var FieldKey:String? = null
    open var AnswersJson:String? = null
    open var Lang:String? = null
    open var Mode:String? = null
    open var Name:String? = null
    open var Png:String? = null
}

open class FormFillSignResponse
{
    open var Mode:String? = null
    open var Name:String? = null
    open var At:String? = null
    open var Id:String? = null
    open var Hash:String? = null
    open var Rev:Int? = 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 FormFillRequestSignRequest 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/formfill/status/{Token}/request/sign/{FieldKey} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Token":"String","FieldKey":"String","AnswersJson":"String","Lang":"String","Mode":"String","Name":"String","Png":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Mode":"String","Name":"String","At":"String","Id":"String","Hash":"String","Rev":0,"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"}}}