| Requires any of the roles: | Admin, TeamAdmin, MobileApp | Requires the permission: | ReadData |
| GET | /EventEmailMessage/ForEvent/{EventId} |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class EventEmailMessagesForEventRequest
{
public Integer eventId = null;
public Integer getEventId() { return eventId; }
public EventEmailMessagesForEventRequest setEventId(Integer value) { this.eventId = value; return this; }
}
public static class EventEmailMessagesResult
{
public ArrayList<EventEmailMessage> items = null;
public Integer statusCode = null;
public String message = null;
public ArrayList<EventEmailMessage> getItems() { return items; }
public EventEmailMessagesResult setItems(ArrayList<EventEmailMessage> value) { this.items = value; return this; }
public Integer getStatusCode() { return statusCode; }
public EventEmailMessagesResult setStatusCode(Integer value) { this.statusCode = value; return this; }
public String getMessage() { return message; }
public EventEmailMessagesResult setMessage(String value) { this.message = value; return this; }
}
public static class EventEmailMessage
{
public Integer id = null;
public Integer eventId = null;
public Integer ownerId = null;
public Integer ticketTypeId = null;
public String messageIs = null;
public String messageEn = null;
public Boolean isActive = null;
public Date createdAt = null;
public Date updatedAt = null;
public Integer getId() { return id; }
public EventEmailMessage setId(Integer value) { this.id = value; return this; }
public Integer getEventId() { return eventId; }
public EventEmailMessage setEventId(Integer value) { this.eventId = value; return this; }
public Integer getOwnerId() { return ownerId; }
public EventEmailMessage setOwnerId(Integer value) { this.ownerId = value; return this; }
public Integer getTicketTypeId() { return ticketTypeId; }
public EventEmailMessage setTicketTypeId(Integer value) { this.ticketTypeId = value; return this; }
public String getMessageIs() { return messageIs; }
public EventEmailMessage setMessageIs(String value) { this.messageIs = value; return this; }
public String getMessageEn() { return messageEn; }
public EventEmailMessage setMessageEn(String value) { this.messageEn = value; return this; }
public Boolean getIsActive() { return isActive; }
public EventEmailMessage setIsActive(Boolean value) { this.isActive = value; return this; }
public Date getCreatedAt() { return createdAt; }
public EventEmailMessage setCreatedAt(Date value) { this.createdAt = value; return this; }
public Date getUpdatedAt() { return updatedAt; }
public EventEmailMessage setUpdatedAt(Date value) { this.updatedAt = value; return this; }
}
}
Java EventEmailMessagesForEventRequest 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /EventEmailMessage/ForEvent/{EventId} HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"items":[{"id":0,"eventId":0,"ownerId":0,"ticketTypeId":0,"messageIs":"String","messageEn":"String","isActive":false,"createdAt":"0001-01-01T00:00:00.0000000","updatedAt":"0001-01-01T00:00:00.0000000"}],"statusCode":0,"message":"String"}