Get Product List
Retrieves a list of Products that can be added to a Booking.
Request Profile Table
| Element | @Attribute |
Description/Contents |
| GetProductList / GetProductListRequest |
Root element of message. |
| BookingID |
ProCharter Booking ID of the booking to retrieve |
Scenario:
You want to retrieve the list of available Products for Booking 78857.
Example message:
<GetProductList>
<GetProductListRequest>
<BookingID>78857</BookingID>
</GetProductListRequest>
</GetProductList>
Response Profile Table
| Element | @Attribute |
Description/Contents |
| GetProductListResponse / GetProductListResult |
Root element of message. |
| Products |
Collection of Products |
| Product |
Element representing a Product |
| @Code |
Product Code |
| @Description |
Product Description |
| @Category |
Product Category Code |
| @Price |
Product Price |
Example message:
<GetProductListResponse xmlns="ResLink">
<GetProductListResult>
<TimeStamp>2016-01-12T14:41:40.0864143+10:00</TimeStamp>
<Status Code="0" Message=""/>
<Errors/>
<Warnings/>
<Products>
<Product Code="TRN" Description="Luggage Storage" Category="TRN" Price="5"/>
<Product Code="SS" Description="Wetsuit" Category="SUITS" Price="15"/>
</Products>
</GetProductListResult>
</GetProductListResponse>