CL$WS Host : D5239-staging-cl

<back to all web services

cl_inter_livraisonRequest

The following routes are available for this service:
GET, POST/cl_inter_livraison/{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 _inter_livraison
            Public Overridable Property id_operateur As String
            Public Overridable Property id_tournee As String
            Public Overridable Property date As String
            Public Overridable Property latitude As Double
            Public Overridable Property longitude As Double
            Public Overridable Property id_client_termine As String
            Public Overridable Property satisfaction As Integer
            Public Overridable Property id_client_suivant As String
            Public Overridable Property signature As String
        End Class

        Public Partial Class cl_inter_livraisonRequest
            Public Sub New()
                inter_livraisons = New List(Of _inter_livraison)
            End Sub

            Public Overridable Property id_operateur As String
            Public Overridable Property id_tournee As String
            Public Overridable Property inter_livraisons As List(Of _inter_livraison)
        End Class

        Public Partial Class cl_inter_livraisonResponse
            Public Sub New()
                inter_livraisons = New List(Of _inter_livraison)
            End Sub

            Public Overridable Property id_operateur As String
            Public Overridable Property id_tournee As String
            Public Overridable Property inter_livraisons As List(Of _inter_livraison)
        End Class
    End Namespace
End Namespace

VB.NET cl_inter_livraisonRequest 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 /cl_inter_livraison/{id_operateur}/{id_tournee} HTTP/1.1 
Host: freemotion-staging.milliet.paris 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"id_operateur":"String","id_tournee":"String","inter_livraisons":[{"id_operateur":"String","id_tournee":"String","date":"String","latitude":0,"longitude":0,"id_client_termine":"String","satisfaction":0,"id_client_suivant":"String","signature":"String"}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"id_operateur":"String","id_tournee":"String","inter_livraisons":[{"id_operateur":"String","id_tournee":"String","date":"String","latitude":0,"longitude":0,"id_client_termine":"String","satisfaction":0,"id_client_suivant":"String","signature":"String"}]}