POST v1/company/league-score/top-list-detail

Request Information

URI Parameters

None.

Body Parameters

UserLeagueScoreTopListRequestModel
NameDescriptionTypeAdditional information
year

integer

None.

month

integer

None.

top

integer

Required

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:
{
  "year": 1,
  "month": 1,
  "top": 1,
  "user_id": "sample string 2",
  "user_signature": "sample string 3"
}

Response Information

Resource Description

BaseMetaResultModelOfListOfUserLeagueScoreTopDetailListResponseModel
NameDescriptionTypeAdditional information
response

Collection of UserLeagueScoreTopDetailListResponseModel

None.

meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "response": [
    {
      "user_uid": "sample string 1",
      "user_total_score": 2,
      "user_driver_total_score": 3,
      "user_first_name": "sample string 4",
      "reward": "sample string 5",
      "user_scores": [
        {
          "name": "sample string 1",
          "score": 2,
          "shipment_inc_id": 1,
          "company_name": "sample string 3",
          "problem_shipment": "sample string 4",
          "vehicle_licence_plate": "sample string 5",
          "company_user_email": "sample string 6",
          "user_create_date": "2019-10-19T12:59:35.3254168+03:00",
          "user_type": "sample string 8",
          "shipment_departure_date": "2019-10-19T12:59:35.3254168+03:00"
        },
        {
          "name": "sample string 1",
          "score": 2,
          "shipment_inc_id": 1,
          "company_name": "sample string 3",
          "problem_shipment": "sample string 4",
          "vehicle_licence_plate": "sample string 5",
          "company_user_email": "sample string 6",
          "user_create_date": "2019-10-19T12:59:35.3254168+03:00",
          "user_type": "sample string 8",
          "shipment_departure_date": "2019-10-19T12:59:35.3254168+03:00"
        }
      ]
    },
    {
      "user_uid": "sample string 1",
      "user_total_score": 2,
      "user_driver_total_score": 3,
      "user_first_name": "sample string 4",
      "reward": "sample string 5",
      "user_scores": [
        {
          "name": "sample string 1",
          "score": 2,
          "shipment_inc_id": 1,
          "company_name": "sample string 3",
          "problem_shipment": "sample string 4",
          "vehicle_licence_plate": "sample string 5",
          "company_user_email": "sample string 6",
          "user_create_date": "2019-10-19T12:59:35.3254168+03:00",
          "user_type": "sample string 8",
          "shipment_departure_date": "2019-10-19T12:59:35.3254168+03:00"
        },
        {
          "name": "sample string 1",
          "score": 2,
          "shipment_inc_id": 1,
          "company_name": "sample string 3",
          "problem_shipment": "sample string 4",
          "vehicle_licence_plate": "sample string 5",
          "company_user_email": "sample string 6",
          "user_create_date": "2019-10-19T12:59:35.3254168+03:00",
          "user_type": "sample string 8",
          "shipment_departure_date": "2019-10-19T12:59:35.3254168+03:00"
        }
      ]
    }
  ],
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}