POST api/guests/{GuestId}/Demographics
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
GuestId | decimal number |
Required |
Body Parameters
GuestDemographicName | Description | Type | Additional information |
---|---|---|---|
Address | string |
String length: inclusive between 0 and 40 |
|
Address2 | string |
String length: inclusive between 0 and 40 |
|
BirthDate | string |
Matching regular expression pattern: (((0|1)[0-9]|2[0-9]|3[0-1])\/(0[1-9]|1[0-9]|2[0-9])\/((19|20|21)\d\d))$ |
|
CellPhone | string |
String length: inclusive between 0 and 30 |
|
City | string |
String length: inclusive between 0 and 40 |
|
string |
String length: inclusive between 0 and 100 |
||
FirstName | string |
Required String length: inclusive between 0 and 50 |
|
Gender | string |
String length: inclusive between 0 and 1 |
|
HomePhone | string |
String length: inclusive between 0 and 20 |
|
LastName | string |
Required String length: inclusive between 0 and 50 |
|
State | string |
String length: inclusive between 0 and 2 |
|
WorkPhone | string |
String length: inclusive between 0 and 30 |
|
ZipCode | string |
String length: inclusive between 0 and 10 |
|
SSN | string |
String length: inclusive between 0 and 11 |
|
MiddleName | string |
String length: inclusive between 0 and 50 |
|
DriversLicense | string |
String length: inclusive between 0 and 50 |
|
DriversLicenseExpiration | string |
Matching regular expression pattern: (((0|1)[0-9]|2[0-9]|3[0-1])\/(0[1-9]|1[0-9]|2[0-9])\/((19|20|21)\d\d))$ |
Request Formats
application/json, text/json
{ "address": "sample string 1", "address2": "sample string 2", "birthDate": "sample string 3", "cellPhone": "sample string 4", "city": "sample string 5", "email": "sample string 6", "firstName": "sample string 7", "gender": "sample string 8", "homePhone": "sample string 9", "lastName": "sample string 10", "state": "sample string 11", "workPhone": "sample string 12", "zipCode": "sample string 13", "ssn": "sample string 14", "middleName": "sample string 15", "driversLicense": "sample string 16", "driversLicenseExpiration": "sample string 17" }
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.