All Verbs | /restfiles/InsertReportRQ |
---|
import Foundation
import ServiceStack
public class InsertReportRQ : Codable
{
public var usua_login:String?
public var carp_carp:Double?
public var rept_rept:Double?
public var rept_nombre:String?
public var rept_tipo:Int?
public var rept_fecmodi:Date?
public var rept_fecelimi:Date?
public var rept_version:String?
public var rept_tamano:Int?
public var blob_blob:Double?
public var vist_vist:Double?
required public init(){}
}
public class InsertReportRS : Codable
{
public var isInsertado:Bool?
public var error:String?
required public init(){}
}
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 /restfiles/InsertReportRQ HTTP/1.1
Host: ws.jimsnwa.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"usua_login":"String","carp_carp":0,"rept_rept":0,"rept_nombre":"String","rept_tipo":0,"rept_fecmodi":"0001-01-01T00:00:00.0000000","rept_fecelimi":"0001-01-01T00:00:00.0000000","rept_version":"String","rept_tamano":0,"blob_blob":0,"vist_vist":0}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"isInsertado":false,"Error":"String"}