POST api/DispatchApi/GetLoadDeliveryDocument

Request Information

URI Parameters

None.

Body Parameters

JobLoadDocR
NameDescriptionTypeAdditional information
LoadId

string

None.

JobId

string

None.

IsDeleted

boolean

None.

LoadDeliveryDocumentId

integer

None.

DriverId

integer

None.

DeviceId

string

None.

CompanyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LoadId": "sample string 1",
  "JobId": "sample string 2",
  "IsDeleted": true,
  "LoadDeliveryDocumentId": 4,
  "DriverId": 5,
  "DeviceId": "sample string 6",
  "CompanyId": 7
}

text/html

Sample:
{"LoadId":"sample string 1","JobId":"sample string 2","IsDeleted":true,"LoadDeliveryDocumentId":4,"DriverId":5,"DeviceId":"sample string 6","CompanyId":7}

application/xml, text/xml

Sample:
<JobLoadDocR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dispatch.Models">
  <CompanyId>7</CompanyId>
  <DeviceId>sample string 6</DeviceId>
  <DriverId>5</DriverId>
  <IsDeleted>true</IsDeleted>
  <JobId>sample string 2</JobId>
  <LoadDeliveryDocumentId>4</LoadDeliveryDocumentId>
  <LoadId>sample string 1</LoadId>
</JobLoadDocR>

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

Response Information

Resource Description

ResultModelOfLoadDeliveryDocument
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

UpdateApp

boolean

None.

IsSecureLoad

boolean

None.

IsPODMandatory

boolean

None.

GetPickupDeliveryNumberFromApp

boolean

None.

RestrictLocationChangesForApp

boolean

None.

RestrictDriversToOneActiveJobAtaTime

boolean

None.

ShowShipperConsigneeContactDetail

boolean

None.

HideMilesRateForDriverInapp

boolean

None.

ShowConsigneeInfoOnDriverApp

boolean

None.

model

LoadDeliveryDocument

None.

lstModel

Collection of LoadDeliveryDocument

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2",
  "UpdateApp": true,
  "IsSecureLoad": true,
  "IsPODMandatory": true,
  "GetPickupDeliveryNumberFromApp": true,
  "RestrictLocationChangesForApp": true,
  "RestrictDriversToOneActiveJobAtaTime": true,
  "ShowShipperConsigneeContactDetail": true,
  "HideMilesRateForDriverInapp": true,
  "ShowConsigneeInfoOnDriverApp": true,
  "model": {
    "LoadDeliveryDocumentId": 1,
    "LoadID": 2,
    "DocumentName": "sample string 3",
    "DocumentPath": "sample string 4"
  },
  "lstModel": [
    {
      "LoadDeliveryDocumentId": 1,
      "LoadID": 2,
      "DocumentName": "sample string 3",
      "DocumentPath": "sample string 4"
    },
    {
      "LoadDeliveryDocumentId": 1,
      "LoadID": 2,
      "DocumentName": "sample string 3",
      "DocumentPath": "sample string 4"
    }
  ]
}

text/html

Sample:
{"Status":true,"Message":"sample string 2","UpdateApp":true,"IsSecureLoad":true,"IsPODMandatory":true,"GetPickupDeliveryNumberFromApp":true,"RestrictLocationChangesForApp":true,"RestrictDriversToOneActiveJobAtaTime":true,"ShowShipperConsigneeContactDetail":true,"HideMilesRateForDriverInapp":true,"ShowConsigneeInfoOnDriverApp":true,"model":{"LoadDeliveryDocumentId":1,"LoadID":2,"DocumentName":"sample string 3","DocumentPath":"sample string 4"},"lstModel":[{"LoadDeliveryDocumentId":1,"LoadID":2,"DocumentName":"sample string 3","DocumentPath":"sample string 4"},{"LoadDeliveryDocumentId":1,"LoadID":2,"DocumentName":"sample string 3","DocumentPath":"sample string 4"}]}

application/xml, text/xml

Sample:
<ResultModelOfLoadDeliveryDocumentkdKmGoqn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dispatch.Models">
  <GetPickupDeliveryNumberFromApp>true</GetPickupDeliveryNumberFromApp>
  <HideMilesRateForDriverInapp>true</HideMilesRateForDriverInapp>
  <IsPODMandatory>true</IsPODMandatory>
  <IsSecureLoad>true</IsSecureLoad>
  <Message>sample string 2</Message>
  <RestrictDriversToOneActiveJobAtaTime>true</RestrictDriversToOneActiveJobAtaTime>
  <RestrictLocationChangesForApp>true</RestrictLocationChangesForApp>
  <ShowConsigneeInfoOnDriverApp>true</ShowConsigneeInfoOnDriverApp>
  <ShowShipperConsigneeContactDetail>true</ShowShipperConsigneeContactDetail>
  <Status>true</Status>
  <UpdateApp>true</UpdateApp>
  <lstModel>
    <LoadDeliveryDocument>
      <DocumentName>sample string 3</DocumentName>
      <DocumentPath>sample string 4</DocumentPath>
      <LoadDeliveryDocumentId>1</LoadDeliveryDocumentId>
      <LoadID>2</LoadID>
    </LoadDeliveryDocument>
    <LoadDeliveryDocument>
      <DocumentName>sample string 3</DocumentName>
      <DocumentPath>sample string 4</DocumentPath>
      <LoadDeliveryDocumentId>1</LoadDeliveryDocumentId>
      <LoadID>2</LoadID>
    </LoadDeliveryDocument>
  </lstModel>
  <model>
    <DocumentName>sample string 3</DocumentName>
    <DocumentPath>sample string 4</DocumentPath>
    <LoadDeliveryDocumentId>1</LoadDeliveryDocumentId>
    <LoadID>2</LoadID>
  </model>
</ResultModelOfLoadDeliveryDocumentkdKmGoqn>