TicketUserServices

<back to all web services

GetExtraInfoFormAdmin

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequired permission:Tickets.Add
The following routes are available for this service:
GET/extraInfo/form/{EventId}/admin
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetExtraInfoFormAdmin
    {
        public Integer eventId = null;
        
        public Integer getEventId() { return eventId; }
        public GetExtraInfoFormAdmin setEventId(Integer value) { this.eventId = value; return this; }
    }

    public static class ExtraInfoFormResult
    {
        public Integer eventId = null;
        public Boolean showAlert = null;
        public String alertTitleIs = null;
        public String alertTitleEn = null;
        public String alertBodyIs = null;
        public String alertBodyEn = null;
        public String alertButtonIs = null;
        public String alertButtonEn = null;
        public Boolean isDefault = null;
        public ArrayList<ExtraInfoFieldInfo> fields = null;
        
        public Integer getEventId() { return eventId; }
        public ExtraInfoFormResult setEventId(Integer value) { this.eventId = value; return this; }
        public Boolean isShowAlert() { return showAlert; }
        public ExtraInfoFormResult setShowAlert(Boolean value) { this.showAlert = value; return this; }
        public String getAlertTitleIs() { return alertTitleIs; }
        public ExtraInfoFormResult setAlertTitleIs(String value) { this.alertTitleIs = value; return this; }
        public String getAlertTitleEn() { return alertTitleEn; }
        public ExtraInfoFormResult setAlertTitleEn(String value) { this.alertTitleEn = value; return this; }
        public String getAlertBodyIs() { return alertBodyIs; }
        public ExtraInfoFormResult setAlertBodyIs(String value) { this.alertBodyIs = value; return this; }
        public String getAlertBodyEn() { return alertBodyEn; }
        public ExtraInfoFormResult setAlertBodyEn(String value) { this.alertBodyEn = value; return this; }
        public String getAlertButtonIs() { return alertButtonIs; }
        public ExtraInfoFormResult setAlertButtonIs(String value) { this.alertButtonIs = value; return this; }
        public String getAlertButtonEn() { return alertButtonEn; }
        public ExtraInfoFormResult setAlertButtonEn(String value) { this.alertButtonEn = value; return this; }
        public Boolean getIsDefault() { return isDefault; }
        public ExtraInfoFormResult setIsDefault(Boolean value) { this.isDefault = value; return this; }
        public ArrayList<ExtraInfoFieldInfo> getFields() { return fields; }
        public ExtraInfoFormResult setFields(ArrayList<ExtraInfoFieldInfo> value) { this.fields = value; return this; }
    }

    public static class ExtraInfoFieldInfo
    {
        public Integer id = null;
        public String fieldKey = null;
        public String fieldType = null;
        public String labelIs = null;
        public String labelEn = null;
        public String placeholderIs = null;
        public String placeholderEn = null;
        public Boolean isRequired = null;
        public Integer maxLength = null;
        public String optionsJson = null;
        public String scope = null;
        public Integer sortOrder = null;
        public Boolean isSystem = null;
        public Boolean isActive = null;
        public Boolean hasAnswers = null;
        
        public Integer getId() { return id; }
        public ExtraInfoFieldInfo setId(Integer value) { this.id = value; return this; }
        public String getFieldKey() { return fieldKey; }
        public ExtraInfoFieldInfo setFieldKey(String value) { this.fieldKey = value; return this; }
        public String getFieldType() { return fieldType; }
        public ExtraInfoFieldInfo setFieldType(String value) { this.fieldType = value; return this; }
        public String getLabelIs() { return labelIs; }
        public ExtraInfoFieldInfo setLabelIs(String value) { this.labelIs = value; return this; }
        public String getLabelEn() { return labelEn; }
        public ExtraInfoFieldInfo setLabelEn(String value) { this.labelEn = value; return this; }
        public String getPlaceholderIs() { return placeholderIs; }
        public ExtraInfoFieldInfo setPlaceholderIs(String value) { this.placeholderIs = value; return this; }
        public String getPlaceholderEn() { return placeholderEn; }
        public ExtraInfoFieldInfo setPlaceholderEn(String value) { this.placeholderEn = value; return this; }
        public Boolean getIsRequired() { return isRequired; }
        public ExtraInfoFieldInfo setIsRequired(Boolean value) { this.isRequired = value; return this; }
        public Integer getMaxLength() { return maxLength; }
        public ExtraInfoFieldInfo setMaxLength(Integer value) { this.maxLength = value; return this; }
        public String getOptionsJson() { return optionsJson; }
        public ExtraInfoFieldInfo setOptionsJson(String value) { this.optionsJson = value; return this; }
        public String getScope() { return scope; }
        public ExtraInfoFieldInfo setScope(String value) { this.scope = value; return this; }
        public Integer getSortOrder() { return sortOrder; }
        public ExtraInfoFieldInfo setSortOrder(Integer value) { this.sortOrder = value; return this; }
        public Boolean getIsSystem() { return isSystem; }
        public ExtraInfoFieldInfo setIsSystem(Boolean value) { this.isSystem = value; return this; }
        public Boolean getIsActive() { return isActive; }
        public ExtraInfoFieldInfo setIsActive(Boolean value) { this.isActive = value; return this; }
        public Boolean isHasAnswers() { return hasAnswers; }
        public ExtraInfoFieldInfo setHasAnswers(Boolean value) { this.hasAnswers = value; return this; }
    }

}

Java GetExtraInfoFormAdmin DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /extraInfo/form/{EventId}/admin HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	eventId: 0,
	showAlert: False,
	alertTitleIs: String,
	alertTitleEn: String,
	alertBodyIs: String,
	alertBodyEn: String,
	alertButtonIs: String,
	alertButtonEn: String,
	isDefault: False,
	fields: 
	[
		{
			id: 0,
			fieldKey: String,
			fieldType: String,
			labelIs: String,
			labelEn: String,
			placeholderIs: String,
			placeholderEn: String,
			isRequired: False,
			maxLength: 0,
			optionsJson: String,
			scope: String,
			sortOrder: 0,
			isSystem: False,
			isActive: False,
			hasAnswers: False
		}
	]
}