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": "4a980666-a070-4b04-be7c-c9183175d884",
  "UserId": "6396f5b3-4392-4d29-8131-133326d71714",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"4a980666-a070-4b04-be7c-c9183175d884","UserId":"6396f5b3-4392-4d29-8131-133326d71714","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>4a980666-a070-4b04-be7c-c9183175d884</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>6396f5b3-4392-4d29-8131-133326d71714</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": "44420881-d653-4c12-8724-02121ed7a906",
  "UserId": "f964514e-1be5-469e-86c2-e1e4a595fecb",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"44420881-d653-4c12-8724-02121ed7a906","UserId":"f964514e-1be5-469e-86c2-e1e4a595fecb","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>44420881-d653-4c12-8724-02121ed7a906</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>f964514e-1be5-469e-86c2-e1e4a595fecb</UserId>
</SettingDetails>