CL$WS Host : D5239-staging-cl

<back to all web services

cr_tournee_statutRequest

The following routes are available for this service:
GET, POST/cr_tournee_statut/{id_controleur}/{id_tournee}
import Foundation
import ServiceStack

public class cr_tournee_statutRequest : Codable
{
    public var id_controleur:String
    public var id_tournee:String
    public var cr_tournee_statuts:[_cr_tournee_statut] = []

    required public init(){}
}

public class _cr_tournee_statut : Codable
{
    public var id_controleur:String
    public var id_tournee:String
    public var id_operateur:String
    public var statut:Int
    public var date:String

    required public init(){}
}

public class cr_tournee_statutResponse : Codable
{
    public var id_controleur:String
    public var id_tournee:String
    public var cr_tournee_statuts:[_cr_tournee_statut] = []

    required public init(){}
}


Swift cr_tournee_statutRequest 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 /cr_tournee_statut/{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_tournee_statuts":[{"id_controleur":"String","id_tournee":"String","id_operateur":"String","statut":0,"date":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"id_controleur":"String","id_tournee":"String","cr_tournee_statuts":[{"id_controleur":"String","id_tournee":"String","id_operateur":"String","statut":0,"date":"String"}]}