PUT api/TourGuests/Update?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
ChangeTourGuestBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| TourTransactionId | integer |
None. |
|
| IdentityNbr | string |
None. |
|
| IdentityTypeId | integer |
None. |
|
| GuestType | GuestTypes |
None. |
|
| GuestCategoryId | integer |
None. |
|
| GuestTitleId | integer |
None. |
|
| CountryId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"TourTransactionId": 4,
"IdentityNbr": "sample string 5",
"IdentityTypeId": 6,
"GuestType": 76,
"GuestCategoryId": 7,
"GuestTitleId": 8,
"CountryId": "sample string 9"
}
application/xml, text/xml
Sample:
<ChangeTourGuestBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <CountryId>sample string 9</CountryId> <FirstName>sample string 2</FirstName> <GuestCategoryId>7</GuestCategoryId> <GuestTitleId>8</GuestTitleId> <GuestType>TOURLEADER</GuestType> <Id>0</Id> <IdentityNbr>sample string 5</IdentityNbr> <IdentityTypeId>6</IdentityTypeId> <LastName>sample string 3</LastName> <TourTransactionId>4</TourTransactionId> <Id>1</Id> </ChangeTourGuestBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.