All Verbs | /api/{executeDBFunction*} |
---|
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 ExecuteDBFunctionRouteRQ
{
public ExecuteDBFunctionRouteRQ()
{
rq = new Dictionary<string, Object>{};
ra = new List<Dictionary<String,Object>>{};
}
public virtual string executeDBFunction { get; set; }
public virtual Dictionary<string, Object> rq { get; set; }
public virtual List<Dictionary<String,Object>> ra { get; set; }
}
}
C# ExecuteDBFunctionRouteRQ DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/{executeDBFunction*} HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"executeDBFunction":"String","rq":{"String":{}},"ra":[{"String":{}}]}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {}