| GET, POST | /cr_controle_camion/{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_controle_camion
Public Overridable Property id_controleur As String
Public Overridable Property id_tournee As String
Public Overridable Property id_formulaire As String
Public Overridable Property id_type_formulaire As String
Public Overridable Property id_type_reponse As String
Public Overridable Property value As String
Public Overridable Property date As String
End Class
Public Partial Class cr_controle_camionRequest
Public Sub New()
cr_controles_camion = New List(Of _cr_controle_camion)
End Sub
Public Overridable Property id_controleur As String
Public Overridable Property id_tournee As String
Public Overridable Property cr_controles_camion As List(Of _cr_controle_camion)
End Class
Public Partial Class cr_controle_camionResponse
Public Sub New()
cr_controles_camion = New List(Of _cr_controle_camion)
End Sub
Public Overridable Property id_controleur As String
Public Overridable Property id_tournee As String
Public Overridable Property cr_controles_camion As List(Of _cr_controle_camion)
End Class
End Namespace
End Namespace
VB.NET cr_controle_camionRequest 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_controle_camion/{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_controles_camion":[{"id_controleur":"String","id_tournee":"String","id_formulaire":"String","id_type_formulaire":"String","id_type_reponse":"String","value":"String","date":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"id_controleur":"String","id_tournee":"String","cr_controles_camion":[{"id_controleur":"String","id_tournee":"String","id_formulaire":"String","id_type_formulaire":"String","id_type_reponse":"String","value":"String","date":"String"}]}