All Verbs | /Utilidades/Archivos/CargaPlanoID |
---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Administrador.Modelo.General;
using Administrador.Modelo;
namespace Administrador.Modelo
{
public partial class NovedadesCarga
{
public virtual int Fila { get; set; }
public virtual int Columna { get; set; }
public virtual string TipoError { get; set; }
public virtual string Novedad { get; set; }
}
}
namespace Administrador.Modelo.General
{
public partial class CargaPlanoIDRQ
{
public virtual int IDPlano { get; set; }
}
public partial class CargaPlanoRS
{
public CargaPlanoRS()
{
Novedades = new List<NovedadesCarga>{};
}
public virtual bool Success { get; set; }
public virtual string Error { get; set; }
public virtual string TokenCarga { get; set; }
public virtual int IDCarga { get; set; }
public virtual List<NovedadesCarga> Novedades { 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 /Utilidades/Archivos/CargaPlanoID HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
IDPlano: 0
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Success: False, Error: String, TokenCarga: String, IDCarga: 0, Novedades: [ { Fila: 0, Columna: 0, TipoError: String, Novedad: String } ] }