CL$WS Host : D5239-staging-cl

<back to all web services

cr_json_logRequest

The following routes are available for this service:
GET, POST/cr_json_log/{id_controleur}
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 cr_json_logRequest
            Public Sub New()
                logs = New List(Of _json_log)
            End Sub

            Public Overridable Property id_controleur As String
            Public Overridable Property logs As List(Of _json_log)
        End Class

        Public Partial Class cr_json_logResponse
            Public Overridable Property id_controleur As String
        End Class
    End Namespace
End Namespace

VB.NET cr_json_logRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /cr_json_log/{id_controleur} HTTP/1.1 
Host: freemotion-staging.milliet.paris 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"id_controleur":"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: application/json
Content-Length: length

{"id_controleur":"String"}