GET api/Driver/GetDriverListBySportsType?sportsTypeId={sportsTypeId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
sportsTypeId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of DriverDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
DriverName | string |
None. |
|
DriverImage | string |
None. |
|
DriverNameFr | string |
None. |
|
Description | string |
None. |
|
DescriptionFr | string |
None. |
|
TeamId | globally unique identifier |
None. |
|
SeedPosition | integer |
None. |
|
IsAvailableForQualifying | boolean |
None. |
|
TeamName | string |
None. |
|
SportsTypeId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "c32cd025-f64d-4889-a45e-8030ef34b6e0", "DriverName": "sample string 2", "DriverImage": "sample string 3", "DriverNameFr": "sample string 4", "Description": "sample string 5", "DescriptionFr": "sample string 6", "TeamId": "6d7cfe62-a6e7-45ba-8c50-818c312f25c4", "SeedPosition": 7, "IsAvailableForQualifying": true, "TeamName": "sample string 8", "SportsTypeId": "2a7298f4-1cff-45fa-97e0-50747a6d8eb5" }, { "Id": "c32cd025-f64d-4889-a45e-8030ef34b6e0", "DriverName": "sample string 2", "DriverImage": "sample string 3", "DriverNameFr": "sample string 4", "Description": "sample string 5", "DescriptionFr": "sample string 6", "TeamId": "6d7cfe62-a6e7-45ba-8c50-818c312f25c4", "SeedPosition": 7, "IsAvailableForQualifying": true, "TeamName": "sample string 8", "SportsTypeId": "2a7298f4-1cff-45fa-97e0-50747a6d8eb5" } ]
application/xml, text/xml
Sample:
<ArrayOfDriverDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.DriverModule.Model"> <DriverDto> <Description>sample string 5</Description> <DescriptionFr>sample string 6</DescriptionFr> <DriverImage>sample string 3</DriverImage> <DriverName>sample string 2</DriverName> <DriverNameFr>sample string 4</DriverNameFr> <Id>c32cd025-f64d-4889-a45e-8030ef34b6e0</Id> <IsAvailableForQualifying>true</IsAvailableForQualifying> <SeedPosition>7</SeedPosition> <SportsTypeId>2a7298f4-1cff-45fa-97e0-50747a6d8eb5</SportsTypeId> <TeamId>6d7cfe62-a6e7-45ba-8c50-818c312f25c4</TeamId> <TeamName>sample string 8</TeamName> </DriverDto> <DriverDto> <Description>sample string 5</Description> <DescriptionFr>sample string 6</DescriptionFr> <DriverImage>sample string 3</DriverImage> <DriverName>sample string 2</DriverName> <DriverNameFr>sample string 4</DriverNameFr> <Id>c32cd025-f64d-4889-a45e-8030ef34b6e0</Id> <IsAvailableForQualifying>true</IsAvailableForQualifying> <SeedPosition>7</SeedPosition> <SportsTypeId>2a7298f4-1cff-45fa-97e0-50747a6d8eb5</SportsTypeId> <TeamId>6d7cfe62-a6e7-45ba-8c50-818c312f25c4</TeamId> <TeamName>sample string 8</TeamName> </DriverDto> </ArrayOfDriverDto>