| GET | /freemotion_images | ||
|---|---|---|---|
| GET | /cl_freemotion_images |
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class cl_freemotion_imageRequest
{
}
public static class cl_freemotion_imageResponse
{
public ArrayList<_cl_freemotion_image> images = null;
public ArrayList<_cl_freemotion_image> getImages() { return images; }
public cl_freemotion_imageResponse setImages(ArrayList<_cl_freemotion_image> value) { this.images = value; return this; }
}
public static class _cl_freemotion_image
{
public String id_tournee = null;
public String id_operateur = null;
public String id_client = null;
public String num_facture = null;
public Integer type = null;
public Integer index = null;
public String filename = null;
public String image_b64 = null;
public String getIdTournee() { return id_tournee; }
public _cl_freemotion_image setIdTournee(String value) { this.id_tournee = value; return this; }
public String getIdOperateur() { return id_operateur; }
public _cl_freemotion_image setIdOperateur(String value) { this.id_operateur = value; return this; }
public String getIdClient() { return id_client; }
public _cl_freemotion_image setIdClient(String value) { this.id_client = value; return this; }
public String getNumFacture() { return num_facture; }
public _cl_freemotion_image setNumFacture(String value) { this.num_facture = value; return this; }
public Integer getType() { return type; }
public _cl_freemotion_image setType(Integer value) { this.type = value; return this; }
public Integer getIndex() { return index; }
public _cl_freemotion_image setIndex(Integer value) { this.index = value; return this; }
public String getFilename() { return filename; }
public _cl_freemotion_image setFilename(String value) { this.filename = value; return this; }
public String getImageB64() { return image_b64; }
public _cl_freemotion_image setImageB64(String value) { this.image_b64 = value; return this; }
}
}
Java cl_freemotion_imageRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /freemotion_images HTTP/1.1 Host: freemotion-staging.milliet.paris Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"images":[{"id_tournee":"String","id_operateur":"String","id_client":"String","num_facture":"String","type":0,"index":0,"filename":"String","image_b64":"String"}]}