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": "ef83648d-caa5-456e-b4c9-684f0d2ee5be",
  "UserId": "7afe401b-3c8a-4a84-bf6c-6833f7f61b31",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"ef83648d-caa5-456e-b4c9-684f0d2ee5be","UserId":"7afe401b-3c8a-4a84-bf6c-6833f7f61b31","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>ef83648d-caa5-456e-b4c9-684f0d2ee5be</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>7afe401b-3c8a-4a84-bf6c-6833f7f61b31</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": "963a3d3b-0e9b-4704-9e5d-132c5a499816",
  "UserId": "8f59139a-c5e4-4a34-9e93-49b12972b7b1",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"963a3d3b-0e9b-4704-9e5d-132c5a499816","UserId":"8f59139a-c5e4-4a34-9e93-49b12972b7b1","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>963a3d3b-0e9b-4704-9e5d-132c5a499816</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>8f59139a-c5e4-4a34-9e93-49b12972b7b1</UserId>
</SettingDetails>