GET api/v{version}/player/fuzzyfind?name={name}&dateOfBirth={dateOfBirth}&nationality={nationality}&ratio={ratio}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
name

string

Required

dateOfBirth

string

Default value is

nationality

string

Default value is

ratio

integer

Default value is 90

version

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of PlayerLookupViewModel
NameDescriptionTypeAdditional information
Name

string

None.

Id

integer

None.

Key

integer

None.

MemberId

string

None.

DateOfBirth

date

None.

Nationality

string

None.

Email

string

None.

Ratio

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Id": 2,
    "Key": 3,
    "MemberId": "sample string 4",
    "DateOfBirth": "2021-11-28T12:14:03.5955638+01:00",
    "Nationality": "sample string 5",
    "Email": "sample string 6",
    "Ratio": 1
  },
  {
    "Name": "sample string 1",
    "Id": 2,
    "Key": 3,
    "MemberId": "sample string 4",
    "DateOfBirth": "2021-11-28T12:14:03.5955638+01:00",
    "Nationality": "sample string 5",
    "Email": "sample string 6",
    "Ratio": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfPlayerLookupViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Domain.Models">
  <PlayerLookupViewModel>
    <DateOfBirth>2021-11-28T12:14:03.5955638+01:00</DateOfBirth>
    <Id>2</Id>
    <Key>3</Key>
    <MemberId>sample string 4</MemberId>
    <Name>sample string 1</Name>
    <Nationality>sample string 5</Nationality>
  </PlayerLookupViewModel>
  <PlayerLookupViewModel>
    <DateOfBirth>2021-11-28T12:14:03.5955638+01:00</DateOfBirth>
    <Id>2</Id>
    <Key>3</Key>
    <MemberId>sample string 4</MemberId>
    <Name>sample string 1</Name>
    <Nationality>sample string 5</Nationality>
  </PlayerLookupViewModel>
</ArrayOfPlayerLookupViewModel>