CL$WS Host : D5239-staging-cl

<back to all web services

cl_repriseRequest

The following routes are available for this service:
GET, POST/cl_reprise/{id_operateur}/{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 _reprise
    {
        public virtual string id_operateur { get; set; }
        public virtual string id_tournee { get; set; }
        public virtual string num_facture { get; set; }
        public virtual string type_reprise { get; set; }
        public virtual string article_id { get; set; }
        public virtual int article_absent { get; set; }
        public virtual int quantite { get; set; }
        public virtual int reintegrable { get; set; }
        public virtual string commentaire { get; set; }
        public virtual string date { get; set; }
        public virtual double? qte_uv { get; set; }
        public virtual double? qte_uc { get; set; }
        public virtual double? cdt_uc { get; set; }
    }

    public partial class cl_repriseRequest
    {
        public cl_repriseRequest()
        {
            reprises = new List<_reprise>{};
        }

        public virtual string id_operateur { get; set; }
        public virtual string id_tournee { get; set; }
        public virtual List<_reprise> reprises { get; set; }
    }

    public partial class cl_repriseResponse
    {
        public cl_repriseResponse()
        {
            reprises = new List<_reprise>{};
        }

        public virtual string id_operateur { get; set; }
        public virtual string id_tournee { get; set; }
        public virtual List<_reprise> reprises { get; set; }
    }

}

C# cl_repriseRequest 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_reprise/{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","reprises":[{"id_operateur":"String","id_tournee":"String","num_facture":"String","type_reprise":"String","article_id":"String","article_absent":0,"quantite":0,"reintegrable":0,"commentaire":"String","date":"String","qte_uv":0,"qte_uc":0,"cdt_uc":0}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"id_operateur":"String","id_tournee":"String","reprises":[{"id_operateur":"String","id_tournee":"String","num_facture":"String","type_reprise":"String","article_id":"String","article_absent":0,"quantite":0,"reintegrable":0,"commentaire":"String","date":"String","qte_uv":0,"qte_uc":0,"cdt_uc":0}]}