| GET, POST | /cl_multi_photo/{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 _multi_photo
Public Overridable Property id_operateur As String
Public Overridable Property id_tournee As String
Public Overridable Property id_client As String
Public Overridable Property num_facture As String
Public Overridable Property type As Integer
Public Overridable Property index As Integer
Public Overridable Property path As String
Public Overridable Property photo As String
Public Overridable Property photo_light As String
Public Overridable Property date As String
Public Overridable Property latitude As Double
Public Overridable Property longitude As Double
End Class
Public Partial Class cl_multi_photoRequest
Public Sub New()
multi_photos = New List(Of _multi_photo)
End Sub
Public Overridable Property id_operateur As String
Public Overridable Property id_tournee As String
Public Overridable Property multi_photos As List(Of _multi_photo)
End Class
Public Partial Class cl_multi_photoResponse
Public Sub New()
multi_photos = New List(Of _multi_photo)
End Sub
Public Overridable Property id_operateur As String
Public Overridable Property id_tournee As String
Public Overridable Property multi_photos As List(Of _multi_photo)
End Class
End Namespace
End Namespace
VB.NET cl_multi_photoRequest 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /cl_multi_photo/{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","multi_photos":[{"id_operateur":"String","id_tournee":"String","id_client":"String","num_facture":"String","type":0,"index":0,"path":"String","photo":"String","photo_light":"String","date":"String","latitude":0,"longitude":0}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"id_operateur":"String","id_tournee":"String","multi_photos":[{"id_operateur":"String","id_tournee":"String","id_client":"String","num_facture":"String","type":0,"index":0,"path":"String","photo":"String","photo_light":"String","date":"String","latitude":0,"longitude":0}]}