| GET | /extraInfo/form/{EventId} |
|---|
export class ExtraInfoFieldInfo
{
public id?: number;
public fieldKey?: string;
public fieldType?: string;
public labelIs?: string;
public labelEn?: string;
public placeholderIs?: string;
public placeholderEn?: string;
public isRequired?: boolean;
public maxLength?: number;
public optionsJson?: string;
public scope?: string;
public sortOrder?: number;
public isSystem?: boolean;
public isActive?: boolean;
public hasAnswers?: boolean;
public constructor(init?: Partial<ExtraInfoFieldInfo>) { (Object as any).assign(this, init); }
}
export class ExtraInfoFormResult
{
public eventId?: number;
public showAlert?: boolean;
public alertTitleIs?: string;
public alertTitleEn?: string;
public alertBodyIs?: string;
public alertBodyEn?: string;
public alertButtonIs?: string;
public alertButtonEn?: string;
public isDefault?: boolean;
public fields?: ExtraInfoFieldInfo[];
public constructor(init?: Partial<ExtraInfoFormResult>) { (Object as any).assign(this, init); }
}
export class GetExtraInfoForm
{
public eventId?: number;
public constructor(init?: Partial<GetExtraInfoForm>) { (Object as any).assign(this, init); }
}
TypeScript GetExtraInfoForm DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /extraInfo/form/{EventId} HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ExtraInfoFormResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<AlertBodyEn>String</AlertBodyEn>
<AlertBodyIs>String</AlertBodyIs>
<AlertButtonEn>String</AlertButtonEn>
<AlertButtonIs>String</AlertButtonIs>
<AlertTitleEn>String</AlertTitleEn>
<AlertTitleIs>String</AlertTitleIs>
<EventId>0</EventId>
<Fields>
<ExtraInfoFieldInfo>
<FieldKey>String</FieldKey>
<FieldType>String</FieldType>
<HasAnswers>false</HasAnswers>
<Id>0</Id>
<IsActive>false</IsActive>
<IsRequired>false</IsRequired>
<IsSystem>false</IsSystem>
<LabelEn>String</LabelEn>
<LabelIs>String</LabelIs>
<MaxLength>0</MaxLength>
<OptionsJson>String</OptionsJson>
<PlaceholderEn>String</PlaceholderEn>
<PlaceholderIs>String</PlaceholderIs>
<Scope>String</Scope>
<SortOrder>0</SortOrder>
</ExtraInfoFieldInfo>
</Fields>
<IsDefault>false</IsDefault>
<ShowAlert>false</ShowAlert>
</ExtraInfoFormResult>