Check Supplier Login
Request Profile Table
Element | @Attribute |
Description/Contents |
CheckSupplierLogin_RQ |
Root element of message. |
@WebResUsername |
The username of the requested supplier. |
@WebResPassword |
The password of the requested supplier. |
Scenario:
You want to check that a supplier has a valid WebRes login to access your WebRes services.
Example message:
<?xml version="1.0" encoding="utf-16"?>
<CheckSupplierLogin_RQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" WebResUsername="theirusername" WebResPassword="theirpassword" />
Response Profile Table
Element | @Attribute |
Description/Contents |
CheckSupplierLogin_RS |
Root element of message. |
@Valid |
True or false value to define validity of the supplier login details. |
Name |
The name of the supplier. |
IsAccomodationSupplier |
True if the supplier supplies accommodation. |
IsVoucherComponentSupplier |
True if the supplier supplies tour/operator vouchers. |
Example message:
<?xml version="1.0" encoding="utf-16"?>
<CheckSupplierLogin_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>
</CheckSupplierLogin_RS>