ResLink

Check Agent Login


Request Profile Table

Element | @Attribute Description/Contents
CheckAgentLogin_RQ Root element of message.
  @Username The username of the requested Agent.
  @Password The password of the requested Agent.

Scenario:

You want to check that a agent has valid WebRes login credentials to access WebRes services.


Example message:

<?xml version="1.0" encoding="utf-16"?>
<CheckAgentLogin_RQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Username="agentuser" Password="agentpassword" />


Response Profile Table

Element | @Attribute Description/Contents
CheckAgentLogin_RS Root element of message.
  @Valid True or false value to define validity of the agent login details.
  Name The name of the agent.
  IsAccomodationSupplier True if the agent supplies accommodation.
  IsVoucherComponentSupplier True if the agent supplies tour/operator vouchers.

Example message:

<?xml version="1.0" encoding="utf-16"?>
<CheckAgentLogin_RS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Valid="true">
  <TimeStamp xmlns="ResLink">2008-12-23T14:01:43.2932876+10:00</TimeStamp>
  <Errors xmlns="ResLink" />
  <Warnings xmlns="ResLink" />
  <Name xmlns="ResLink">Awesome Agent Name</Name>
  <IsAccomodationSupplier xmlns="ResLink">true</IsAccomodationSupplier>
  <IsVoucherComponentSupplier xmlns="ResLink">true</IsVoucherComponentSupplier>
</CheckAgentLogin_RS>