POST api/guest/updateguest
Request Information
URI Parameters
None.
Body Parameters
BookingGuest| Name | Description | Type | Additional information |
|---|---|---|---|
| BookingGuestId | integer |
None. |
|
| BookingId | integer |
None. |
|
| FirstName | string |
None. |
|
| MiddleName | string |
None. |
|
| LastName | string |
None. |
|
| Address1 | string |
None. |
|
| Address2 | string |
None. |
|
| CityId | integer |
None. |
|
| StateId | integer |
None. |
|
| CountryId | integer |
None. |
|
| Zipcode | string |
None. |
|
| CellPhone | integer |
None. |
|
| HomePhone | integer |
None. |
|
| SpecialRequest | string |
None. |
|
| CountryName | string |
None. |
|
| StateName | string |
None. |
|
| CityName | string |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedDate | date |
None. |
|
| CreatedBy | integer |
None. |
|
| ModifiedBy | integer |
None. |
|
| IsActive | boolean |
None. |
|
| IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"BookingGuestId": 1,
"BookingId": 1,
"FirstName": "sample string 2",
"MiddleName": "sample string 3",
"LastName": "sample string 4",
"Address1": "sample string 5",
"Address2": "sample string 6",
"CityId": 1,
"StateId": 1,
"CountryId": 1,
"Zipcode": "sample string 7",
"CellPhone": 1,
"HomePhone": 1,
"SpecialRequest": "sample string 8",
"CountryName": "sample string 9",
"StateName": "sample string 10",
"CityName": "sample string 11",
"CreatedDate": "2026-02-04T03:00:21.1481532+00:00",
"ModifiedDate": "2026-02-04T03:00:21.1481532+00:00",
"CreatedBy": 1,
"ModifiedBy": 1,
"IsActive": true,
"IsDeleted": true
}
text/html
Sample:
{"BookingGuestId":1,"BookingId":1,"FirstName":"sample string 2","MiddleName":"sample string 3","LastName":"sample string 4","Address1":"sample string 5","Address2":"sample string 6","CityId":1,"StateId":1,"CountryId":1,"Zipcode":"sample string 7","CellPhone":1,"HomePhone":1,"SpecialRequest":"sample string 8","CountryName":"sample string 9","StateName":"sample string 10","CityName":"sample string 11","CreatedDate":"2026-02-04T03:00:21.1481532+00:00","ModifiedDate":"2026-02-04T03:00:21.1481532+00:00","CreatedBy":1,"ModifiedBy":1,"IsActive":true,"IsDeleted":true}
application/xml, text/xml
Sample:
<BookingGuest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SRG.Core"> <CreatedBy>1</CreatedBy> <CreatedDate>2026-02-04T03:00:21.1481532+00:00</CreatedDate> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <ModifiedBy>1</ModifiedBy> <ModifiedDate>2026-02-04T03:00:21.1481532+00:00</ModifiedDate> <Address1>sample string 5</Address1> <Address2>sample string 6</Address2> <BookingGuestId>1</BookingGuestId> <BookingId>1</BookingId> <CellPhone>1</CellPhone> <CityId>1</CityId> <CityName>sample string 11</CityName> <CountryId>1</CountryId> <CountryName>sample string 9</CountryName> <FirstName>sample string 2</FirstName> <HomePhone>1</HomePhone> <LastName>sample string 4</LastName> <MiddleName>sample string 3</MiddleName> <SpecialRequest>sample string 8</SpecialRequest> <StateId>1</StateId> <StateName>sample string 10</StateName> <Zipcode>sample string 7</Zipcode> </BookingGuest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.