CL$WS Host : D5239-staging-cl

<back to all web services

cl_ordre_tourneeRequest

The following routes are available for this service:
GET, POST/cl_ordre_tournee/{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 _ordre_tournee() = 
        member val id_operateur:String = null with get,set
        member val id_tournee:String = null with get,set
        member val factures:ResizeArray<String> = new ResizeArray<String>() with get,set

    [<AllowNullLiteral>]
    type cl_ordre_tourneeResponse() = 
        member val id_operateur:String = null with get,set
        member val id_tournee:String = null with get,set
        member val ordre_tournees:ResizeArray<_ordre_tournee> = new ResizeArray<_ordre_tournee>() with get,set

    [<AllowNullLiteral>]
    type cl_ordre_tourneeRequest() = 
        member val id_operateur:String = null with get,set
        member val id_tournee:String = null with get,set
        member val ordre_tournees:ResizeArray<_ordre_tournee> = new ResizeArray<_ordre_tournee>() with get,set

F# cl_ordre_tourneeRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + 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"]}]}