BaseTender
  1. Offers
BaseTender
  • Documentazione
  • Auth
    • auth
      POST
  • Vehicles
    • /vehicles/plate/:plate
      GET
    • /vehicles/id/:id
      GET
    • /vehicles/all/:company_id
      GET
    • /vehicles/update/:id
      PUT
  • Companies
    • /companies/create
      POST
  • Users
    • /users/create
      POST
    • /users/createResetOauthPw
      POST
    • /users/resetOauthPw
      POST
    • /users/resetLegacyPw
      POST
  • Trips
    • /trips/all/:company_id/:user_id
      GET
    • /trips/mine/:company_id
      GET
    • /trips/quoted/:company_id
      GET
    • /trips/:id/set/status/:status
      POST
    • /trips/details/:id/:company_id
      GET
    • /trips/all_data/:trip_id
      GET
    • /trips/add
      POST
  • Offers
    • /offers/:id/set/status/:status
      POST
    • /offers/:id/set/offer_business/:offer
      POST
    • offers/:trip_id
      GET
  • Invoices
    • /invoices/mine/:company_id
      GET
    • /invoices/send
      POST
    • /invoices/documents/:trip_id/:type?
      GET
    • /invoices/documents/insert
      POST
    • /invoices/documents/delete/:document_id
      DELETE
  1. Offers

offers/:trip_id

Developing
GET
/offers/{trip_id}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://tender.whyb.it:8443/v1/offers/67fe5be3bbb2b78e23405319' \
--header 'Authorization: Bearer <token>'
Response Response Example
[
    {
        "_id": "67fe829dbbb2b78e2340532f",
        "expiration": 1744786800000,
        "offer": "120",
        "presa": "16/04/2025 10:00-10:30",
        "consegna": "16/04/2025",
        "date_proposte": [
            {
                "date": "2025-04-16",
                "from": "10:00",
                "to": "10:30"
            },
            {
                "date": "2025-04-16",
                "from": "",
                "to": ""
            }
        ],
        "notes": "",
        "type_of_trip": "Dedicato",
        "type_of_vehicle": "Motrice",
        "trip_id": "67fe5be3bbb2b78e23405319",
        "user": "67cee4a80037f05237586d0c",
        "company_id": "67cee4a80037f05237586d0e",
        "status": "running",
        "offer_business": 190,
        "car_id": "67d017d60037f05237711498",
        "fornitore_data": {
            "_id": "67cee4a80037f05237586d0e",
            "vat_nr": "0386416024",
            "address": "via vecchia ferriera ",
            "cap": "36100",
            "cf": "03864160241",
            "city": "Vicenza (VI)",
            "country": "Italia",
            "house_number": "18/20",
            "name": "Limar srl",
            "province": "VI",
            "provvigione": "Bim Service",
            "users": [
                "67cee4a80037f05237586d0c"
            ],
            "vehicles": [
                "67b715ed4a7dbe6d0765d93f",
                "67d016680037f0523770e5fd",
                "67d017d60037f05237711498",
                "67b715ed4a7dbe6d0765d93f",
                "67d019230037f0523771408d",
                "67d019c50037f0523771567b",
                "67d01a340037f052377165b8",
                "67d01b2a0037f05237718731",
                "67d01bd30037f05237719e9b",
                "67d01c7f0037f0523771b610",
                "67d01ce90037f0523771c476",
                "67d01f090037f05237720d97",
                "67d01f6a0037f05237721ab3",
                "67d0200a0037f05237723053",
                "67d1bb650037f05237bff0ca"
            ],
            "filters": {
                "0_1500": false,
                "1500_46000": false,
                "national": false,
                "international": false
            }
        }
    }
]
Modified at 2025-09-18 12:26:16
Previous
/offers/:id/set/offer_business/:offer
Next
/invoices/mine/:company_id
Built with