CL$WS Host : D5239-staging-cl

<back to all web services

cl_alerte_tourneeRequest

The following routes are available for this service:
GET, POST/cl_alerte_tournee/{id_operateur}/{id_tournee}
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 _alerte_tournee
            Public Sub New()
                factures_non_livrees = New List(Of _alerte_tournee_ligne)
            End Sub

            Public Overridable Property id_operateur As String
            Public Overridable Property id_tournee As String
            Public Overridable Property id_evenement As String
            Public Overridable Property date As String
            Public Overridable Property latitude As Double
            Public Overridable Property longitude As Double
            Public Overridable Property duree As Double
            Public Overridable Property factures_non_livrees As List(Of _alerte_tournee_ligne)
        End Class

        Public Partial Class _alerte_tournee_ligne
            Public Overridable Property id_operateur As String
            Public Overridable Property id_tournee As String
            Public Overridable Property id_evenement As String
            Public Overridable Property date As String
            Public Overridable Property num_facture As String
        End Class

        Public Partial Class cl_alerte_tourneeRequest
            Public Sub New()
                alertes_tournees = New List(Of _alerte_tournee)
            End Sub

            Public Overridable Property id_operateur As String
            Public Overridable Property id_tournee As String
            Public Overridable Property alertes_tournees As List(Of _alerte_tournee)
        End Class

        Public Partial Class cl_alerte_tourneeResponse
            Public Sub New()
                alertes_tournees = New List(Of _alerte_tournee)
            End Sub

            Public Overridable Property id_operateur As String
            Public Overridable Property id_tournee As String
            Public Overridable Property alertes_tournees As List(Of _alerte_tournee)
        End Class
    End Namespace
End Namespace

VB.NET cl_alerte_tourneeRequest DTOs

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

HTTP + OTHER

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

POST /cl_alerte_tournee/{id_operateur}/{id_tournee} HTTP/1.1 
Host: freemotion-staging.milliet.paris 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"id_operateur":"String","id_tournee":"String","alertes_tournees":[{"id_operateur":"String","id_tournee":"String","id_evenement":"String","date":"String","latitude":0,"longitude":0,"duree":0,"factures_non_livrees":[{"id_operateur":"String","id_tournee":"String","id_evenement":"String","date":"String","num_facture":"String"}]}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"id_operateur":"String","id_tournee":"String","alertes_tournees":[{"id_operateur":"String","id_tournee":"String","id_evenement":"String","date":"String","latitude":0,"longitude":0,"duree":0,"factures_non_livrees":[{"id_operateur":"String","id_tournee":"String","id_evenement":"String","date":"String","num_facture":"String"}]}]}