GET api/NationalCoaches/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of NationalCoach
NameDescriptionTypeAdditional information
Id

Gets or sets the id.

integer

None.

AssociationData

Gets or sets the association to which the club belongs

Association

None.

Person

Gets or sets the person information.

PersonKeyData

None.

StartYear

Gets or sets the start date.

integer

None.

EndYear

Gets or sets the end date.

integer

None.

Type

Gets or sets the coach type.

CoachType

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "AssociationData": {
      "AssociationId": 1,
      "Code": "sample string 2",
      "Name": "sample string 3",
      "FlagFileName": "sample string 4",
      "FlagFileX": 1,
      "FlagFileY": 1,
      "StartDate": "2017-03-16T21:36:18.9353131+00:00",
      "EndDate": "2017-03-16T21:36:18.9353131+00:00",
      "OfficialName": "sample string 5",
      "Links": []
    },
    "Person": {
      "FirstName": "sample string 1",
      "Initial": "sample string 2",
      "PersonId": 3,
      "SurName": "sample string 4",
      "Links": []
    },
    "StartYear": 1,
    "EndYear": 1,
    "Type": {
      "Id": 1,
      "Name": "sample string 2"
    }
  },
  {
    "Id": 1,
    "AssociationData": {
      "AssociationId": 1,
      "Code": "sample string 2",
      "Name": "sample string 3",
      "FlagFileName": "sample string 4",
      "FlagFileX": 1,
      "FlagFileY": 1,
      "StartDate": "2017-03-16T21:36:18.9353131+00:00",
      "EndDate": "2017-03-16T21:36:18.9353131+00:00",
      "OfficialName": "sample string 5",
      "Links": []
    },
    "Person": {
      "FirstName": "sample string 1",
      "Initial": "sample string 2",
      "PersonId": 3,
      "SurName": "sample string 4",
      "Links": []
    },
    "StartYear": 1,
    "EndYear": 1,
    "Type": {
      "Id": 1,
      "Name": "sample string 2"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfNationalCoach xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://worldcurling.org/statistics/data/nationalcoach">
  <NationalCoach>
    <AssociationData xmlns:d3p1="http://worldcurling.org/statistics/data/association">
      <Links xmlns:d4p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
      <d3p1:AssociationId>1</d3p1:AssociationId>
      <d3p1:Code>sample string 2</d3p1:Code>
      <d3p1:EndDate>2017-03-16T21:36:18.9353131+00:00</d3p1:EndDate>
      <d3p1:FlagFileName>sample string 4</d3p1:FlagFileName>
      <d3p1:FlagFileX>1</d3p1:FlagFileX>
      <d3p1:FlagFileY>1</d3p1:FlagFileY>
      <d3p1:Name>sample string 3</d3p1:Name>
      <d3p1:OfficialName>sample string 5</d3p1:OfficialName>
      <d3p1:StartDate>2017-03-16T21:36:18.9353131+00:00</d3p1:StartDate>
    </AssociationData>
    <EndYear>1</EndYear>
    <Id>1</Id>
    <Person xmlns:d3p1="http://worldcurling.org/statistics/data/personkeydata">
      <Links xmlns:d4p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
      <d3p1:FirstName>sample string 1</d3p1:FirstName>
      <d3p1:Initial>sample string 2</d3p1:Initial>
      <d3p1:PersonId>3</d3p1:PersonId>
      <d3p1:SurName>sample string 4</d3p1:SurName>
    </Person>
    <StartYear>1</StartYear>
    <Type xmlns:d3p1="http://worldcurling.org/statistics/data/coachtype">
      <d3p1:Id>1</d3p1:Id>
      <d3p1:Name>sample string 2</d3p1:Name>
    </Type>
  </NationalCoach>
  <NationalCoach>
    <AssociationData xmlns:d3p1="http://worldcurling.org/statistics/data/association">
      <Links xmlns:d4p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
      <d3p1:AssociationId>1</d3p1:AssociationId>
      <d3p1:Code>sample string 2</d3p1:Code>
      <d3p1:EndDate>2017-03-16T21:36:18.9353131+00:00</d3p1:EndDate>
      <d3p1:FlagFileName>sample string 4</d3p1:FlagFileName>
      <d3p1:FlagFileX>1</d3p1:FlagFileX>
      <d3p1:FlagFileY>1</d3p1:FlagFileY>
      <d3p1:Name>sample string 3</d3p1:Name>
      <d3p1:OfficialName>sample string 5</d3p1:OfficialName>
      <d3p1:StartDate>2017-03-16T21:36:18.9353131+00:00</d3p1:StartDate>
    </AssociationData>
    <EndYear>1</EndYear>
    <Id>1</Id>
    <Person xmlns:d3p1="http://worldcurling.org/statistics/data/personkeydata">
      <Links xmlns:d4p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
      <d3p1:FirstName>sample string 1</d3p1:FirstName>
      <d3p1:Initial>sample string 2</d3p1:Initial>
      <d3p1:PersonId>3</d3p1:PersonId>
      <d3p1:SurName>sample string 4</d3p1:SurName>
    </Person>
    <StartYear>1</StartYear>
    <Type xmlns:d3p1="http://worldcurling.org/statistics/data/coachtype">
      <d3p1:Id>1</d3p1:Id>
      <d3p1:Name>sample string 2</d3p1:Name>
    </Type>
  </NationalCoach>
</ArrayOfNationalCoach>