All Verbs | /Utilidades/AccessURLToken |
---|
import Foundation
import ServiceStack
public class AccessURLTokenRQ : Codable
{
public var id:String
public var operacion:String
public var login:String
public var nombreApp:String
//data:Object ignored. Type could not be extended in Swift
public var idEmpresa:Double
public var idSistema:Double
public var nombreUsuario:String
required public init(){}
}
public class AccessURLTokenRS : Codable
{
public var respuesta:String
required public init(){}
}
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 /Utilidades/AccessURLToken HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Id: String,
Operacion: String,
Login: String,
NombreApp: String,
Data: {},
IdEmpresa: 0,
IdSistema: 0,
NombreUsuario: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Respuesta: String }