| GET, POST | /cl_ordre_tournee/{id_operateur}/{id_tournee} |
|---|
import Foundation
import ServiceStack
public class cl_ordre_tourneeRequest : Codable
{
public var id_operateur:String
public var id_tournee:String
public var ordre_tournees:[_ordre_tournee] = []
required public init(){}
}
public class _ordre_tournee : Codable
{
public var id_operateur:String
public var id_tournee:String
public var factures:[String] = []
required public init(){}
}
public class cl_ordre_tourneeResponse : Codable
{
public var id_operateur:String
public var id_tournee:String
public var ordre_tournees:[_ordre_tournee] = []
required public init(){}
}
Swift cl_ordre_tourneeRequest 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 /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"]}]}