POST Api/v1/Miles/{id}/Assign
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
MilesNoDriverAssignToCommandName | Description | Type | Additional information |
---|---|---|---|
RecordRemark | string |
Required String length: inclusive between 0 and 255 |
|
Assignments | Collection of MilesNoDriverAssignmentCommand |
None. |
Request Formats
application/json, text/json
Sample:
{ "recordRemark": "sample string 1", "assignments": [ { "assignTo": 0, "startTime": "2025-07-01T02:17:22.8544089-06:00", "endTime": "2025-07-01T02:17:22.8544089-06:00", "timeZoneId": "sample string 3", "observesDst": true, "kilometers": 5.0, "driverId": "sample string 6", "odometer": 7, "location": "sample string 8", "remark": "sample string 9", "author": "sample string 10" }, { "assignTo": 0, "startTime": "2025-07-01T02:17:22.8544089-06:00", "endTime": "2025-07-01T02:17:22.8544089-06:00", "timeZoneId": "sample string 3", "observesDst": true, "kilometers": 5.0, "driverId": "sample string 6", "odometer": 7, "location": "sample string 8", "remark": "sample string 9", "author": "sample string 10" } ] }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.