| GET | /v1/formfill/draft/{Token} |
|---|
import Foundation
import ServiceStack
public class FormFillDraftRequest : Codable
{
public var token:String
required public init(){}
}
public class FormFillDraftResponse : Codable
{
public var appJson:String
public var tenantName:String
public var today:String
public var who:String
public var answersJson:String
public var page:Int
public var rev:Int
public var lang:String
public var responseStatus:ResponseStatus
required public init(){}
}
Swift FormFillDraftRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/formfill/draft/{Token} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"AppJson":"String","TenantName":"String","Today":"String","Who":"String","AnswersJson":"String","Page":0,"Rev":0,"Lang":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}