| POST | /v1/formfill/sign/{Token}/send |
|---|
namespace CRM.AgencyPlatform.API.Internal
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type FormFillFieldError() =
member val K:String = null with get,set
member val Msg:String = null with get,set
[<AllowNullLiteral>]
type FormFillSignSendResponse() =
member val Sent:Boolean = new Boolean() with get,set
member val Arrived:Boolean = new Boolean() with get,set
member val StatusUrl:String = null with get,set
member val Errors:ResizeArray<FormFillFieldError> = new ResizeArray<FormFillFieldError>() with get,set
member val ResponseStatus:ResponseStatus = null with get,set
[<AllowNullLiteral>]
type FormFillSignSendRequest() =
member val Token:String = null with get,set
member val RequestUID:String = null with get,set
member val AnswersJson:String = null with get,set
member val Lang:String = null with get,set
F# FormFillSignSendRequest 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
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: application/json
Content-Type: application/json
Content-Length: length
{"Token":"String","RequestUID":"String","AnswersJson":"String","Lang":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
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"}}}