Bids Trigger

This endpoint can be used for detecting whether or not new bids are available. When the response of this endpoint contains a positive result, use the Bids - Retrieving endpoint to retrieve the actual bids.

Use this endpoint to poll at a regular interval for new bids instead of retrieving the actual list of bids available.

Reference

GET /bids/trigger/<userId>

Fields

field type constraints W U
userId int The userId No No
unread int total number of new / unread bidsĀ  No No
total int total number of bids available No No
date datetime date of last status update No No


Example

Request

GET /rest/v1/bids/trigger/12311  HTTP/2

Response

{
  "result": true,
  "errors": [],
  "data": {
    "userId": "12311",
    "unread": "5",
    "total": "23",
    "date": "2021-07-01 10:18:06"
  }
}