All Verbs | /restfiles/GetFileItemRQ |
---|
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 FileItemRecursive
{
public virtual decimal? idArchivo { get; set; }
public virtual decimal? carp_carp { get; set; }
public virtual decimal? carp_padre { get; set; }
public virtual bool isDirectory { get; set; }
public virtual string name { get; set; }
public virtual string usua_login { get; set; }
public virtual DateTime fecha { get; set; }
public virtual IEnumerable<FileItemRecursive> items { get; set; }
}
public partial class GetDirectoryRS
{
public GetDirectoryRS()
{
FileItem = new List<FileItemRecursive>{};
}
public virtual List<FileItemRecursive> FileItem { get; set; }
}
public partial class GetFileItemRQ
{
public virtual decimal carpeta { get; set; }
public virtual string usuario { get; set; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /restfiles/GetFileItemRQ HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: application/json
Content-Type: application/json
Content-Length: length
{"carpeta":0,"usuario":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"FileItem":[{}]}