POST api/Driver/DeleteDriver

Request Information

URI Parameters

None.

Body Parameters

EditDriverCommandDto
NameDescriptionTypeAdditional 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": "73569c7e-fb9c-45af-8c43-0c940d3ec7d3",
  "TeamId": "171cded0-8877-4e82-a9fd-e433bffec3b0",
  "DriverName": "sample string 2",
  "DriverNameFr": "sample string 3",
  "Description": "sample string 4",
  "DescriptionFr": "sample string 5",
  "SeedPosition": 6,
  "IsAvailableForQualifying": true,
  "UserId": "58b907e2-314b-45bd-8e6f-7abeeeac7885"
}

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>73569c7e-fb9c-45af-8c43-0c940d3ec7d3</Id>
  <IsAvailableForQualifying>true</IsAvailableForQualifying>
  <SeedPosition>6</SeedPosition>
  <TeamId>171cded0-8877-4e82-a9fd-e433bffec3b0</TeamId>
  <UserId>58b907e2-314b-45bd-8e6f-7abeeeac7885</UserId>
</EditDriverCommandDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EditDriverCommandDto'.

Response Information

Resource Description

string

Response 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>