FrameAppWS

<back to all web services

InsertReportRQ

Requires Authentication
The following routes are available for this service:
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(){}
}


Swift InsertReportRQ DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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: text/csv
Content-Type: text/csv
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: text/csv
Content-Length: length

{"isInsertado":false,"Error":"String"}