POST api/DispatchApi/UploadDriverImage
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
CustomReturnOfUploadDriverImageModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Data | UploadDriverImageModel |
None. |
|
| lstData | Collection of UploadDriverImageModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Message": "sample string 2",
"Data": {
"ImagePath": "sample string 1",
"DocumentType": "sample string 2",
"DriverId": 3,
"DeviceId": "sample string 4",
"CompanyId": 5
},
"lstData": [
{
"ImagePath": "sample string 1",
"DocumentType": "sample string 2",
"DriverId": 3,
"DeviceId": "sample string 4",
"CompanyId": 5
},
{
"ImagePath": "sample string 1",
"DocumentType": "sample string 2",
"DriverId": 3,
"DeviceId": "sample string 4",
"CompanyId": 5
}
]
}
text/html
Sample:
{"Status":true,"Message":"sample string 2","Data":{"ImagePath":"sample string 1","DocumentType":"sample string 2","DriverId":3,"DeviceId":"sample string 4","CompanyId":5},"lstData":[{"ImagePath":"sample string 1","DocumentType":"sample string 2","DriverId":3,"DeviceId":"sample string 4","CompanyId":5},{"ImagePath":"sample string 1","DocumentType":"sample string 2","DriverId":3,"DeviceId":"sample string 4","CompanyId":5}]}
application/xml, text/xml
Sample:
<CustomReturnOfUploadDriverImageModelkdKmGoqn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dispatch.Models">
<Data>
<CompanyId>5</CompanyId>
<DeviceId>sample string 4</DeviceId>
<DriverId>3</DriverId>
<DocumentType>sample string 2</DocumentType>
<ImagePath>sample string 1</ImagePath>
</Data>
<Message>sample string 2</Message>
<Status>true</Status>
<lstData>
<UploadDriverImageModel>
<CompanyId>5</CompanyId>
<DeviceId>sample string 4</DeviceId>
<DriverId>3</DriverId>
<DocumentType>sample string 2</DocumentType>
<ImagePath>sample string 1</ImagePath>
</UploadDriverImageModel>
<UploadDriverImageModel>
<CompanyId>5</CompanyId>
<DeviceId>sample string 4</DeviceId>
<DriverId>3</DriverId>
<DocumentType>sample string 2</DocumentType>
<ImagePath>sample string 1</ImagePath>
</UploadDriverImageModel>
</lstData>
</CustomReturnOfUploadDriverImageModelkdKmGoqn>