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. |
|
DriverNameFr | string |
None. |
|
Description | string |
None. |
|
DescriptionFr | string |
None. |
|
SeedPosition | integer |
None. |
|
IsAvailableForQualifying | boolean |
None. |
|
UserId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "fe2eaf68-28fc-424f-b532-dde03a04b748", "TeamId": "ed5af972-5c0c-41da-8864-58daf2a328ea", "DriverName": "sample string 2", "DriverNameFr": "sample string 3", "Description": "sample string 4", "DescriptionFr": "sample string 5", "SeedPosition": 6, "IsAvailableForQualifying": true, "UserId": "34bf8b7d-eca9-488f-ae90-a6dfa249776f" }
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 4</Description> <DescriptionFr>sample string 5</DescriptionFr> <DriverName>sample string 2</DriverName> <DriverNameFr>sample string 3</DriverNameFr> <Id>fe2eaf68-28fc-424f-b532-dde03a04b748</Id> <IsAvailableForQualifying>true</IsAvailableForQualifying> <SeedPosition>6</SeedPosition> <TeamId>ed5af972-5c0c-41da-8864-58daf2a328ea</TeamId> <UserId>34bf8b7d-eca9-488f-ae90-a6dfa249776f</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>