| Requires any of the roles: | Admin, TeamAdmin, MobileApp | Required permission: | Tickets.Add |
| GET | /extraInfo/form/{EventId}/admin |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class GetExtraInfoFormAdmin
{
var eventId:Int? = null
}
open class ExtraInfoFormResult
{
var eventId:Int? = null
var showAlert:Boolean? = null
var alertTitleIs:String? = null
var alertTitleEn:String? = null
var alertBodyIs:String? = null
var alertBodyEn:String? = null
var alertButtonIs:String? = null
var alertButtonEn:String? = null
var isDefault:Boolean? = null
var fields:ArrayList<ExtraInfoFieldInfo> = ArrayList<ExtraInfoFieldInfo>()
}
open class ExtraInfoFieldInfo
{
var id:Int? = null
var fieldKey:String? = null
var fieldType:String? = null
var labelIs:String? = null
var labelEn:String? = null
var placeholderIs:String? = null
var placeholderEn:String? = null
var isRequired:Boolean? = null
var maxLength:Int? = null
var optionsJson:String? = null
var scope:String? = null
var sortOrder:Int? = null
var isSystem:Boolean? = null
var isActive:Boolean? = null
var hasAnswers:Boolean? = null
}
Kotlin GetExtraInfoFormAdmin 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 /extraInfo/form/{EventId}/admin HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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}]}