GET api/EventTypes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of EventTypeModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
RequireDesignation | boolean |
None. |
|
RequireField1AtCheckIn | boolean |
None. |
|
Field1Name | string |
None. |
|
RequireField2AtCheckIn | boolean |
None. |
|
Field2Name | string |
None. |
|
RequireField3AtCheckIn | boolean |
None. |
|
Field3Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Name": "sample string 2", "RequireDesignation": true, "RequireField1AtCheckIn": true, "Field1Name": "sample string 5", "RequireField2AtCheckIn": true, "Field2Name": "sample string 7", "RequireField3AtCheckIn": true, "Field3Name": "sample string 9" }, { "Id": 1, "Name": "sample string 2", "RequireDesignation": true, "RequireField1AtCheckIn": true, "Field1Name": "sample string 5", "RequireField2AtCheckIn": true, "Field2Name": "sample string 7", "RequireField3AtCheckIn": true, "Field3Name": "sample string 9" } ]
application/xml, text/xml
Sample:
<ArrayOfEventTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UnityWebApi.Models"> <EventTypeModel> <Field1Name>sample string 5</Field1Name> <Field2Name>sample string 7</Field2Name> <Field3Name>sample string 9</Field3Name> <Id>1</Id> <Name>sample string 2</Name> <RequireDesignation>true</RequireDesignation> <RequireField1AtCheckIn>true</RequireField1AtCheckIn> <RequireField2AtCheckIn>true</RequireField2AtCheckIn> <RequireField3AtCheckIn>true</RequireField3AtCheckIn> </EventTypeModel> <EventTypeModel> <Field1Name>sample string 5</Field1Name> <Field2Name>sample string 7</Field2Name> <Field3Name>sample string 9</Field3Name> <Id>1</Id> <Name>sample string 2</Name> <RequireDesignation>true</RequireDesignation> <RequireField1AtCheckIn>true</RequireField1AtCheckIn> <RequireField2AtCheckIn>true</RequireField2AtCheckIn> <RequireField3AtCheckIn>true</RequireField3AtCheckIn> </EventTypeModel> </ArrayOfEventTypeModel>