ResLink

Get Services

Returns a list of additional services that can be added to a booking

Request Profile Table

Element | @Attribute Description/Contents
GetServices_RQ Root element of message.
Agent Element indicating an agent.
To specify an agent you can just provide either the ID, or the GUID. If both are provided ResLink will make a check to see if the GUID and ID match in the database and will error if they don't.
@ID (optional) The agent ID to set up commissions and costs.
@GUID (optional) The agent GUID to set up commissions and costs.

Example message:

<?xml version="1.0" encoding="utf-16"?>
<GetServices_RQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Agent ID="1.0" GUID="TEST" xmlns="ResLink">
</GetServices_RQ>


Response Profile Table

Element | @Attribute Description/Contents
GetServices_RS Root element of message.
Services Element indicating a list of services that are applicable for each passenger on the resource
  Service Element indicating a service that is applicable for each passenger. Note: these services are payable on arrival at the supplier
  @ProductCode Product Code for the service
  @Description Service description
  @Price Price of the service
  @Commission Commission of the service
  @Currency Currency Code
ResourcePermissions Collection of Resource Permission objects
ResourcePermission Element indicating the current service can be sold for a Resource
  @ID ID of the Resource
  @Name Name of the Resource

Example message:

<?xml version="1.0" encoding="utf-16"?>
<GetServices_RS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Services xmlns="ResLink">
    <Service ProductCode="DIVE1" Description="1 Certified Dive" Price="100" Commission="10" Currency="AUD" >
      <ResourcePermissions>
        <ResourcePermission ID="1" Name="Resource A" />
        <ResourcePermission ID="2" Name="Resource B" />
      </ResourcePermissions>
    </Service>
    <Service ProductCode="DIVE2" Description="1 Intro Dive" Price="100" Commission="10" Currency="AUD" >
      <ResourcePermissions>
        <ResourcePermission ID="1" Name="Resource A" />
        <ResourcePermission ID="3" Name="Resource C" />
      </ResourcePermissions>
    </Service>
  </Services>
  <TimeStamp xmlns="ResLink">2010-08-03T13:58:33.8125+10:00</TimeStamp>
  <Errors xmlns="ResLink" />
  <Warnings xmlns="ResLink" />
</GetServices_RS>