ResLink

Get Package Types


Request Profile Table

Element | @Attribute Description/Contents
GetPackageTypes_RQ Root element of message.
(no parameters)  

Scenario:

You want to retrieve all the package types.


Example message:

<?xml version="1.0" encoding="utf-8"?>
<GetPackageTypes_RQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />


Response Profile Table

Element | @Attribute Description/Contents
GetPackageTypes_RS Root element of message.
PackageTypes Element indicating a list of packages types.
  PackageType Element indicating a package type.
  @ID The ID of the package type.
  @Description The description of the package type.

Example message:

<?xml version="1.0" encoding="utf-8"?>
<GetPackageTypes_RS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <PackageTypes xmlns="ResLink">
    <PackageType ID="ACC" Description="Accommodation Package" />
    <PackageType ID="PAC" Description="Package" />
  </PackageTypes><
  <Status Code="0" xmlns="ResLink" />
  <TimeStamp xmlns="ResLink">2011-06-11T12:22:30.0277394+10:00</TimeStamp>
  <Errors xmlns="ResLink" />
  <Warnings xmlns="ResLink" />
</GetPackageTypes_RS>