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": "3c2fddb2-8f84-467f-acfa-49eb1890823d", "DriverName": "sample string 2", "DriverImage": "sample string 3", "DriverNameFr": "sample string 4", "Description": "sample string 5", "DescriptionFr": "sample string 6", "TeamId": "e2c46463-e82e-46e5-b8cb-63b1f907d1e0", "SeedPosition": 7, "IsAvailableForQualifying": true, "TeamName": "sample string 8", "SportsTypeId": "f08006be-f0c8-47a7-bf84-62ea66dd0840" }, { "Id": "3c2fddb2-8f84-467f-acfa-49eb1890823d", "DriverName": "sample string 2", "DriverImage": "sample string 3", "DriverNameFr": "sample string 4", "Description": "sample string 5", "DescriptionFr": "sample string 6", "TeamId": "e2c46463-e82e-46e5-b8cb-63b1f907d1e0", "SeedPosition": 7, "IsAvailableForQualifying": true, "TeamName": "sample string 8", "SportsTypeId": "f08006be-f0c8-47a7-bf84-62ea66dd0840" } ]
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>3c2fddb2-8f84-467f-acfa-49eb1890823d</Id> <IsAvailableForQualifying>true</IsAvailableForQualifying> <SeedPosition>7</SeedPosition> <SportsTypeId>f08006be-f0c8-47a7-bf84-62ea66dd0840</SportsTypeId> <TeamId>e2c46463-e82e-46e5-b8cb-63b1f907d1e0</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>3c2fddb2-8f84-467f-acfa-49eb1890823d</Id> <IsAvailableForQualifying>true</IsAvailableForQualifying> <SeedPosition>7</SeedPosition> <SportsTypeId>f08006be-f0c8-47a7-bf84-62ea66dd0840</SportsTypeId> <TeamId>e2c46463-e82e-46e5-b8cb-63b1f907d1e0</TeamId> <TeamName>sample string 8</TeamName> </DriverDto> </ArrayOfDriverDto>