All Verbs | /Utilidades/Archivos/CargaPlano |
---|
import Foundation
import ServiceStack
public class CargaPlanoRQ : Codable
{
public var idForma:Int?
required public init(){}
}
public class CargaPlanoRS : Codable
{
public var success:Bool?
public var error:String?
public var tokenCarga:String?
public var idCarga:Int?
public var novedades:[NovedadesCarga] = []
required public init(){}
}
public class NovedadesCarga : Codable
{
public var fila:Int?
public var columna:Int?
public var tipoError:String?
public var novedad:String?
required public init(){}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Utilidades/Archivos/CargaPlano HTTP/1.1
Host: ws.jimsnwa.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"IDForma":0}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Success":false,"Error":"String","TokenCarga":"String","IDCarga":0,"Novedades":[{"Fila":0,"Columna":0,"TipoError":"String","Novedad":"String"}]}