GET api/Naviera/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
ReservationName | Description | Type | Additional information |
---|---|---|---|
terminalID | integer |
None. |
|
pointOfSaleID | integer |
None. |
|
currency | string |
None. |
|
language | string |
None. |
|
total | decimal number |
None. |
|
serviceID | integer |
None. |
|
date | date |
None. |
|
string |
None. |
||
units | Collection of Unit |
None. |
Response Formats
application/json, text/json
Sample:
{ "terminalID": 1, "pointOfSaleID": 2, "currency": "sample string 3", "language": "sample string 4", "total": 5.0, "serviceID": 6, "date": "2025-03-29T12:22:44.0822104-06:00", "email": "sample string 8", "units": [ { "priceID": 1, "unit": "sample string 2", "quantity": 3.0, "passengers": [ { "passengerID": "347aeadf-b288-44f8-ab9c-69b9bc2cda45", "passengerFirstName": "sample string 1", "passengerLastName": "sample string 2", "dishItemID": 3, "age": 4, "main": true }, { "passengerID": "347aeadf-b288-44f8-ab9c-69b9bc2cda45", "passengerFirstName": "sample string 1", "passengerLastName": "sample string 2", "dishItemID": 3, "age": 4, "main": true } ] }, { "priceID": 1, "unit": "sample string 2", "quantity": 3.0, "passengers": [ { "passengerID": "347aeadf-b288-44f8-ab9c-69b9bc2cda45", "passengerFirstName": "sample string 1", "passengerLastName": "sample string 2", "dishItemID": 3, "age": 4, "main": true }, { "passengerID": "347aeadf-b288-44f8-ab9c-69b9bc2cda45", "passengerFirstName": "sample string 1", "passengerLastName": "sample string 2", "dishItemID": 3, "age": 4, "main": true } ] } ] }
application/xml, text/xml
Sample:
<ApiNavieraViewModel.Reservation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.ViewModels"> <currency>sample string 3</currency> <date>2025-03-29T12:22:44.0822104-06:00</date> <email>sample string 8</email> <language>sample string 4</language> <pointOfSaleID>2</pointOfSaleID> <serviceID>6</serviceID> <terminalID>1</terminalID> <total>5</total> <units> <ApiNavieraViewModel.Unit> <passengers> <ApiNavieraViewModel.Passenger> <age>4</age> <dishItemID>3</dishItemID> <main>true</main> <passengerFirstName>sample string 1</passengerFirstName> <passengerID>347aeadf-b288-44f8-ab9c-69b9bc2cda45</passengerID> <passengerLastName>sample string 2</passengerLastName> </ApiNavieraViewModel.Passenger> <ApiNavieraViewModel.Passenger> <age>4</age> <dishItemID>3</dishItemID> <main>true</main> <passengerFirstName>sample string 1</passengerFirstName> <passengerID>347aeadf-b288-44f8-ab9c-69b9bc2cda45</passengerID> <passengerLastName>sample string 2</passengerLastName> </ApiNavieraViewModel.Passenger> </passengers> <priceID>1</priceID> <quantity>3</quantity> <unit>sample string 2</unit> </ApiNavieraViewModel.Unit> <ApiNavieraViewModel.Unit> <passengers> <ApiNavieraViewModel.Passenger> <age>4</age> <dishItemID>3</dishItemID> <main>true</main> <passengerFirstName>sample string 1</passengerFirstName> <passengerID>347aeadf-b288-44f8-ab9c-69b9bc2cda45</passengerID> <passengerLastName>sample string 2</passengerLastName> </ApiNavieraViewModel.Passenger> <ApiNavieraViewModel.Passenger> <age>4</age> <dishItemID>3</dishItemID> <main>true</main> <passengerFirstName>sample string 1</passengerFirstName> <passengerID>347aeadf-b288-44f8-ab9c-69b9bc2cda45</passengerID> <passengerLastName>sample string 2</passengerLastName> </ApiNavieraViewModel.Passenger> </passengers> <priceID>1</priceID> <quantity>3</quantity> <unit>sample string 2</unit> </ApiNavieraViewModel.Unit> </units> </ApiNavieraViewModel.Reservation>