| POST | /file-template-reader |
|---|
import Foundation
import ServiceStack
public class FileTemplateReaderRequest : Codable
{
public var workflowId:Int
public var templateType:String
required public init(){}
}
Swift FileTemplateReaderRequest 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 /file-template-reader HTTP/1.1
Host: qlcn-api.vsmlab.vn
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
workflowId: 0,
templateType: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
}