All Verbs | /restfiles/ShareFolderBxRQ |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class ShareFolderBxRQ
{
public BigDecimal idArchivo = null;
public ArrayList<String> usua_login = null;
public BigDecimal carp_carp = null;
public Boolean isDirectory = null;
public Integer empr_empr = null;
public Integer sist_sist = null;
public BigDecimal getIdArchivo() { return idArchivo; }
public ShareFolderBxRQ setIdArchivo(BigDecimal value) { this.idArchivo = value; return this; }
public ArrayList<String> getUsuaLogin() { return usua_login; }
public ShareFolderBxRQ setUsuaLogin(ArrayList<String> value) { this.usua_login = value; return this; }
public BigDecimal getCarpCarp() { return carp_carp; }
public ShareFolderBxRQ setCarpCarp(BigDecimal value) { this.carp_carp = value; return this; }
public Boolean getIsDirectory() { return isDirectory; }
public ShareFolderBxRQ setIsDirectory(Boolean value) { this.isDirectory = value; return this; }
public Integer getEmprEmpr() { return empr_empr; }
public ShareFolderBxRQ setEmprEmpr(Integer value) { this.empr_empr = value; return this; }
public Integer getSistSist() { return sist_sist; }
public ShareFolderBxRQ setSistSist(Integer value) { this.sist_sist = value; return this; }
}
public static class ShareFileRS
{
public Boolean isShared = null;
public String error = null;
public Boolean getIsShared() { return isShared; }
public ShareFileRS setIsShared(Boolean value) { this.isShared = value; return this; }
public String getError() { return error; }
public ShareFileRS setError(String value) { this.error = value; return this; }
}
}
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 /restfiles/ShareFolderBxRQ HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
idArchivo: 0,
usua_login:
[
String
],
carp_carp: 0,
isDirectory: False,
empr_empr: 0,
sist_sist: 0
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { isShared: False, error: String }