| GET, POST | /cl_multi_photo/{id_operateur}/{id_tournee} |
|---|
namespace CL_WS
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type _multi_photo() =
member val id_operateur:String = null with get,set
member val id_tournee:String = null with get,set
member val id_client:String = null with get,set
member val num_facture:String = null with get,set
member val type:Int32 = new Int32() with get,set
member val index:Int32 = new Int32() with get,set
member val path:String = null with get,set
member val photo:String = null with get,set
member val photo_light:String = null with get,set
member val date:String = null with get,set
member val latitude:Double = new Double() with get,set
member val longitude:Double = new Double() with get,set
[<AllowNullLiteral>]
type cl_multi_photoResponse() =
member val id_operateur:String = null with get,set
member val id_tournee:String = null with get,set
member val multi_photos:ResizeArray<_multi_photo> = new ResizeArray<_multi_photo>() with get,set
[<AllowNullLiteral>]
type cl_multi_photoRequest() =
member val id_operateur:String = null with get,set
member val id_tournee:String = null with get,set
member val multi_photos:ResizeArray<_multi_photo> = new ResizeArray<_multi_photo>() with get,set
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}]}