GET api/TourGuests/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
TourGuestViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
TourTransactionId | string |
None. |
|
IdentityNbr | string |
None. |
|
GuestType | string |
None. |
|
IdentityType | ValueTextModel |
None. |
|
GuestCategory | ValueTextModel |
None. |
|
GuestTitle | ValueTextModel |
None. |
|
CountryId | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "FirstName": "sample string 2", "LastName": "sample string 3", "TourTransactionId": "sample string 4", "IdentityNbr": "sample string 5", "GuestType": "sample string 6", "IdentityType": { "Value": "sample string 1", "Text": "sample string 2" }, "GuestCategory": { "Value": "sample string 1", "Text": "sample string 2" }, "GuestTitle": { "Value": "sample string 1", "Text": "sample string 2" }, "CountryId": "sample string 7" }
application/xml, text/xml
Sample:
<TourGuestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <CountryId>sample string 7</CountryId> <FirstName>sample string 2</FirstName> <GuestCategory> <Text>sample string 2</Text> <Value>sample string 1</Value> </GuestCategory> <GuestTitle> <Text>sample string 2</Text> <Value>sample string 1</Value> </GuestTitle> <GuestType>sample string 6</GuestType> <Id>1</Id> <IdentityNbr>sample string 5</IdentityNbr> <IdentityType> <Text>sample string 2</Text> <Value>sample string 1</Value> </IdentityType> <LastName>sample string 3</LastName> <TourTransactionId>sample string 4</TourTransactionId> </TourGuestViewModel>