GET api/BookingInfo/GetCurrencyInfo?IPAddress={IPAddress}
Gets currency information for an IP address of what currency this person should pay in.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
IPAddress | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CurrencyInfoName | Description | Type | Additional information |
---|---|---|---|
CurrencyCode | string |
None. |
|
CountryCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "CurrencyCode": "sample string 1", "CountryCode": "sample string 2" }
application/xml, text/xml
Sample:
<CurrencyInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Radical.JSON.Web.Booking"> <CountryCode>sample string 2</CountryCode> <CurrencyCode>sample string 1</CurrencyCode> </CurrencyInfo>