PUT api/Clubs/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Club
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Required

AssociationData

Association

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "AssociationData": {
    "AssociationId": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "FlagFileName": "sample string 4",
    "FlagFileX": 1,
    "FlagFileY": 1,
    "StartDate": "2019-09-20T17:18:27.822944+00:00",
    "EndDate": "2019-09-20T17:18:27.822944+00:00",
    "OfficialName": "sample string 5",
    "Links": []
  }
}

application/xml, text/xml

Sample:
<Club xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://worldcurling.org/statistics/data/club">
  <AssociationData xmlns:d2p1="http://worldcurling.org/statistics/data/association">
    <Links xmlns:d3p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
    <d2p1:AssociationId>1</d2p1:AssociationId>
    <d2p1:Code>sample string 2</d2p1:Code>
    <d2p1:EndDate>2019-09-20T17:18:27.822944+00:00</d2p1:EndDate>
    <d2p1:FlagFileName>sample string 4</d2p1:FlagFileName>
    <d2p1:FlagFileX>1</d2p1:FlagFileX>
    <d2p1:FlagFileY>1</d2p1:FlagFileY>
    <d2p1:Name>sample string 3</d2p1:Name>
    <d2p1:OfficialName>sample string 5</d2p1:OfficialName>
    <d2p1:StartDate>2019-09-20T17:18:27.822944+00:00</d2p1:StartDate>
  </AssociationData>
  <Id>1</Id>
  <Name>sample string 2</Name>
</Club>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.