PUT api/Names/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

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.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<Name xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://worldcurling.org/statistics/data/name">
  <Links xmlns:d2p1="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:17:13.2920552+00:00</EndDate>
  <Id>1</Id>
  <StartDate>2019-09-20T17:17:13.2920552+00:00</StartDate>
</Name>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.