POST api/v1/settings

Request Information

URI Parameters

None.

Body Parameters

SettingDetails
NameDescriptionTypeAdditional information
ClubId

globally unique identifier

None.

UserId

globally unique identifier

None.

SettingKey

string

Required

String length: inclusive between 0 and 250

SettingValue

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ClubId": "aee9609e-0ec2-44c2-bfa9-fd9a75b46955",
  "UserId": "4c4fc1d7-d71c-4a5a-8880-64cf81e97037",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"aee9609e-0ec2-44c2-bfa9-fd9a75b46955","UserId":"4c4fc1d7-d71c-4a5a-8880-64cf81e97037","SettingKey":"sample string 1","SettingValue":"sample string 2"}

application/xml, text/xml

Sample:
<SettingDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Settings">
  <ClubId>aee9609e-0ec2-44c2-bfa9-fd9a75b46955</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>4c4fc1d7-d71c-4a5a-8880-64cf81e97037</UserId>
</SettingDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SettingDetails
NameDescriptionTypeAdditional information
ClubId

globally unique identifier

None.

UserId

globally unique identifier

None.

SettingKey

string

Required

String length: inclusive between 0 and 250

SettingValue

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ClubId": "62961a7b-9819-4218-9d4a-0f393282a85c",
  "UserId": "fc570203-d886-4517-9bca-790a8d6286c6",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"62961a7b-9819-4218-9d4a-0f393282a85c","UserId":"fc570203-d886-4517-9bca-790a8d6286c6","SettingKey":"sample string 1","SettingValue":"sample string 2"}

application/xml, text/xml

Sample:
<SettingDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Settings">
  <ClubId>62961a7b-9819-4218-9d4a-0f393282a85c</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>fc570203-d886-4517-9bca-790a8d6286c6</UserId>
</SettingDetails>