POST api/Driver/EditDriver

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": "7b10871a-fed1-4fcd-81e5-99bed31bf972",
  "TeamId": "7d0af124-e314-48f4-bf28-abb7b3401e33",
  "DriverName": "sample string 2",
  "DriverNameFr": "sample string 3",
  "Description": "sample string 4",
  "DescriptionFr": "sample string 5",
  "SeedPosition": 6,
  "IsAvailableForQualifying": true,
  "UserId": "83b39690-ad8a-4447-a95a-68946ed978c9"
}

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>7b10871a-fed1-4fcd-81e5-99bed31bf972</Id>
  <IsAvailableForQualifying>true</IsAvailableForQualifying>
  <SeedPosition>6</SeedPosition>
  <TeamId>7d0af124-e314-48f4-bf28-abb7b3401e33</TeamId>
  <UserId>83b39690-ad8a-4447-a95a-68946ed978c9</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>