| POST | /ticketView |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class TicketViewRequest
{
public String ticketTokenId = null;
public String source = null;
public String getTicketTokenId() { return ticketTokenId; }
public TicketViewRequest setTicketTokenId(String value) { this.ticketTokenId = value; return this; }
public String getSource() { return source; }
public TicketViewRequest setSource(String value) { this.source = value; return this; }
}
public static class TicketViewResult
{
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /ticketView HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ticketTokenId: String,
source: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
}