| Required role: | Admin |
| POST | /guest_event |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TermId | body | int? | No | |
| Name | body | string | No | |
| Description | body | string | No | |
| HostingText | body | string | No | |
| OpenDt | body | DateTime? | No | |
| CloseDt | body | DateTime? | No | |
| StartDt | body | DateTime? | No | |
| EndDt | body | DateTime? | No | |
| RegistrationOpenDt | body | DateTime? | No | |
| RegistrationLateDt | body | DateTime? | No | |
| RegistrationCloseDt | body | DateTime? | No | |
| RegistrationAmount | body | decimal? | No | |
| RegistrationLateAmount | body | decimal? | No | |
| DefaultAutoMoveout | body | short? | No | |
| DefaultHostPayment | body | decimal? | No | |
| OverrideWarnings | body | bool? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | GuestEventDTO | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| GuestEventId | form | int | No | |
| TermId | form | int? | No | |
| Name | form | string | No | |
| Description | form | string | No | |
| HostingText | form | string | No | |
| OpenDt | form | DateTime? | No | |
| CloseDt | form | DateTime? | No | |
| StartDt | form | DateTime? | No | |
| EndDt | form | DateTime? | No | |
| DefaultAutoMoveout | form | short? | No | |
| DefaultHostPayment | form | decimal? | No | |
| RegistrationOpenDt | form | DateTime? | No | |
| RegistrationLateDt | form | DateTime? | No | |
| RegistrationCloseDt | form | DateTime? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST //guest_event HTTP/1.1
Host: api.lsu.abodehms.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{Unable to show example output for type 'CreateGuestEvent' using the custom 'csv' filter}One or more errors occurred. (Unable to cast object of type 'ServiceStack.Host.BasicResponse' to type 'ServiceStack.Host.NetCore.NetCoreResponse'.)
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{Unable to show example output for type 'GuestEventResponse' using the custom 'csv' filter}One or more errors occurred. (Unable to cast object of type 'ServiceStack.Host.BasicResponse' to type 'ServiceStack.Host.NetCore.NetCoreResponse'.)