POST api/Driver/AddDriver
Request Information
URI Parameters
None.
Body Parameters
AddDriverCommandDtoName | Description | Type | Additional information |
---|---|---|---|
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:
{ "TeamId": "e82ecc1e-9443-4f8a-a9df-fa7ffd49e836", "DriverName": "sample string 1", "Description": "sample string 2", "SeedPosition": 3, "IsAvailableForQualifying": true, "UserId": "d8c02d49-c1de-49cc-96bd-c0f567ca31dc" }
application/xml, text/xml
Sample:
<AddDriverCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.DriverModule.Model"> <Description>sample string 2</Description> <DriverName>sample string 1</DriverName> <IsAvailableForQualifying>true</IsAvailableForQualifying> <SeedPosition>3</SeedPosition> <TeamId>e82ecc1e-9443-4f8a-a9df-fa7ffd49e836</TeamId> <UserId>d8c02d49-c1de-49cc-96bd-c0f567ca31dc</UserId> </AddDriverCommandDto>
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>