GET api/Names/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Name
NameDescriptionTypeAdditional information
EndDate

date

None.

Id

integer

None.

StartDate

date

None.

FirstName

string

None.

Initial

string

None.

PersonId

integer

None.

SurName

string

Required

Links

Collection of EntityLink

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EndDate": "2019-09-20T17:16:41.4173585+00:00",
    "Id": 1,
    "StartDate": "2019-09-20T17:16:41.4173585+00:00",
    "FirstName": "sample string 2",
    "Initial": "sample string 3",
    "PersonId": 4,
    "SurName": "sample string 5",
    "Links": []
  },
  {
    "EndDate": "2019-09-20T17:16:41.4173585+00:00",
    "Id": 1,
    "StartDate": "2019-09-20T17:16:41.4173585+00:00",
    "FirstName": "sample string 2",
    "Initial": "sample string 3",
    "PersonId": 4,
    "SurName": "sample string 5",
    "Links": []
  }
]

application/xml, text/xml

Sample:
<ArrayOfName xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://worldcurling.org/statistics/data/name">
  <Name>
    <Links xmlns:d3p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
    <FirstName xmlns="http://worldcurling.org/statistics/data/personkeydata">sample string 2</FirstName>
    <Initial xmlns="http://worldcurling.org/statistics/data/personkeydata">sample string 3</Initial>
    <PersonId xmlns="http://worldcurling.org/statistics/data/personkeydata">4</PersonId>
    <SurName xmlns="http://worldcurling.org/statistics/data/personkeydata">sample string 5</SurName>
    <EndDate>2019-09-20T17:16:41.4173585+00:00</EndDate>
    <Id>1</Id>
    <StartDate>2019-09-20T17:16:41.4173585+00:00</StartDate>
  </Name>
  <Name>
    <Links xmlns:d3p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
    <FirstName xmlns="http://worldcurling.org/statistics/data/personkeydata">sample string 2</FirstName>
    <Initial xmlns="http://worldcurling.org/statistics/data/personkeydata">sample string 3</Initial>
    <PersonId xmlns="http://worldcurling.org/statistics/data/personkeydata">4</PersonId>
    <SurName xmlns="http://worldcurling.org/statistics/data/personkeydata">sample string 5</SurName>
    <EndDate>2019-09-20T17:16:41.4173585+00:00</EndDate>
    <Id>1</Id>
    <StartDate>2019-09-20T17:16:41.4173585+00:00</StartDate>
  </Name>
</ArrayOfName>