POST v1/admin/shipment/offer/list

Request Information

URI Parameters

None.

Body Parameters

CompanyOfferListRequestModel
NameDescriptionTypeAdditional information
offer_shipment_id

string

None.

user_company_id

Company UID of the active user

string

Required

Data type: Text

user_id

User ID (GUID)

string

Required

Data type: Text

user_signature

MD5 hash signature for the active user to validate the request

string

Required

Data type: Text

Request Format

application/json, text/json

Sample:
{
  "offer_shipment_id": "sample string 1",
  "user_company_id": "sample string 2",
  "user_id": "sample string 3",
  "user_signature": "sample string 4"
}

Response Information

Resource Description

BaseMetaResultModelOfShipmentOfferModel[]
NameDescriptionTypeAdditional information
response

Collection of ShipmentOfferModel

None.

meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "response": [
    {
      "offer_id": 1,
      "offer_company_id": "sample string 2",
      "offer_user_id": "sample string 3",
      "offer_offered_company_uid": "sample string 4",
      "offer_shipment_id": "sample string 5",
      "offer_shipment_inc_id": 6,
      "offer_vehicle_id": 7,
      "offer_bank_id": 8,
      "offer_amount": 1,
      "offer_date_time": "2020-07-13T02:38:31.5728434+03:00",
      "offer_confirmation_company": true,
      "offer_confirmation_company_user": "sample string 10",
      "offer_confirmation_company_date_time": "2020-07-13T02:38:31.5728434+03:00",
      "offer_confirmation_user": true,
      "offer_confirmation_user_date_time": "2020-07-13T02:38:31.5728434+03:00",
      "offer_confirmation_payment": true,
      "offer_confirmation_payment_date_time": "2020-07-13T02:38:31.5728434+03:00",
      "offer_confirmation_departure": true,
      "offer_confirmation_departure_date_time": "2020-07-13T02:38:31.5728434+03:00",
      "offer_confirmation_user_delivery": true,
      "offer_confirmation_user_delivery_date_time": "2020-07-13T02:38:31.5728434+03:00",
      "offer_confirmation_company_delivery": true,
      "offer_confirmation_company_delivery_date_time": "2020-07-13T02:38:31.5728434+03:00",
      "offer_company_payment_id": 16,
      "offer_user_payment_id": 17,
      "offer_user_declined": true,
      "shipment_company_name": "sample string 19",
      "shipment_departure_date": "2020-07-13T02:38:31.5728434+03:00",
      "shipment_departure_address": "sample string 21",
      "shipment_arrival_date": "2020-07-13T02:38:31.5728434+03:00",
      "shipment_arrival_name": "sample string 23",
      "vehicle_licence_plate": "sample string 24",
      "offer_request_id": 1,
      "offer_request_time": "2020-07-13T02:38:31.5728434+03:00",
      "offer_request_amount": 1.0,
      "shipment_proposal_cost": 25.0
    },
    {
      "offer_id": 1,
      "offer_company_id": "sample string 2",
      "offer_user_id": "sample string 3",
      "offer_offered_company_uid": "sample string 4",
      "offer_shipment_id": "sample string 5",
      "offer_shipment_inc_id": 6,
      "offer_vehicle_id": 7,
      "offer_bank_id": 8,
      "offer_amount": 1,
      "offer_date_time": "2020-07-13T02:38:31.5728434+03:00",
      "offer_confirmation_company": true,
      "offer_confirmation_company_user": "sample string 10",
      "offer_confirmation_company_date_time": "2020-07-13T02:38:31.5728434+03:00",
      "offer_confirmation_user": true,
      "offer_confirmation_user_date_time": "2020-07-13T02:38:31.5728434+03:00",
      "offer_confirmation_payment": true,
      "offer_confirmation_payment_date_time": "2020-07-13T02:38:31.5728434+03:00",
      "offer_confirmation_departure": true,
      "offer_confirmation_departure_date_time": "2020-07-13T02:38:31.5728434+03:00",
      "offer_confirmation_user_delivery": true,
      "offer_confirmation_user_delivery_date_time": "2020-07-13T02:38:31.5728434+03:00",
      "offer_confirmation_company_delivery": true,
      "offer_confirmation_company_delivery_date_time": "2020-07-13T02:38:31.5728434+03:00",
      "offer_company_payment_id": 16,
      "offer_user_payment_id": 17,
      "offer_user_declined": true,
      "shipment_company_name": "sample string 19",
      "shipment_departure_date": "2020-07-13T02:38:31.5728434+03:00",
      "shipment_departure_address": "sample string 21",
      "shipment_arrival_date": "2020-07-13T02:38:31.5728434+03:00",
      "shipment_arrival_name": "sample string 23",
      "vehicle_licence_plate": "sample string 24",
      "offer_request_id": 1,
      "offer_request_time": "2020-07-13T02:38:31.5728434+03:00",
      "offer_request_amount": 1.0,
      "shipment_proposal_cost": 25.0
    }
  ],
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}