ScannerVision Web Server

<back to all web services

GetJsonTemplateInfos

Requires Authentication
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetJsonTemplateInfos extends JsonDto
    {
        
    }

    public static class JsonDto
    {
        
    }

    public static class GetJsonTemplateInfosResponse extends JsonDto
    {
        public ArrayList<JsonTemplateInfo> TemplateInfos = null;
        
        public ArrayList<JsonTemplateInfo> getTemplateInfos() { return TemplateInfos; }
        public GetJsonTemplateInfosResponse setTemplateInfos(ArrayList<JsonTemplateInfo> value) { this.TemplateInfos = value; return this; }
    }

    public static class JsonTemplateInfo
    {
        public String Guid = null;
        public Date TemplateModificationDate = null;
        public Date IconModificationDate = null;
        
        public String getGuid() { return Guid; }
        public JsonTemplateInfo setGuid(String value) { this.Guid = value; return this; }
        public Date getTemplateModificationDate() { return TemplateModificationDate; }
        public JsonTemplateInfo setTemplateModificationDate(Date value) { this.TemplateModificationDate = value; return this; }
        public Date getIconModificationDate() { return IconModificationDate; }
        public JsonTemplateInfo setIconModificationDate(Date value) { this.IconModificationDate = value; return this; }
    }

}

Java GetJsonTemplateInfos 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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/GetJsonTemplateInfos HTTP/1.1 
Host: buildmax.org 
Accept: application/json
Content-Type: application/json
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"TemplateInfos":[{"Guid":"String","TemplateModificationDate":"\/Date(-62135596800000-0000)\/","IconModificationDate":"\/Date(-62135596800000-0000)\/"}]}