FrameAppWS

<back to all web services

GetFileItemRQ

Requires Authentication
The following routes are available for this service:
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; }
    }

}

C# GetFileItemRQ DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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: text/csv
Content-Type: text/csv
Content-Length: length

{"carpeta":0,"usuario":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"FileItem":[{}]}