| Requires the role: | HeadChaperone |
| POST | /guest/register |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StudentId | body | int? | No | |
| ChaperoneId | body | int? | No | |
| GuestEventId | body | int? | No | |
| GroupStatus | body | GroupStatusEnum? | No | |
| Password | body | string | No | |
| FirstName | body | string | No | |
| LastName | body | string | No | |
| GuestType | body | string | No | |
| Gender | body | string | No | |
| Address1 | body | string | No | |
| Address2 | body | string | No | |
| City | body | string | No | |
| State | body | string | No | |
| Postal | body | string | No | |
| Country | body | string | No | |
| Phone | body | string | No | |
| body | string | No | ||
| Notes | body | string | No | |
| TshirtSize | body | string | No | |
| PasswordResetURI | body | string | No |
| Invited |
| Member |
| Requested |
| None |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | GuestDTO | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| GuestId | form | int | No | |
| StudentId | form | int? | No | |
| Schoolid | form | string | No | |
| ChaperoneId | form | int? | No | |
| GuestEventId | form | int? | No | |
| Username | form | string | No | |
| FirstName | form | string | No | |
| LastName | form | string | No | |
| GuestType | form | string | No | |
| Gender | form | string | No | |
| Address1 | form | string | No | |
| Address2 | form | string | No | |
| City | form | string | No | |
| State | form | string | No | |
| Postal | form | string | No | |
| Country | form | string | No | |
| Phone | form | string | No | |
| form | string | No | ||
| SchoolOrg | form | string | No | |
| Code | form | string | No | |
| Notes | form | string | No | |
| GroupStatus | form | string | No | |
| PaidAmount | form | decimal | No | |
| IsPaid | form | bool | No | |
| AppliedAmount | form | decimal? | No | |
| AppliedBy | form | decimal? | No | |
| TshirtSize | form | string | No | |
| InvitedDt | form | DateTime? | No | |
| LastLoginDt | form | DateTime? | No | |
| FullName | form | string | No | |
| StudentFullName | form | string | No | |
| ChaperoneFullName | form | string | No | |
| ChaperonePhone | form | string | No | |
| ChaperoneHotel | form | string | No | |
| ChaperoneHotelPhone | form | string | No | |
| GuestEventName | form | string | No | |
| PasswordResetLink | 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/register HTTP/1.1
Host: api.lsu-staging.abodehms.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
studentId: 0,
chaperoneId: 0,
guestEventId: 0,
groupStatus: Invited,
password: String,
firstName: String,
lastName: String,
guestType: String,
gender: String,
address1: String,
address2: String,
city: String,
state: String,
postal: String,
country: String,
phone: String,
email: String,
notes: String,
tshirtSize: String,
passwordResetURI: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
result:
{
guestId: 0,
studentId: 0,
schoolid: String,
chaperoneId: 0,
guestEventId: 0,
username: String,
firstName: String,
lastName: String,
guestType: String,
gender: String,
address1: String,
address2: String,
city: String,
state: String,
postal: String,
country: String,
phone: String,
email: String,
schoolOrg: String,
code: String,
notes: String,
groupStatus: String,
paidAmount: 0,
isPaid: False,
appliedAmount: 0,
appliedBy: 0,
tshirtSize: String,
invitedDt: 0001-01-01,
lastLoginDt: 0001-01-01,
fullName: String,
studentFullName: String,
chaperoneFullName: String,
chaperonePhone: String,
chaperoneHotel: String,
chaperoneHotelPhone: String,
guestEventName: String,
passwordResetLink: String
},
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}
}