Auctions List
Description
The Auctions List call reports on auction reference data within the Webtron system. For example, this will provide a list of auctions that are currently live in bidlogix, including the number of items in any auction, its start time, default currency, 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_webtron_domain/auction-mgt/bdxapi/auctions/{auctioneerId}[/{type}]?clientId=your_webtron_client_id
HTTP Method
GET
Headers
Key | Value |
---|---|
BDXAPI_NAME | Webtron API Signature |
Content-Type | application/json |
Path Parameters
Parameter | Value |
---|---|
auctioneerId | ID of the auction you wish to create items for |
type | optional parameter for auction type i.e. one of [timed, webcast, market] |
clientId | your Webtron client ID |
Examples
- Example 1
- Example 2 (with type included)
Call
https://shoreham.ap-southeast-2.bidjs.com/auction-mgt/bdxapi/auctions/3?clientId=302
Response
{
"@class": ".DataPushPayload",
"pushCode": "AUCTION_REFERENCE",
"models": {
"auctionReferenceModel": {
"@class": ".BackboneCollectionModel",
"collection": [
{
"@class": ".auctionapi.AuctionApiModel",
"id": 5,
"title": "Marketplace",
"type": "MarketAuction",
"auctioneer": {
"@class": ".AuctioneerApiModel",
"id": 3,
"name": "Demonstration Auctioneer",
"liveAuctionIds": []
},
"currency": {
"id": 1,
"symbol": "$",
"code": "AUD",
"name": "Australian Dollar",
"selected": false
},
"itemCount": 165,
"statusId": 4,
"auctionStartTime": 1536588000000,
"primaryDate": 4692970800000,
"locale": "1_302",
"live": false,
"webcasty": false,
"marketplace": true,
"salesTaxRequired": false,
"buyersPremiumRequired": true,
"hammerTaxRate": 0.00,
"bpTaxRate": 0.00,
"chargesTaxRate": 0.00,
"autoIncrementsActiveForTimedAuctions": true,
"autoIncrementsActiveForWebcast": false,
"location": {
"@class": ".AddressModel",
"id": 20,
"version": 0,
"addressType": 0,
"addressLine1": "",
"addressLine2": "",
"addressLine3": null,
"addressLine4": null,
"city": "",
"county": "",
"postcode": "",
"countryId": 15,
"countryCode": "au",
"countryName": "Australia",
"continentId": 15,
"continentCode": "AU",
"latitude": "",
"longitude": ""
},
"items": null
},
{
"@class": ".auctionapi.AuctionApiModel",
"id": 1905,
"title": "Tractors",
"type": "EventAuction",
"auctioneer": {
"@class": ".AuctioneerApiModel",
"id": 3,
"name": "Demonstration Auctioneer",
"liveAuctionIds": []
},
"currency": {
"id": 1,
"symbol": "$",
"code": "AUD",
"name": "Australian Dollar",
"selected": false
},
"itemCount": 0,
"statusId": 2,
"auctionStartTime": 1607083200000,
"primaryDate": 1608120000000,
"locale": "1_302",
"live": false,
"webcasty": false,
"marketplace": false,
"salesTaxRequired": true,
"buyersPremiumRequired": true,
"hammerTaxRate": 20.00,
"bpTaxRate": 20.00,
"chargesTaxRate": 20.00,
"autoIncrementsActiveForTimedAuctions": true,
"autoIncrementsActiveForWebcast": false,
"location": {
"@class": ".AddressModel",
"id": 203623,
"version": 0,
"addressType": 0,
"addressLine1": "",
"addressLine2": "",
"addressLine3": null,
"addressLine4": null,
"city": "",
"county": "",
"postcode": "",
"countryId": 15,
"countryCode": "au",
"countryName": "Australia",
"continentId": 15,
"continentCode": "AU",
"latitude": "",
"longitude": ""
},
"items": null
},
{
"@class": ".auctionapi.AuctionApiModel",
"id": 3769,
"title": "Demo Timed Car Auction October",
"type": "EventAuction",
"auctioneer": {
"@class": ".AuctioneerApiModel",
"id": 3,
"name": "Demonstration Auctioneer",
"liveAuctionIds": []
},
"currency": {
"id": 1,
"symbol": "$",
"code": "AUD",
"name": "Australian Dollar",
"selected": false
},
"itemCount": 53,
"statusId": 4,
"auctionStartTime": 1633351500000,
"primaryDate": 1638277200000,
"locale": "1_302",
"live": false,
"webcasty": false,
"marketplace": false,
"salesTaxRequired": true,
"buyersPremiumRequired": true,
"hammerTaxRate": 20.00,
"bpTaxRate": 20.00,
"chargesTaxRate": 20.00,
"autoIncrementsActiveForTimedAuctions": true,
"autoIncrementsActiveForWebcast": false,
"location": {
"@class": ".AddressModel",
"id": 425263,
"version": 0,
"addressType": 0,
"addressLine1": "",
"addressLine2": "",
"addressLine3": null,
"addressLine4": null,
"city": "",
"county": "",
"postcode": "",
"countryId": 15,
"countryCode": "au",
"countryName": "Australia",
"continentId": 15,
"continentCode": "AU",
"latitude": "",
"longitude": ""
},
"items": null
},
{
"@class": ".auctionapi.AuctionApiModel",
"id": 3861,
"title": "test training auction",
"type": "WebcastAuction",
"auctioneer": {
"@class": ".AuctioneerApiModel",
"id": 3,
"name": "Demonstration Auctioneer",
"liveAuctionIds": []
},
"currency": {
"id": 1,
"symbol": "$",
"code": "AUD",
"name": "Australian Dollar",
"selected": false
},
"itemCount": 4,
"statusId": 4,
"auctionStartTime": 1634724000000,
"primaryDate": 1634724000000,
"locale": "1_302",
"live": false,
"webcasty": true,
"marketplace": false,
"salesTaxRequired": true,
"buyersPremiumRequired": true,
"hammerTaxRate": 20.00,
"bpTaxRate": 20.00,
"chargesTaxRate": 20.00,
"autoIncrementsActiveForTimedAuctions": true,
"autoIncrementsActiveForWebcast": false,
"location": {
"@class": ".AddressModel",
"id": 431283,
"version": 0,
"addressType": 0,
"addressLine1": "",
"addressLine2": "",
"addressLine3": null,
"addressLine4": null,
"city": "",
"county": "",
"postcode": "",
"countryId": 15,
"countryCode": "au",
"countryName": "Australia",
"continentId": 15,
"continentCode": "AU",
"latitude": "",
"longitude": ""
},
"items": null
},
{
"@class": ".auctionapi.AuctionApiModel",
"id": 3876,
"title": "Demo Webcast",
"type": "WebcastAuction",
"auctioneer": {
"@class": ".AuctioneerApiModel",
"id": 3,
"name": "Demonstration Auctioneer",
"liveAuctionIds": []
},
"currency": {
"id": 1,
"symbol": "$",
"code": "AUD",
"name": "Australian Dollar",
"selected": false
},
"itemCount": 50,
"statusId": 4,
"auctionStartTime": 1634670000000,
"primaryDate": 1634670000000,
"locale": "1_302",
"live": false,
"webcasty": true,
"marketplace": false,
"salesTaxRequired": true,
"buyersPremiumRequired": true,
"hammerTaxRate": 20.00,
"bpTaxRate": 20.00,
"chargesTaxRate": 20.00,
"autoIncrementsActiveForTimedAuctions": true,
"autoIncrementsActiveForWebcast": false,
"location": {
"@class": ".AddressModel",
"id": 436733,
"version": 0,
"addressType": 0,
"addressLine1": "",
"addressLine2": "",
"addressLine3": null,
"addressLine4": null,
"city": "",
"county": "",
"postcode": "",
"countryId": 15,
"countryCode": "au",
"countryName": "Australia",
"continentId": 15,
"continentCode": "AU",
"latitude": "",
"longitude": ""
},
"items": null
}
]
}
},
"webAppContext": "302"
}
Call
https://shoreham.ap-southeast-2.bidjs.com/auction-mgt/bdxapi/auctions/3/market?clientId=302
Response
{
"@class": ".DataPushPayload",
"pushCode": "AUCTION_REFERENCE",
"models": {
"auctionReferenceModel": {
"@class": ".BackboneCollectionModel",
"collection": [
{
"@class": ".auctionapi.AuctionApiModel",
"id": 5,
"title": "Marketplace",
"type": "MarketAuction",
"auctioneer": {
"@class": ".AuctioneerApiModel",
"id": 3,
"name": "Demonstration Auctioneer",
"liveAuctionIds": []
},
"currency": {
"id": 1,
"symbol": "$",
"code": "AUD",
"name": "Australian Dollar",
"selected": false
},
"itemCount": 165,
"statusId": 4,
"auctionStartTime": 1536588000000,
"primaryDate": 4692970800000,
"locale": "1_302",
"live": false,
"webcasty": false,
"marketplace": true,
"salesTaxRequired": false,
"buyersPremiumRequired": true,
"hammerTaxRate": 0.00,
"bpTaxRate": 0.00,
"chargesTaxRate": 0.00,
"autoIncrementsActiveForTimedAuctions": true,
"autoIncrementsActiveForWebcast": false,
"location": {
"@class": ".AddressModel",
"id": 20,
"version": 0,
"addressType": 0,
"addressLine1": "",
"addressLine2": "",
"addressLine3": null,
"addressLine4": null,
"city": "",
"county": "",
"postcode": "",
"countryId": 15,
"countryCode": "au",
"countryName": "Australia",
"continentId": 15,
"continentCode": "AU",
"latitude": "",
"longitude": ""
},
"items": null
}
]
}
},
"webAppContext": "302"
}
Errors
code | example |
---|---|
401 UNAUTHORIZED | { error : "Log in" } |
422 Unprocessable Entry | { error : ["<field_name>"] } |