| GET | /WebApp/Appointments/FromDate |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetAppointmentDates
{
}
public static class GetAppointmentDatesResponse
{
public IList<Date> dates = null;
public ResponseStatus responseStatus = null;
public IList<Date> getDates() { return dates; }
public GetAppointmentDatesResponse setDates(IList<Date> value) { this.dates = value; return this; }
public ResponseStatus getResponseStatus() { return responseStatus; }
public GetAppointmentDatesResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
}
}
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 /WebApp/Appointments/FromDate HTTP/1.1 Host: develop-servamw.eras-online.de Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}