REST API DOCS
Client APIBest Bid and Offer

Update Best Bid-Offer

PUT
/backend/api/v1/bbo/reporting/{id}/

Updates an existing Best Bid and Best Offer record by its ID. Required bid/offer fields depend on quote_condition (same rules as Add).

Notice:

  • you need to have permission to do this operation. Contact DORRS Admin

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*integer

ID of the BBO record to update

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/backend/api/v1/bbo/reporting/0/" \  -H "Content-Type: application/json" \  -d '{    "origin": "WSAX",    "symbol": "USDT",    "quote_condition": "b"  }'
{  "message": "success",  "data": [    {      "id": 5,      "symbol_name": "USDT",      "quote_condition": "b",      "bid_mpid": "MOID01",      "bid_quantity": "21.0000000000000000",      "bid_price": "88.0000000000000000",      "bid_date": "2023-11-01",      "bid_time": "11:18",      "offer_mpid": "",      "offer_quantity": null,      "offer_price": null,      "offer_date": null,      "offer_time": null,      "origin": "WSAX",      "uti": "110120231118-0000-A0006",      "company_profile": {        "id": 6,        "logo": "/media/company_profile_logo/logo.jpg",        "security_name": "USDT",        "company_name": "FIMR",        "business_description": "",        "street_address_1": "1",        "street_address_2": "",        "city": "",        "state": "",        "zip_code": "",        "country": "",        "phone": "",        "web_address": "",        "sic_industry_classification": "",        "incorporation_information": "",        "number_of_employees": null,        "company_officers_and_contacts": "",        "board_of_directors": "",        "product_and_services": "",        "company_facilities": "",        "transfer_agent": "",        "accounting_auditing_firm": "",        "investor_relations_marketing_communications": "",        "securities_counsel": "",        "us_reporting": "",        "edgar_cik": "",        "is_approved": true,        "status": "approved",        "created_at": "2023-10-04T14:22:24.248943Z",        "updated_at": "2023-11-03T18:25:33.539997Z",        "symbol": 1      },      "created_at": "2023-11-08T09:19:01.353940Z",      "updated_at": "2023-11-08T09:19:50.705377Z"    }  ],  "code": 200}