API

Auction APIs

GET auction/lots/{lotId}/bids

List of all bids of the specified lot. Note that this resource not filter on logged in customer/supplier.

HTTP method GET
URI https://api.rambase.net/auction/lots/{lotId}/bids
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {lotId} Lot identifier
Integer, minimum 100000
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 1822, version 9

The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.

Format:
1
1

The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.

$showDomainDescriptions Boolean, optional Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false.
$lang String, optional Specifies the language used in the response, following the 3-letter ISO-639-1 [lll]
$access_token String, optional After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time.
$db String, optional Set the database/company for the request
$expand String, optional Use to include output fields that are not returned by default in the response. Accepts a comma-separated list of expandable field names. See the Expand and Select page for more information.
$select String, optional Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select page for more information.
$useMinimumVersion Integer, optional Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information.
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$top String, optional Specifies number of rows to return in each page. Maximum limit is specific for each API resource. Default value is 10.
$pageKey String, optional Use to navigate to first, previous, next or last page in list. Add $expand=PagingDetails to add the different keys to the response.
$filter String, optional Use to filter the result list, see the Filtering and sorting page for more information.
$orderby String, optional Use to order the result list, see the Filtering and sorting page for more information.
$inlinecount String, optional Set to "allpages" to include total number of rows in the response. Possible values are: "allpages", "none"

Read more about filters and sorting on how to use filter parameters and named filters.

