Reference Data List
Description
The Reference Data List call returns reference data objects from the bidlogix system - mainly useful in combination with other bidlogix api calls. For example, you could use this to call a list of countries used in the system, which would include information such as the country ID, it's full name and alphanumeric code, etc.
The API must be structured correctly and have the correct security in place. See our document Troubleshooting.
See our documents Status Codes and Common Data for more information on results.
Making a request
URL
https://your_bidlogix_domain/auction-mgt/bdxapi/reference/{type_of_reference_data}?clientId=your_bidlogix_client_id
HTTP Method
GET
Headers
Key | Value |
---|---|
BDXAPI_NAME | Bidlogix API Signature |
Content-Type | application/json |
Path Parameters
Parameter | Value |
---|---|
clientID | ID of the client you wish to view data for |
type_of_reference_data | include countries , continents , currencies , categories or timezones to return the relevant information. These parameters can be added in combination, separated by a commma |
Also see API Introduction.
Examples
- Example 1 - continents request
- Example 2 - multiple parameter request
Call
https://hove.eu-west-2.bidjs.com/auction-mgt/bdxapi/reference/continents?clientId=302
Response
{
"@class": ".DataPushPayload",
"pushCode": "REFERENCEDATA",
"models": {
"referenceModel": {
"@class": ".reference.ReferenceDataModel",
"referenceItemModelMap": {
"continents": [
{
"@class": "com.bidlogix.scaffold.models.address.ContinentModel",
"id": 5,
"name": "Africa",
"code": "AFR",
"selected": false
},
{
"@class": "com.bidlogix.scaffold.models.address.ContinentModel",
"id": 4,
"name": "Asia",
"code": "ASI",
"selected": false
},
{
"@class": "com.bidlogix.scaffold.models.address.ContinentModel",
"id": 1,
"name": "Europe",
"code": "EUR",
"selected": false
},
{
"@class": "com.bidlogix.scaffold.models.address.ContinentModel",
"id": 2,
"name": "North America",
"code": "NAM",
"selected": false
},
{
"@class": "com.bidlogix.scaffold.models.address.ContinentModel",
"id": 6,
"name": "Oceana",
"code": "OCE",
"selected": false
},
{
"@class": "com.bidlogix.scaffold.models.address.ContinentModel",
"id": 3,
"name": "South America",
"code": "SAM",
"selected": false
}
]
}
}
},
"webAppContext": "302"
}
Call
https://hove.eu-west-2.bidjs.com/auction-mgt/bdxapi/reference/continents,currencies?clientId=302
Response
{
"@class": ".DataPushPayload",
"pushCode": "REFERENCEDATA",
"models": {
"referenceModel": {
"@class": ".reference.ReferenceDataModel",
"referenceItemModelMap": {
"currencies": [
{
"@class": ".CurrencyModel",
"id": 1,
"name": "Australian Dollar",
"code": "AUD",
"selected": false,
"symbol": "$"
},
{
"@class": ".CurrencyModel",
"id": 2,
"name": "British Pound Sterling",
"code": "GBP",
"selected": false,
"symbol": "£"
},
{
"@class": ".CurrencyModel",
"id": 3,
"name": "Canadian Dollar",
"code": "CAD",
"selected": false,
"symbol": "$"
},
{
"@class": ".CurrencyModel",
"id": 28,
"name": "Czech koruna",
"code": "CZK",
"selected": false,
"symbol": "Kč"
},
{
"@class": ".CurrencyModel",
"id": 4,
"name": "Euro",
"code": "EUR",
"selected": false,
"symbol": "€"
},
{
"@class": ".CurrencyModel",
"id": 5,
"name": "Hong Kong Dollar",
"code": "HKD",
"selected": false,
"symbol": "$"
},
{
"@class": ".CurrencyModel",
"id": 16,
"name": "Indian Rupee",
"code": "INR",
"selected": false,
"symbol": "₨"
},
{
"@class": ".CurrencyModel",
"id": 6,
"name": "Indonesian Rupiah",
"code": "IDR",
"selected": false,
"symbol": "Rp"
},
{
"@class": ".CurrencyModel",
"id": 7,
"name": "Japanese Yen",
"code": "JPY",
"selected": false,
"symbol": "¥"
},
{
"@class": ".CurrencyModel",
"id": 21,
"name": "Lebanese Pound",
"code": "LBP",
"selected": false,
"symbol": ".ل.ل"
},
{
"@class": ".CurrencyModel",
"id": 8,
"name": "Mexican Peso",
"code": "MXN",
"selected": false,
"symbol": "$"
},
{
"@class": ".CurrencyModel",
"id": 26,
"name": "Namibian Dollar",
"code": "NAD",
"selected": false,
"symbol": "N$"
},
{
"@class": ".CurrencyModel",
"id": 9,
"name": "New Zealand Dollar",
"code": "NZD",
"selected": false,
"symbol": "$"
},
{
"@class": ".CurrencyModel",
"id": 17,
"name": "Romania New Leu",
"code": "RON",
"selected": false,
"symbol": "Lei"
},
{
"@class": ".CurrencyModel",
"id": 10,
"name": "Russian Rouble",
"code": "RUB",
"selected": false,
"symbol": "руб"
},
{
"@class": ".CurrencyModel",
"id": 24,
"name": "Saudi Arabian Riyal",
"code": "SAR",
"selected": false,
"symbol": "﷼"
},
{
"@class": ".CurrencyModel",
"id": 11,
"name": "Singapore Dollar",
"code": "SGD",
"selected": false,
"symbol": "$"
},
{
"@class": ".CurrencyModel",
"id": 15,
"name": "South African Rand",
"code": "ZAR",
"selected": false,
"symbol": "R"
},
{
"@class": ".CurrencyModel",
"id": 12,
"name": "Swedish Krona",
"code": "SEK",
"selected": false,
"symbol": "kr"
},
{
"@class": ".CurrencyModel",
"id": 13,
"name": "Swiss Franc",
"code": "CHF",
"selected": false,
"symbol": "Fr"
},
{
"@class": ".CurrencyModel",
"id": 25,
"name": "Turkish Lira",
"code": "TRY",
"selected": false,
"symbol": "₺"
},
{
"@class": ".CurrencyModel",
"id": 14,
"name": "US Dollar",
"code": "USD",
"selected": false,
"symbol": "$"
},
{
"@class": ".CurrencyModel",
"id": 27,
"name": "United Arab Emirates dirham",
"code": "AED",
"selected": false,
"symbol": "د.إ"
},
{
"@class": ".CurrencyModel",
"id": 22,
"name": "Yuan Renminbi",
"code": "CNY",
"selected": false,
"symbol": "¥"
},
{
"@class": ".CurrencyModel",
"id": 23,
"name": "Zimbabwean dollar",
"code": "ZWL",
"selected": false,
"symbol": "Z$"
}
],
"continents": [
{
"@class": "com.bidlogix.scaffold.models.address.ContinentModel",
"id": 5,
"name": "Africa",
"code": "AFR",
"selected": false
},
{
"@class": "com.bidlogix.scaffold.models.address.ContinentModel",
"id": 4,
"name": "Asia",
"code": "ASI",
"selected": false
},
{
"@class": "com.bidlogix.scaffold.models.address.ContinentModel",
"id": 1,
"name": "Europe",
"code": "EUR",
"selected": false
},
{
"@class": "com.bidlogix.scaffold.models.address.ContinentModel",
"id": 2,
"name": "North America",
"code": "NAM",
"selected": false
},
{
"@class": "com.bidlogix.scaffold.models.address.ContinentModel",
"id": 6,
"name": "Oceana",
"code": "OCE",
"selected": false
},
{
"@class": "com.bidlogix.scaffold.models.address.ContinentModel",
"id": 3,
"name": "South America",
"code": "SAM",
"selected": false
}
]
}
}
},
"webAppContext": "302"
}
Errors
code | example |
---|---|
401 UNAUTHORIZED | { error : "Log in" } |
422 Unprocessable Entry | { error : ["<field_name>"] } |