All Verbs | /Utilidades/Archivos/ProcesarPlanoID |
---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Administrador.Modelo.General;
namespace Administrador.Modelo.General
{
public partial class ProcesarPlanoIDRQ
{
public virtual int IDPlano { get; set; }
public virtual int IDCarga { get; set; }
public virtual string Estado { get; set; }
}
public partial class ProcesarPlanoRS
{
public virtual bool Success { 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 /Utilidades/Archivos/ProcesarPlanoID HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
IDPlano: 0,
IDCarga: 0,
Estado: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Success: False, Error: String }