POST api/DispatchApi/GetTripFleetLoadStatus

Request Information

URI Parameters

None.

Body Parameters

GetTripLoadStatusRequest
NameDescriptionTypeAdditional information
TripDriverMappingAuditTrialID

integer

None.

TripId

integer

None.

DriverId

integer

None.

DeviceId

string

None.

CompanyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TripDriverMappingAuditTrialID": 1,
  "TripId": 2,
  "DriverId": 3,
  "DeviceId": "sample string 4",
  "CompanyId": 5
}

text/html

Sample:
{"TripDriverMappingAuditTrialID":1,"TripId":2,"DriverId":3,"DeviceId":"sample string 4","CompanyId":5}

application/xml, text/xml

Sample:
<GetTripLoadStatusRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dispatch.Models">
  <CompanyId>5</CompanyId>
  <DeviceId>sample string 4</DeviceId>
  <DriverId>3</DriverId>
  <TripDriverMappingAuditTrialID>1</TripDriverMappingAuditTrialID>
  <TripId>2</TripId>
</GetTripLoadStatusRequest>

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 'GetTripLoadStatusRequest'.

Response Information

Resource Description

CustomReturnOfTripLoadStatusResponse
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Data

TripLoadStatusResponse

None.

lstData

Collection of TripLoadStatusResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2",
  "Data": {
    "IsJobAccepted": true,
    "IsJobAssigned": true,
    "IsDelivered": true
  },
  "lstData": [
    {
      "IsJobAccepted": true,
      "IsJobAssigned": true,
      "IsDelivered": true
    },
    {
      "IsJobAccepted": true,
      "IsJobAssigned": true,
      "IsDelivered": true
    }
  ]
}

text/html

Sample:
{"Status":true,"Message":"sample string 2","Data":{"IsJobAccepted":true,"IsJobAssigned":true,"IsDelivered":true},"lstData":[{"IsJobAccepted":true,"IsJobAssigned":true,"IsDelivered":true},{"IsJobAccepted":true,"IsJobAssigned":true,"IsDelivered":true}]}

application/xml, text/xml

Sample:
<CustomReturnOfTripLoadStatusResponsekdKmGoqn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dispatch.Models">
  <Data>
    <IsDelivered>true</IsDelivered>
    <IsJobAccepted>true</IsJobAccepted>
    <IsJobAssigned>true</IsJobAssigned>
  </Data>
  <Message>sample string 2</Message>
  <Status>true</Status>
  <lstData>
    <TripLoadStatusResponse>
      <IsDelivered>true</IsDelivered>
      <IsJobAccepted>true</IsJobAccepted>
      <IsJobAssigned>true</IsJobAssigned>
    </TripLoadStatusResponse>
    <TripLoadStatusResponse>
      <IsDelivered>true</IsDelivered>
      <IsJobAccepted>true</IsJobAccepted>
      <IsJobAssigned>true</IsJobAssigned>
    </TripLoadStatusResponse>
  </lstData>
</CustomReturnOfTripLoadStatusResponsekdKmGoqn>