| GET, POST | /cl_ordre_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 _ordre_tournee
Public Sub New()
factures = New List(Of String)
End Sub
Public Overridable Property id_operateur As String
Public Overridable Property id_tournee As String
Public Overridable Property factures As List(Of String)
End Class
Public Partial Class cl_ordre_tourneeRequest
Public Sub New()
ordre_tournees = New List(Of _ordre_tournee)
End Sub
Public Overridable Property id_operateur As String
Public Overridable Property id_tournee As String
Public Overridable Property ordre_tournees As List(Of _ordre_tournee)
End Class
Public Partial Class cl_ordre_tourneeResponse
Public Sub New()
ordre_tournees = New List(Of _ordre_tournee)
End Sub
Public Overridable Property id_operateur As String
Public Overridable Property id_tournee As String
Public Overridable Property ordre_tournees As List(Of _ordre_tournee)
End Class
End Namespace
End Namespace
VB.NET cl_ordre_tourneeRequest 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_ordre_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","ordre_tournees":[{"id_operateur":"String","id_tournee":"String","factures":["String"]}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"id_operateur":"String","id_tournee":"String","ordre_tournees":[{"id_operateur":"String","id_tournee":"String","factures":["String"]}]}