PATCH api/admin/drivers/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
DriverAdminPatchBody| Name | Description | Type | Additional information |
|---|---|---|---|
| DisplayName | string |
None. |
|
| MaxActiveOrders | integer |
None. |
|
| IsPromoted | boolean |
None. |
|
| PromotedUntilUtc | date |
None. |
|
| PromotedSortOrder | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"displayName": "sample string 1",
"maxActiveOrders": 1,
"isPromoted": true,
"promotedUntilUtc": "2026-05-17T05:05:00.2360492Z",
"promotedSortOrder": 1
}
application/xml, text/xml
Sample:
<DriverAdminPatchBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Del.Api.Models.Dtos"> <DisplayName>sample string 1</DisplayName> <IsPromoted>true</IsPromoted> <MaxActiveOrders>1</MaxActiveOrders> <PromotedSortOrder>1</PromotedSortOrder> <PromotedUntilUtc>2026-05-17T00:05:00.2360492-05:00</PromotedUntilUtc> </DriverAdminPatchBody>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.