All Verbs | /utilidades/ComText |
---|
import Foundation
import ServiceStack
public class CombinacionTextosRQ : Codable
{
public var id:Int
public var datosForma:[String:Object] = [:]
public var datosAdicionales:[String:Object] = [:]
required public init(){}
}
public class CombinacionTextosRS : Codable
{
public var success:Bool
public var res:String
public var error:String
public var texto:String
public var formato:String
required public init(){}
}
Swift CombinacionTextosRQ 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 /utilidades/ComText HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
DatosForma:
{
String: {}
},
DatosAdicionales:
{
String: {}
}
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Success: False, Res: String, Error: String, Texto: String, Formato: String }