GET api/VendorConfiguration/BusinessConfiguration/{vendorcode}
BusinessConfiguration will return the vendor's max hotel rating, hotel rating unit, and default currency.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
vendorcode |
Three character vendor code. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
BusinessConfigurationResponseName | Description | Type | Additional information |
---|---|---|---|
HotelRatingUnitID |
Hotel Rating Unit. This is indicate which unit icon/image should be used, i.e. start, apple, etc. |
string |
Required |
MaxHotelRatingValue |
Maximum Hotel Rating value. Used to indicate scale of "0 to 5" or "0 to 6". |
decimal number |
Required |
DefaultCurrency |
Three character ISO Default Currency code. |
string |
Required Max length: 3 Min length: 3 |
Response Formats
application/json, text/json
Sample:
{ "HotelRatingUnitID": "sample string 1", "MaxHotelRatingValue": 2.1, "DefaultCurrency": "sample string 3" }
text/xml
Sample:
<BusinessConfigurationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Trisept.UI.WebApi.VAXAgentApi.Models"> <DefaultCurrency>sample string 3</DefaultCurrency> <HotelRatingUnitID>sample string 1</HotelRatingUnitID> <MaxHotelRatingValue>2.1</MaxHotelRatingValue> </BusinessConfigurationResponse>