| GET, POST | /cl_json_log/{id_operateur} |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CL_WS
Namespace Global
Namespace CL_WS
Public Partial Class _json_log
Public Overridable Property id_controleur As String
Public Overridable Property guid As String
Public Overridable Property id_operateur As String
Public Overridable Property type As String
Public Overridable Property date_log As String
Public Overridable Property date As String
Public Overridable Property log As String
End Class
Public Partial Class cl_json_logRequest
Public Sub New()
logs = New List(Of _json_log)
End Sub
Public Overridable Property id_operateur As String
Public Overridable Property logs As List(Of _json_log)
End Class
Public Partial Class cl_json_logResponse
Public Overridable Property id_operateur As String
End Class
End Namespace
End Namespace
VB.NET cl_json_logRequest DTOs
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 /cl_json_log/{id_operateur} HTTP/1.1
Host: freemotion-staging.milliet.paris
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"id_operateur":"String","logs":[{"id_controleur":"String","guid":"String","id_operateur":"String","type":"String","date_log":"String","date":"String","log":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"id_operateur":"String"}