FrameAppWS

<back to all web services

GetFilesRQ

Requires Authentication
The following routes are available for this service:
All Verbs/restfiles/GetFilesRQ
import Foundation
import ServiceStack

public class GetFilesRQ : Codable
{
    public var usua_login:String
    public var sist_sist:Int
    public var empr_empr:Int
    public var fechaini:Date
    public var fechafin:Date

    required public init(){}
}

public class GetDirectoryRS : Codable
{
    public var fileItem:[FileItemRecursive] = []

    required public init(){}
}

public class FileItemRecursive : Codable
{
    public var idArchivo:Double?
    public var carp_carp:Double?
    public var carp_padre:Double?
    public var isDirectory:Bool
    public var name:String
    public var usua_login:String
    public var fecha:Date
    public var items:[FileItemRecursive] = []

    required public init(){}
}


Swift GetFilesRQ DTOs

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

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /restfiles/GetFilesRQ HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	usua_login: String,
	sist_sist: 0,
	empr_empr: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	FileItem: 
	[
		{
			
		}
	]
}