| GET, POST | /cr_tournee_statut/{id_controleur}/{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 _cr_tournee_statut
Public Overridable Property id_controleur As String
Public Overridable Property id_tournee As String
Public Overridable Property id_operateur As String
Public Overridable Property statut As Integer
Public Overridable Property date As String
End Class
Public Partial Class cr_tournee_statutRequest
Public Sub New()
cr_tournee_statuts = New List(Of _cr_tournee_statut)
End Sub
Public Overridable Property id_controleur As String
Public Overridable Property id_tournee As String
Public Overridable Property cr_tournee_statuts As List(Of _cr_tournee_statut)
End Class
Public Partial Class cr_tournee_statutResponse
Public Sub New()
cr_tournee_statuts = New List(Of _cr_tournee_statut)
End Sub
Public Overridable Property id_controleur As String
Public Overridable Property id_tournee As String
Public Overridable Property cr_tournee_statuts As List(Of _cr_tournee_statut)
End Class
End Namespace
End Namespace
VB.NET cr_tournee_statutRequest 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 /cr_tournee_statut/{id_controleur}/{id_tournee} HTTP/1.1
Host: freemotion-staging.milliet.paris
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"id_controleur":"String","id_tournee":"String","cr_tournee_statuts":[{"id_controleur":"String","id_tournee":"String","id_operateur":"String","statut":0,"date":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"id_controleur":"String","id_tournee":"String","cr_tournee_statuts":[{"id_controleur":"String","id_tournee":"String","id_operateur":"String","statut":0,"date":"String"}]}