| GET | /personalTitles | Get Personal Titles |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetPersonalTitles
{
/**
* Country Id
*/
@ApiMember(Description="Country Id", IsRequired=true)
public String countryId = null;
public String getCountryId() { return countryId; }
public GetPersonalTitles setCountryId(String value) { this.countryId = value; return this; }
}
public static class GetPersonalTitlesResponse extends ArrayList<PersonalTitle>
{
}
public static class PersonalTitle
{
/**
* Title
*/
@ApiMember(Description="Title", IsRequired=true)
public String title = null;
/**
* Gender description(s)
*/
@ApiMember(Description="Gender description(s)", IsRequired=true)
public ArrayList<String> gender = null;
/**
* Title translation
*/
@ApiMember(Description="Title translation", IsRequired=true)
public String translation = null;
public String getTitle() { return title; }
public PersonalTitle setTitle(String value) { this.title = value; return this; }
public ArrayList<String> getGender() { return gender; }
public PersonalTitle setGender(ArrayList<String> value) { this.gender = value; return this; }
public String getTranslation() { return translation; }
public PersonalTitle setTranslation(String value) { this.translation = 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 /personalTitles HTTP/1.1 Host: dev-api-booster.richemont.com Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length []