GET api/Event/GetForm
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
EventFormViewResponseName | Description | Type | Additional information |
---|---|---|---|
Amenities | Collection of EventAmenityView |
None. |
|
EventTypes | Collection of EventEventTypeView |
None. |
|
PackageTypes | Collection of EventPackageTypeView |
None. |
|
ArrangementTypes | Collection of EventArrangementTypeView |
None. |
|
BudgetTypes | Collection of EventBudgetTypeView |
None. |
|
HostTypes | Collection of EventHostTypeView |
None. |
Response Formats
application/json, text/json
Sample:
{ "amenities": [ { "amentityId": 1, "nameTh": "sample string 2", "nameEn": "sample string 3" }, { "amentityId": 1, "nameTh": "sample string 2", "nameEn": "sample string 3" } ], "eventTypes": [ { "eventTypeId": 1, "nameTh": "sample string 2", "nameEn": "sample string 3" }, { "eventTypeId": 1, "nameTh": "sample string 2", "nameEn": "sample string 3" } ], "packageTypes": [ { "typeId": 1, "typeTh": "sample string 2", "typeEn": "sample string 3", "packages": [ { "packageId": 1, "nameTh": "sample string 2", "nameEn": "sample string 3" }, { "packageId": 1, "nameTh": "sample string 2", "nameEn": "sample string 3" } ] }, { "typeId": 1, "typeTh": "sample string 2", "typeEn": "sample string 3", "packages": [ { "packageId": 1, "nameTh": "sample string 2", "nameEn": "sample string 3" }, { "packageId": 1, "nameTh": "sample string 2", "nameEn": "sample string 3" } ] } ], "arrangementTypes": [ { "arrangementTypeId": 1, "nameTh": "sample string 2", "nameEn": "sample string 3" }, { "arrangementTypeId": 1, "nameTh": "sample string 2", "nameEn": "sample string 3" } ], "budgetTypes": [ { "budgetTypeId": 1, "budgetTypeName": "sample string 2" }, { "budgetTypeId": 1, "budgetTypeName": "sample string 2" } ], "hostTypes": [ { "hostTypeId": 1, "hostTypeName": "sample string 2" }, { "hostTypeId": 1, "hostTypeName": "sample string 2" } ] }
text/html
Sample:
{"amenities":[{"amentityId":1,"nameTh":"sample string 2","nameEn":"sample string 3"},{"amentityId":1,"nameTh":"sample string 2","nameEn":"sample string 3"}],"eventTypes":[{"eventTypeId":1,"nameTh":"sample string 2","nameEn":"sample string 3"},{"eventTypeId":1,"nameTh":"sample string 2","nameEn":"sample string 3"}],"packageTypes":[{"typeId":1,"typeTh":"sample string 2","typeEn":"sample string 3","packages":[{"packageId":1,"nameTh":"sample string 2","nameEn":"sample string 3"},{"packageId":1,"nameTh":"sample string 2","nameEn":"sample string 3"}]},{"typeId":1,"typeTh":"sample string 2","typeEn":"sample string 3","packages":[{"packageId":1,"nameTh":"sample string 2","nameEn":"sample string 3"},{"packageId":1,"nameTh":"sample string 2","nameEn":"sample string 3"}]}],"arrangementTypes":[{"arrangementTypeId":1,"nameTh":"sample string 2","nameEn":"sample string 3"},{"arrangementTypeId":1,"nameTh":"sample string 2","nameEn":"sample string 3"}],"budgetTypes":[{"budgetTypeId":1,"budgetTypeName":"sample string 2"},{"budgetTypeId":1,"budgetTypeName":"sample string 2"}],"hostTypes":[{"hostTypeId":1,"hostTypeName":"sample string 2"},{"hostTypeId":1,"hostTypeName":"sample string 2"}]}
application/xml, text/xml
Sample:
<EventController.EventFormViewResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.Controllers"> <Amenities> <EventController.EventAmenityView> <AmentityId>1</AmentityId> <NameEn>sample string 3</NameEn> <NameTh>sample string 2</NameTh> </EventController.EventAmenityView> <EventController.EventAmenityView> <AmentityId>1</AmentityId> <NameEn>sample string 3</NameEn> <NameTh>sample string 2</NameTh> </EventController.EventAmenityView> </Amenities> <ArrangementTypes> <EventController.EventArrangementTypeView> <ArrangementTypeId>1</ArrangementTypeId> <NameEn>sample string 3</NameEn> <NameTh>sample string 2</NameTh> </EventController.EventArrangementTypeView> <EventController.EventArrangementTypeView> <ArrangementTypeId>1</ArrangementTypeId> <NameEn>sample string 3</NameEn> <NameTh>sample string 2</NameTh> </EventController.EventArrangementTypeView> </ArrangementTypes> <BudgetTypes> <EventController.EventBudgetTypeView> <BudgetTypeId>1</BudgetTypeId> <BudgetTypeName>sample string 2</BudgetTypeName> </EventController.EventBudgetTypeView> <EventController.EventBudgetTypeView> <BudgetTypeId>1</BudgetTypeId> <BudgetTypeName>sample string 2</BudgetTypeName> </EventController.EventBudgetTypeView> </BudgetTypes> <EventTypes> <EventController.EventEventTypeView> <EventTypeId>1</EventTypeId> <NameEn>sample string 3</NameEn> <NameTh>sample string 2</NameTh> </EventController.EventEventTypeView> <EventController.EventEventTypeView> <EventTypeId>1</EventTypeId> <NameEn>sample string 3</NameEn> <NameTh>sample string 2</NameTh> </EventController.EventEventTypeView> </EventTypes> <HostTypes> <EventController.EventHostTypeView> <HostTypeId>1</HostTypeId> <HostTypeName>sample string 2</HostTypeName> </EventController.EventHostTypeView> <EventController.EventHostTypeView> <HostTypeId>1</HostTypeId> <HostTypeName>sample string 2</HostTypeName> </EventController.EventHostTypeView> </HostTypes> <PackageTypes> <EventController.EventPackageTypeView> <Packages> <EventController.EventPackageView> <NameEn>sample string 3</NameEn> <NameTh>sample string 2</NameTh> <PackageId>1</PackageId> </EventController.EventPackageView> <EventController.EventPackageView> <NameEn>sample string 3</NameEn> <NameTh>sample string 2</NameTh> <PackageId>1</PackageId> </EventController.EventPackageView> </Packages> <TypeEn>sample string 3</TypeEn> <TypeId>1</TypeId> <TypeTh>sample string 2</TypeTh> </EventController.EventPackageTypeView> <EventController.EventPackageTypeView> <Packages> <EventController.EventPackageView> <NameEn>sample string 3</NameEn> <NameTh>sample string 2</NameTh> <PackageId>1</PackageId> </EventController.EventPackageView> <EventController.EventPackageView> <NameEn>sample string 3</NameEn> <NameTh>sample string 2</NameTh> <PackageId>1</PackageId> </EventController.EventPackageView> </Packages> <TypeEn>sample string 3</TypeEn> <TypeId>1</TypeId> <TypeTh>sample string 2</TypeTh> </EventController.EventPackageTypeView> </PackageTypes> </EventController.EventFormViewResponse>