FrameAppWS

<back to all web services

InsertReportRQ

Requires Authentication
The following routes are available for this service:
All Verbs/restfiles/InsertReportRQ
namespace Administrador.Modelo.Tipos

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type InsertReportRS() = 
        member val isInsertado:Boolean = new Boolean() with get,set
        member val Error:String = null with get,set

    [<AllowNullLiteral>]
    type InsertReportRQ() = 
        member val usua_login:String = null with get,set
        member val carp_carp:Decimal = new Decimal() with get,set
        member val rept_rept:Decimal = new Decimal() with get,set
        member val rept_nombre:String = null with get,set
        member val rept_tipo:Int32 = new Int32() with get,set
        member val rept_fecmodi:DateTime = new DateTime() with get,set
        member val rept_fecelimi:DateTime = new DateTime() with get,set
        member val rept_version:String = null with get,set
        member val rept_tamano:Int32 = new Int32() with get,set
        member val blob_blob:Decimal = new Decimal() with get,set
        member val vist_vist:Decimal = new Decimal() with get,set

F# 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: soluser-recaudo.sgsas.co 
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":null,"rept_fecelimi":null,"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"}