Get Dive Product List
Retrieves a list of Dive Products that can be added to a Booking.
Request Profile Table
Element | @Attribute |
Description/Contents |
GetDiveProductList / GetDiveProductListRequest |
Root element of message. |
BookingID |
ProCharter Booking ID of the booking to retrieve |
Scenario:
You want to retrieve the list of available Dive Products for Booking 78857.
Example message:
<GetDiveProductList>
<GetDiveProductListRequest>
<BookingID>78857</BookingID>
</GetDiveProductListRequest>
</GetDiveProductList>
Response Profile Table
Element | @Attribute |
Description/Contents |
GetDiveProductListResponse / GetDiveProductListResult |
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:
<GetDiveProductListResponse xmlns="ResLink">
<GetDiveProductListResult>
<TimeStamp>2016-01-12T14:41:40.0864143+10:00</TimeStamp>
<Status Code="0" Message=""/>
<Errors/>
<Warnings/>
<Products>
<Product Code="INTRO" Description="Intro Dive" Category="DIV" Price="50.0000"/>
<Product Code="CERT" Description="Certified Dive" Category="DIV" Price="50.0000"/>
</Products>
</GetDiveProductListResult>
</GetDiveProductListResponse>