POST api/VTL/driverScoreCardLandingSummary

Request Information

URI Parameters

None.

Body Parameters

CompanyRequest
NameDescriptionTypeAdditional information
CompanyId

integer

None.

UserId

integer

None.

LoginType

string

None.

TransporterId

integer

None.

ClientId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyId": 1,
  "UserId": 2,
  "LoginType": "sample string 3",
  "TransporterId": 4,
  "ClientId": 5
}

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>5</ClientId>
  <CompanyId>1</CompanyId>
  <LoginType>sample string 3</LoginType>
  <TransporterId>4</TransporterId>
  <UserId>2</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
      },
      {
        "totalDrivers": 1,
        "totalFleet": 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:totalDrivers>1</d2p1:totalDrivers>
        <d2p1:totalFleet>2</d2p1:totalFleet>
      </d2p1:DriverScoreCardSummaryMDL>
      <d2p1:DriverScoreCardSummaryMDL>
        <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>