POST api/DispatchApi/DeleteDeliveryDocument
Request Information
URI Parameters
None.
Body Parameters
LoadDeliveryDoc| Name | Description | Type | Additional information |
|---|---|---|---|
| LoadDeliveryDocumentId | integer |
None. |
|
| LoadID | integer |
None. |
|
| DocumentName | string |
None. |
|
| DocumentPath | string |
None. |
|
| DriverId | integer |
None. |
|
| DeviceId | string |
None. |
|
| CompanyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"LoadDeliveryDocumentId": 1,
"LoadID": 2,
"DocumentName": "sample string 3",
"DocumentPath": "sample string 4",
"DriverId": 5,
"DeviceId": "sample string 6",
"CompanyId": 7
}
text/html
Sample:
{"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:
<LoadDeliveryDoc 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> <DocumentName>sample string 3</DocumentName> <DocumentPath>sample string 4</DocumentPath> <LoadDeliveryDocumentId>1</LoadDeliveryDocumentId> <LoadID>2</LoadID> </LoadDeliveryDoc>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CustomReturnOfLoadDeliveryDoc| Name | Description | Type | Additional 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>