POST v1/admin/shipment/offer/list

Request Information

URI Parameters

None.

Body Parameters

CompanyOfferListRequestModel
NameDescriptionTypeAdditional information
offer_shipment_id

string

Required

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

BaseMetaResultModelOfListOfShipmentOfferModel
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_vehicle_id": 6,
      "offer_bank_id": 7,
      "offer_amount": 1,
      "offer_date_time": "2019-09-18T11:12:04.7902202+03:00",
      "offer_confirmation_company": true,
      "offer_confirmation_company_user": "sample string 9",
      "offer_confirmation_company_date_time": "2019-09-18T11:12:04.7902202+03:00",
      "offer_confirmation_user": true,
      "offer_confirmation_user_date_time": "2019-09-18T11:12:04.7902202+03:00",
      "offer_confirmation_payment": true,
      "offer_confirmation_payment_date_time": "2019-09-18T11:12:04.7902202+03:00",
      "offer_confirmation_departure": true,
      "offer_confirmation_departure_date_time": "2019-09-18T11:12:04.7902202+03:00",
      "offer_confirmation_user_delivery": true,
      "offer_confirmation_user_delivery_date_time": "2019-09-18T11:12:04.7902202+03:00",
      "offer_confirmation_company_delivery": true,
      "offer_confirmation_company_delivery_date_time": "2019-09-18T11:12:04.7902202+03:00",
      "offer_company_payment_id": 15,
      "offer_user_payment_id": 16,
      "offer_user_declined": true
    },
    {
      "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_vehicle_id": 6,
      "offer_bank_id": 7,
      "offer_amount": 1,
      "offer_date_time": "2019-09-18T11:12:04.7902202+03:00",
      "offer_confirmation_company": true,
      "offer_confirmation_company_user": "sample string 9",
      "offer_confirmation_company_date_time": "2019-09-18T11:12:04.7902202+03:00",
      "offer_confirmation_user": true,
      "offer_confirmation_user_date_time": "2019-09-18T11:12:04.7902202+03:00",
      "offer_confirmation_payment": true,
      "offer_confirmation_payment_date_time": "2019-09-18T11:12:04.7902202+03:00",
      "offer_confirmation_departure": true,
      "offer_confirmation_departure_date_time": "2019-09-18T11:12:04.7902202+03:00",
      "offer_confirmation_user_delivery": true,
      "offer_confirmation_user_delivery_date_time": "2019-09-18T11:12:04.7902202+03:00",
      "offer_confirmation_company_delivery": true,
      "offer_confirmation_company_delivery_date_time": "2019-09-18T11:12:04.7902202+03:00",
      "offer_company_payment_id": 15,
      "offer_user_payment_id": 16,
      "offer_user_declined": true
    }
  ],
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}