Client APILast Sale
Add Last Sale
This API is responsible to create a new Last Sale.
Notice:
- you need to have a premission to do this operation. Contact DORRS Admin
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/backend/api/v1/last_sale/reporting/" \ -H "Content-Type: application/json" \ -d '{ "origin": "WSAX", "symbol": "USDT", "condition": "buy", "mpid": "MPID", "tick_indication": "D", "quantity": "12", "price": "44", "time": "11:15", "date": "2023-11-01" }'{ "message": "success", "data": [ { "id": 26, "origin": "WSAX", "symbol_name": "USDT", "condition": "buy", "tick_indication": "D", "quantity": "12.0000000000000000", "price": "44.0000000000000000", "time": "11:15", "date": "2023-11-01", "uti": "110120231115-0000-A0026", "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:15:35.611337Z", "updated_at": "2023-11-08T09:15:35.611340Z" } ], "code": 200}