| Requires the role: | Admin |
| POST | /guest_host_response |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StudentId | body | int | No | |
| GuestEventId | body | int | No | |
| NumGuestsDesired | body | int | No | |
| RequestedGuest1 | body | string | No | |
| RequestedGuest2 | body | string | No | |
| Comments | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | GuestHostResponseDTO | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| GuestHostResponseId | form | int | No | |
| RoomId | form | int | No | |
| GuestEventId | form | int | No | |
| StudentId | form | int | No | |
| AskResidentsToHost | form | short | No | |
| NumGuestsDesired | form | int | No | |
| RequestedGuest1 | form | string | No | |
| RequestedGuest2 | form | string | No | |
| Comments | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST //guest_host_response HTTP/1.1
Host: api.lsu.abodehms.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
studentId: 0,
guestEventId: 0,
numGuestsDesired: 0,
requestedGuest1: String,
requestedGuest2: String,
comments: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
result:
{
guestHostResponseId: 0,
roomId: 0,
guestEventId: 0,
studentId: 0,
askResidentsToHost: 0,
numGuestsDesired: 0,
requestedGuest1: String,
requestedGuest2: String,
comments: String
},
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}
}