POST api/Driver/EditDriver
Request Information
URI Parameters
None.
Body Parameters
EditDriverCommandDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
TeamId | globally unique identifier |
None. |
|
DriverName | string |
None. |
|
Description | string |
None. |
|
SeedPosition | integer |
None. |
|
IsAvailableForQualifying | boolean |
None. |
|
UserId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "a481fb5d-0e43-457f-bb34-3865c8f073ff", "TeamId": "34a26c15-07f7-43de-be02-3cb5cbd8c0ec", "DriverName": "sample string 2", "Description": "sample string 3", "SeedPosition": 4, "IsAvailableForQualifying": true, "UserId": "be4c3d38-6871-4a39-ad75-98e24fbfd14f" }
application/xml, text/xml
Sample:
<EditDriverCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.DriverModule.Model"> <Description>sample string 3</Description> <DriverName>sample string 2</DriverName> <Id>a481fb5d-0e43-457f-bb34-3865c8f073ff</Id> <IsAvailableForQualifying>true</IsAvailableForQualifying> <SeedPosition>4</SeedPosition> <TeamId>34a26c15-07f7-43de-be02-3cb5cbd8c0ec</TeamId> <UserId>be4c3d38-6871-4a39-ad75-98e24fbfd14f</UserId> </EditDriverCommandDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>