POST api/v1.0/Events/SaveEventType
Saves an Event Type
Request Information
URI Parameters
None.
Body Parameters
A JSON object representing an Event Type
EventTypePostRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| EventTypeKey | globally unique identifier |
None. |
|
| EventTypeName | string |
None. |
|
| EventTypeDescription | string |
None. |
|
| AllowMultipleRegistrations | boolean |
None. |
|
| AllowMultipleOptions | boolean |
None. |
|
| AllowMultipleSessions | boolean |
None. |
|
| AcceptPayment | boolean |
None. |
|
| IsActive | boolean |
None. |
|
| AllowRegistration | boolean |
None. |
|
| AllowSameSelections | boolean |
None. |
|
| ShowAddEditScreenDescription | boolean |
None. |
|
| AllowNonMemberRegistration | boolean |
None. |
|
| AllowPublicUserRegistration | boolean |
None. |
|
| AllowEarlyRegistrationRate | boolean |
None. |
|
| AllowLateRegistrationRate | boolean |
None. |
|
| AddEditScreenDescription | string |
None. |
|
| EventTypeDescriptionWaterMarkText | string |
None. |
|
| AllowMultiDay | boolean |
None. |
|
| AllowPhysicalAddress | boolean |
None. |
|
| AllowOnlinePhone | boolean |
None. |
|
| AllowEventLogo | boolean |
None. |
|
| AllowCommunityAdminToUse | boolean |
None. |
|
| AllowCommunityMemberToUse | boolean |
None. |
|
| AllowEventVisibilityChanges | boolean |
None. |
|
| SuppressOptionDisplay | boolean |
None. |
|
| SuppressSessionDisplay | boolean |
None. |
|
| AllowCredits | boolean |
None. |
|
| RegistrationProcessOption | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"EventTypeKey": "6e7421eb-2815-43ac-99a3-5376157022e5",
"EventTypeName": "sample string 2",
"EventTypeDescription": "sample string 3",
"AllowMultipleRegistrations": true,
"AllowMultipleOptions": true,
"AllowMultipleSessions": true,
"AcceptPayment": true,
"IsActive": true,
"AllowRegistration": true,
"AllowSameSelections": true,
"ShowAddEditScreenDescription": true,
"AllowNonMemberRegistration": true,
"AllowPublicUserRegistration": true,
"AllowEarlyRegistrationRate": true,
"AllowLateRegistrationRate": true,
"AddEditScreenDescription": "sample string 16",
"EventTypeDescriptionWaterMarkText": "sample string 17",
"AllowMultiDay": true,
"AllowPhysicalAddress": true,
"AllowOnlinePhone": true,
"AllowEventLogo": true,
"AllowCommunityAdminToUse": true,
"AllowCommunityMemberToUse": true,
"AllowEventVisibilityChanges": true,
"SuppressOptionDisplay": true,
"SuppressSessionDisplay": true,
"AllowCredits": true,
"RegistrationProcessOption": 28
}
application/xml, text/xml
Sample:
<EventTypePostRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Request"> <AcceptPayment>true</AcceptPayment> <AddEditScreenDescription>sample string 16</AddEditScreenDescription> <AllowCommunityAdminToUse>true</AllowCommunityAdminToUse> <AllowCommunityMemberToUse>true</AllowCommunityMemberToUse> <AllowCredits>true</AllowCredits> <AllowEarlyRegistrationRate>true</AllowEarlyRegistrationRate> <AllowEventLogo>true</AllowEventLogo> <AllowEventVisibilityChanges>true</AllowEventVisibilityChanges> <AllowLateRegistrationRate>true</AllowLateRegistrationRate> <AllowMultiDay>true</AllowMultiDay> <AllowMultipleOptions>true</AllowMultipleOptions> <AllowMultipleRegistrations>true</AllowMultipleRegistrations> <AllowMultipleSessions>true</AllowMultipleSessions> <AllowNonMemberRegistration>true</AllowNonMemberRegistration> <AllowOnlinePhone>true</AllowOnlinePhone> <AllowPhysicalAddress>true</AllowPhysicalAddress> <AllowPublicUserRegistration>true</AllowPublicUserRegistration> <AllowRegistration>true</AllowRegistration> <AllowSameSelections>true</AllowSameSelections> <EventTypeDescription>sample string 3</EventTypeDescription> <EventTypeDescriptionWaterMarkText>sample string 17</EventTypeDescriptionWaterMarkText> <EventTypeKey>6e7421eb-2815-43ac-99a3-5376157022e5</EventTypeKey> <EventTypeName>sample string 2</EventTypeName> <IsActive>true</IsActive> <RegistrationProcessOption>28</RegistrationProcessOption> <ShowAddEditScreenDescription>true</ShowAddEditScreenDescription> <SuppressOptionDisplay>true</SuppressOptionDisplay> <SuppressSessionDisplay>true</SuppressSessionDisplay> </EventTypePostRequest>
Response Information
Resource Description
Returns a string representing a successful save, or an exception code
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |