All Verbs | /restfiles/InsertReportRQ |
---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Administrador.Modelo.Tipos;
namespace Administrador.Modelo.Tipos
{
public partial class InsertReportRQ
{
public virtual string usua_login { get; set; }
public virtual decimal carp_carp { get; set; }
public virtual decimal rept_rept { get; set; }
public virtual string rept_nombre { get; set; }
public virtual int rept_tipo { get; set; }
public virtual DateTime rept_fecmodi { get; set; }
public virtual DateTime rept_fecelimi { get; set; }
public virtual string rept_version { get; set; }
public virtual int rept_tamano { get; set; }
public virtual decimal blob_blob { get; set; }
public virtual decimal vist_vist { get; set; }
}
public partial class InsertReportRS
{
public virtual bool isInsertado { get; set; }
public virtual string Error { get; set; }
}
}
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 /restfiles/InsertReportRQ HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
usua_login: String,
carp_carp: 0,
rept_rept: 0,
rept_nombre: String,
rept_tipo: 0,
rept_version: String,
rept_tamano: 0,
blob_blob: 0,
vist_vist: 0
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { isInsertado: False, Error: String }