| GET,OPTIONS | /book/{Slug} | ||
|---|---|---|---|
| GET,OPTIONS | /book/{Slug}/{Profile} |
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class CourierBookHtmlRequest
{
public String Slug = null;
public String Profile = null;
public String getSlug() { return Slug; }
public CourierBookHtmlRequest setSlug(String value) { this.Slug = value; return this; }
public String getProfile() { return Profile; }
public CourierBookHtmlRequest setProfile(String value) { this.Profile = value; return this; }
}
}
Java CourierBookHtmlRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /book/{Slug} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsonl