POST api/VTL/driverScoreCardLandingSummary

Request Information

URI Parameters

None.

Body Parameters

CompanyRequest
NameDescriptionTypeAdditional information
CompanyId

Collection of integer

None.

UserId

integer

None.

LoginType

string

None.

TransporterId

integer

None.

ClientId

integer

None.

StartDate

string

None.

EndDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyId": [
    1,
    2
  ],
  "UserId": 1,
  "LoginType": "sample string 2",
  "TransporterId": 3,
  "ClientId": 4,
  "StartDate": "sample string 5",
  "EndDate": "sample string 6"
}

application/xml, text/xml

Sample:
<CompanyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL.VTL">
  <ClientId>4</ClientId>
  <CompanyId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CompanyId>
  <EndDate>sample string 6</EndDate>
  <LoginType>sample string 2</LoginType>
  <StartDate>sample string 5</StartDate>
  <TransporterId>3</TransporterId>
  <UserId>1</UserId>
</CompanyRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CompanyRequest'.

Response Information

Resource Description

VTResultOfDriverScoreCardLandingSummaryResMDL
NameDescriptionTypeAdditional information
Message

string

None.

Result

boolean

None.

Data

DriverScoreCardLandingSummaryResMDL

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Result": true,
  "Data": {
    "result": true,
    "message": "sample string 2",
    "description": "sample string 3",
    "data": [
      {
        "totalDrivers": 1,
        "totalFleet": 2,
        "activeVehicles": 3,
        "activeDrivers": 4,
        "activeDriversList": [
          "sample string 1",
          "sample string 2"
        ]
      },
      {
        "totalDrivers": 1,
        "totalFleet": 2,
        "activeVehicles": 3,
        "activeDrivers": 4,
        "activeDriversList": [
          "sample string 1",
          "sample string 2"
        ]
      }
    ]
  }
}

application/xml, text/xml

Sample:
<VTResultOfDriverScoreCardLandingSummaryResMDL6Y_SAQWtl xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.FTSServices">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL.VTL">
    <d2p1:data>
      <d2p1:DriverScoreCardSummaryMDL>
        <d2p1:activeDrivers>4</d2p1:activeDrivers>
        <d2p1:activeDriversList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </d2p1:activeDriversList>
        <d2p1:activeVehicles>3</d2p1:activeVehicles>
        <d2p1:totalDrivers>1</d2p1:totalDrivers>
        <d2p1:totalFleet>2</d2p1:totalFleet>
      </d2p1:DriverScoreCardSummaryMDL>
      <d2p1:DriverScoreCardSummaryMDL>
        <d2p1:activeDrivers>4</d2p1:activeDrivers>
        <d2p1:activeDriversList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </d2p1:activeDriversList>
        <d2p1:activeVehicles>3</d2p1:activeVehicles>
        <d2p1:totalDrivers>1</d2p1:totalDrivers>
        <d2p1:totalFleet>2</d2p1:totalFleet>
      </d2p1:DriverScoreCardSummaryMDL>
    </d2p1:data>
    <d2p1:description>sample string 3</d2p1:description>
    <d2p1:message>sample string 2</d2p1:message>
    <d2p1:result>true</d2p1:result>
  </Data>
  <Message>sample string 1</Message>
  <Result>true</Result>
</VTResultOfDriverScoreCardLandingSummaryResMDL6Y_SAQWtl>