| GET, POST | /cr_controle_camion/{id_controleur}/{id_tournee} |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using CL_WS;
namespace CL_WS
{
public partial class _cr_controle_camion
{
public virtual string id_controleur { get; set; }
public virtual string id_tournee { get; set; }
public virtual string id_formulaire { get; set; }
public virtual string id_type_formulaire { get; set; }
public virtual string id_type_reponse { get; set; }
public virtual string value { get; set; }
public virtual string date { get; set; }
}
public partial class cr_controle_camionRequest
{
public cr_controle_camionRequest()
{
cr_controles_camion = new List<_cr_controle_camion>{};
}
public virtual string id_controleur { get; set; }
public virtual string id_tournee { get; set; }
public virtual List<_cr_controle_camion> cr_controles_camion { get; set; }
}
public partial class cr_controle_camionResponse
{
public cr_controle_camionResponse()
{
cr_controles_camion = new List<_cr_controle_camion>{};
}
public virtual string id_controleur { get; set; }
public virtual string id_tournee { get; set; }
public virtual List<_cr_controle_camion> cr_controles_camion { get; set; }
}
}
C# cr_controle_camionRequest 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 /cr_controle_camion/{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_controles_camion":[{"id_controleur":"String","id_tournee":"String","id_formulaire":"String","id_type_formulaire":"String","id_type_reponse":"String","value":"String","date":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"id_controleur":"String","id_tournee":"String","cr_controles_camion":[{"id_controleur":"String","id_tournee":"String","id_formulaire":"String","id_type_formulaire":"String","id_type_reponse":"String","value":"String","date":"String"}]}