All Verbs | /Utilidades/Archivos/UploadFileRQ |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Administrador.Modelo.General
Namespace Global
Namespace Administrador.Modelo.General
Public Partial Class UploadFileRQ
Public Overridable Property path As String
Public Overridable Property carp_carp As String
End Class
Public Partial Class UploadFileRS
Public Overridable Property Success As Boolean
Public Overridable Property [Error] As String
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Utilidades/Archivos/UploadFileRQ HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"path":"String","carp_carp":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"Success":false,"Error":"String"}