POST api/Deliveries
Posts DeliveryScanDTO to the database, stores images in database
Request Information
URI Parameters
None.
Body Parameters
DeliveryScanDTOName | Description | Type | Additional information |
---|---|---|---|
Scan | string |
None. |
|
Signature | string |
None. |
|
Images | Collection of string |
None. |
|
StatusCode | integer |
None. |
|
DriverComments | string |
None. |
|
DeviceID | globally unique identifier |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
DateTime | date |
None. |
|
Status | string |
None. |
|
IsSuccess | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Scan": "sample string 1", "Signature": "sample string 2", "Images": [ "sample string 1", "sample string 2" ], "StatusCode": 3, "DriverComments": "sample string 4", "DeviceID": "87efe30f-9f33-4994-86b8-80e68479fe97", "Latitude": 6.1, "Longitude": 7.1, "DateTime": "2025-04-28T10:05:10.2742398-05:00", "Status": "sample string 9", "IsSuccess": true }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.