AppliedAmount Decimal The amount applied for the bid (lower or equal to maximum amount).
Bidder.
ObjectId
Integer
The person placing the bid. Either a contact related to the customer, or an employee.
Bidder.
ObjectType
String
The person placing the bid. Either a contact related to the customer, or an employee.
BidId Integer Bid identifier.
BidStatus Integer Status of the bid.
Comment String Comment/note for the bid.
CreatedAt Datetime Timestamp of the bid. Available macros: now(), startOfDay(), endOfDay(), currentDate(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
Customer.
CustomerId
Integer
Customer identifier.
IsHighestBid Boolean True if the bid is the highest/leading bid.
MaximumAmount Decimal The highest amount the bidder is willing to spend for this lot. The amount will increase according to the bid increment setup.
SalesOrderItem.
Database
String
Company code/database the object belongs to.
SalesOrderItem.
ItemId
Integer
Sales order item identifier.
SalesOrderItem.
SalesOrderId
Integer
Sales order identifier.
Type String Type of bid.

Read more about filters and sorting on how to use sortable parameters

AppliedAmount Decimal The amount applied for the bid (lower or equal to maximum amount)
Bidder.
ObjectId
Integer
The person placing the bid. Either a contact related to the customer, or an employee
Bidder.
ObjectType
String
The person placing the bid. Either a contact related to the customer, or an employee
BidId Integer Bid identifier
BidStatus Integer Status of the bid
Comment String Comment/note for the bid
CreatedAt Datetime Timestamp of the bid
Customer.
CustomerId
Integer
Customer identifier
IsHighestBid Boolean True if the bid is the highest/leading bid
MaximumAmount Decimal The highest amount the bidder is willing to spend for this lot. The amount will increase according to the bid increment setup.
SalesOrderItem.
Database
String
Company code/database the object belongs to
SalesOrderItem.
ItemId
Integer
Sales order item identifier
SalesOrderItem.
SalesOrderId
Integer
Sales order identifier
Type String Type of bid

Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<Bids>
2
     <Bid>
3
          <BidId
BidId

Bid identifier

>
{Integer}</BidId>
4
          <BidStatus
BidStatus

Status of the bid

>
{Integer}</BidStatus>
5
          <Type
Type

Type of bid

Possible domain values can be found here

>
{String}</Type>
6
          <CreatedAt
CreatedAt

Timestamp of the bid

>
{Datetime}</CreatedAt>
7
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
8
          <AppliedAmount
AppliedAmount

The amount applied for the bid (lower or equal to maximum amount)

>
{Decimal}</AppliedAmount>
9
          <MaximumAmount
MaximumAmount

The highest amount the bidder is willing to spend for this lot. The amount will increase according to the bid increment setup.

>
{Decimal}</MaximumAmount>
10
          <Customer>
11
               <CustomerId
CustomerId

Customer identifier

>
{Integer}</CustomerId>
12
               <Name
Name

Name of customer (name of company or surname/familyname/lastname of a person)

This field is greyed out because it is an expandable field. You have to add $expand=Bid.Customer.Name in your request URI to get this field

>
{String}</Name>
13
               <Firstname
Firstname

Secondary name of a company or firstname of a person

This field is greyed out because it is an expandable field. You have to add $expand=Bid.Customer.Firstname in your request URI to get this field

>
{String}</Firstname>
14
               <CustomerLink
CustomerLink

Customer reference

>
{String}</CustomerLink>
15
          </Customer>
16
          <SalesOrderItem>
17
               <Database
Database

Company code/database the object belongs to

>
{String}</Database>
18
               <SalesOrderId
SalesOrderId

Sales order identifier

>
{Integer}</SalesOrderId>
19
               <SalesOrderLink
SalesOrderLink

Sales order reference

>
{String}</SalesOrderLink>
20
               <ItemId
ItemId

Sales order item identifier

>
{Integer}</ItemId>
21
               <ItemLink
ItemLink

Reference to the sales order item.

>
{String}</ItemLink>
22
          </SalesOrderItem>
23
          <Bidder>
24
               <ObjectId
ObjectId

The person placing the bid. Either a contact related to the customer, or an employee

>
{Integer}</ObjectId>
25
               <ObjectType
ObjectType

The person placing the bid. Either a contact related to the customer, or an employee

>
{String}</ObjectType>
26
               <Lastname
Lastname

Lastname of the bidder

This field is greyed out because it is an expandable field. You have to add $expand=Bid.Bidder.Lastname in your request URI to get this field

>
{String}</Lastname>
27
               <Firstname
Firstname

Firstname of the bidder

This field is greyed out because it is an expandable field. You have to add $expand=Bid.Bidder.Firstname in your request URI to get this field

>
{String}</Firstname>
28
               <ObjectLink
ObjectLink

The person placing the bid. Either a contact related to the customer, or an employee

>
{String}</ObjectLink>
29
          </Bidder>
30
          <Comment
Comment

Comment/note for the bid

>
{String}</Comment>
31
          <IsHighestBid
IsHighestBid

True if the bid is the highest/leading bid

>
{Boolean}</IsHighestBid>
32
          <BidLink
BidLink

Reference to the bid

>
{String}</BidLink>
33
     </Bid>
34
     <Paging
Paging

Detailed paging information for this list.

>
35
          <PageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

>
{Integer}</PageSize>
36
          <Position
Position

Position of the first element in the list

>
{Integer}</Position>
37
          <Page
Page

Page index

>
{Integer}</Page>
38
          <FirstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</FirstPageKey>
39
          <FirstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

>
{String}</FirstPage>
40
          <PreviousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</PreviousPageKey>
41
          <PreviousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

>
{String}</PreviousPage>
42
          <NextPageKey
NextPageKey

Page key to use for navigating to next page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</NextPageKey>
43
          <NextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

>
{String}</NextPage>
44
          <LastPageKey
LastPageKey

Page key to use for navigating to last page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</LastPageKey>
45
          <LastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

>
{String}</LastPage>
46
          <Size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

>
{Integer}</Size>
47
     </Paging>
48
</Bids>
1
{
2
     "bids": [
3
          {
4
               "bidId
BidId

Bid identifier

":
"{Integer}",
5
               "bidStatus
BidStatus

Status of the bid

":
"{Integer}",
6
               "type
Type

Type of bid

Possible domain values can be found here

":
"{String}",
7
               "createdAt
CreatedAt

Timestamp of the bid

":
"{Datetime}",
8
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
9
               "appliedAmount
AppliedAmount

The amount applied for the bid (lower or equal to maximum amount)

":
"{Decimal}",
10
               "maximumAmount
MaximumAmount

The highest amount the bidder is willing to spend for this lot. The amount will increase according to the bid increment setup.

":
"{Decimal}",
11
               "customer": {
12
                    "customerId
CustomerId

Customer identifier

":
"{Integer}",
13
                    "name
Name

Name of customer (name of company or surname/familyname/lastname of a person)

This field is greyed out because it is an expandable field. You have to add $expand=Bid.Customer.Name in your request URI to get this field

":
"{String}",
14
                    "firstname
Firstname

Secondary name of a company or firstname of a person

This field is greyed out because it is an expandable field. You have to add $expand=Bid.Customer.Firstname in your request URI to get this field

":
"{String}",
15
                    "customerLink
CustomerLink

Customer reference

":
"{String}"
16
               },
17
               "salesOrderItem": {
18
                    "database
Database

Company code/database the object belongs to

":
"{String}",
19
                    "salesOrderId
SalesOrderId

Sales order identifier

":
"{Integer}",
20
                    "salesOrderLink
SalesOrderLink

Sales order reference

":
"{String}",
21
                    "itemId
ItemId

Sales order item identifier

":
"{Integer}",
22
                    "itemLink
ItemLink

Reference to the sales order item.

":
"{String}"
23
               },
24
               "bidder": {
25
                    "objectId
ObjectId

The person placing the bid. Either a contact related to the customer, or an employee

":
"{Integer}",
26
                    "objectType
ObjectType

The person placing the bid. Either a contact related to the customer, or an employee

":
"{String}",
27
                    "lastname
Lastname

Lastname of the bidder

This field is greyed out because it is an expandable field. You have to add $expand=Bid.Bidder.Lastname in your request URI to get this field

":
"{String}",
28
                    "firstname
Firstname

Firstname of the bidder

This field is greyed out because it is an expandable field. You have to add $expand=Bid.Bidder.Firstname in your request URI to get this field

":
"{String}",
29
                    "objectLink
ObjectLink

The person placing the bid. Either a contact related to the customer, or an employee

":
"{String}"
30
               },
31
               "comment
Comment

Comment/note for the bid

":
"{String}",
32
               "isHighestBid
IsHighestBid

True if the bid is the highest/leading bid

":
"{Boolean}",
33
               "bidLink
BidLink

Reference to the bid

":
"{String}"
34
          }
35
     ],
36
     "paging
Paging

Detailed paging information for this list.

":
{
37
          "pageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

":
"{Integer}",
38
          "position
Position

Position of the first element in the list

":
"{Integer}",
39
          "page
Page

Page index

":
"{Integer}",
40
          "firstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
41
          "firstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

":
"{String}",
42
          "previousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
43
          "previousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

":
"{String}",
44
          "nextPageKey
NextPageKey

Page key to use for navigating to next page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
45
          "nextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

":
"{String}",
46
          "lastPageKey
LastPageKey

Page key to use for navigating to last page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
47
          "lastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

":
"{String}",
48
          "size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

":
"{Integer}"
49
     }
50
}

List of available operations/actions for this resource.
See the operations documentation for more information about API operations.

Possible error codes the response might return:

Error 100209 HTTP 400 Illegal document Id {0}
Error 101086 HTTP 400 Missing required argument {0} for description
Error 101087 HTTP 400 Description argument/result mismatch