POST api/DispatchApi/UploadDeliveryDocument

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

CustomReturnOfLoadDeliveryDoc
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Data

LoadDeliveryDoc

None.

lstData

Collection of LoadDeliveryDoc

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2",
  "Data": {
    "LoadDeliveryDocumentId": 1,
    "LoadID": 2,
    "DocumentName": "sample string 3",
    "DocumentPath": "sample string 4",
    "DriverId": 5,
    "DeviceId": "sample string 6",
    "CompanyId": 7
  },
  "lstData": [
    {
      "LoadDeliveryDocumentId": 1,
      "LoadID": 2,
      "DocumentName": "sample string 3",
      "DocumentPath": "sample string 4",
      "DriverId": 5,
      "DeviceId": "sample string 6",
      "CompanyId": 7
    },
    {
      "LoadDeliveryDocumentId": 1,
      "LoadID": 2,
      "DocumentName": "sample string 3",
      "DocumentPath": "sample string 4",
      "DriverId": 5,
      "DeviceId": "sample string 6",
      "CompanyId": 7
    }
  ]
}

text/html

Sample:
{"Status":true,"Message":"sample string 2","Data":{"LoadDeliveryDocumentId":1,"LoadID":2,"DocumentName":"sample string 3","DocumentPath":"sample string 4","DriverId":5,"DeviceId":"sample string 6","CompanyId":7},"lstData":[{"LoadDeliveryDocumentId":1,"LoadID":2,"DocumentName":"sample string 3","DocumentPath":"sample string 4","DriverId":5,"DeviceId":"sample string 6","CompanyId":7},{"LoadDeliveryDocumentId":1,"LoadID":2,"DocumentName":"sample string 3","DocumentPath":"sample string 4","DriverId":5,"DeviceId":"sample string 6","CompanyId":7}]}

application/xml, text/xml

Sample:
<CustomReturnOfLoadDeliveryDockdKmGoqn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dispatch.Models">
  <Data>
    <CompanyId>7</CompanyId>
    <DeviceId>sample string 6</DeviceId>
    <DriverId>5</DriverId>
    <DocumentName>sample string 3</DocumentName>
    <DocumentPath>sample string 4</DocumentPath>
    <LoadDeliveryDocumentId>1</LoadDeliveryDocumentId>
    <LoadID>2</LoadID>
  </Data>
  <Message>sample string 2</Message>
  <Status>true</Status>
  <lstData>
    <LoadDeliveryDoc>
      <CompanyId>7</CompanyId>
      <DeviceId>sample string 6</DeviceId>
      <DriverId>5</DriverId>
      <DocumentName>sample string 3</DocumentName>
      <DocumentPath>sample string 4</DocumentPath>
      <LoadDeliveryDocumentId>1</LoadDeliveryDocumentId>
      <LoadID>2</LoadID>
    </LoadDeliveryDoc>
    <LoadDeliveryDoc>
      <CompanyId>7</CompanyId>
      <DeviceId>sample string 6</DeviceId>
      <DriverId>5</DriverId>
      <DocumentName>sample string 3</DocumentName>
      <DocumentPath>sample string 4</DocumentPath>
      <LoadDeliveryDocumentId>1</LoadDeliveryDocumentId>
      <LoadID>2</LoadID>
    </LoadDeliveryDoc>
  </lstData>
</CustomReturnOfLoadDeliveryDockdKmGoqn>