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": "f82c9b5e-ed47-45a8-9898-e05b4dcfb96d",
  "UserId": "a75d8619-6ede-4e1a-8282-cfc7847a36e7",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"f82c9b5e-ed47-45a8-9898-e05b4dcfb96d","UserId":"a75d8619-6ede-4e1a-8282-cfc7847a36e7","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>f82c9b5e-ed47-45a8-9898-e05b4dcfb96d</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>a75d8619-6ede-4e1a-8282-cfc7847a36e7</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": "f3ee0a4b-7944-40fc-a9e0-54cdb421d513",
  "UserId": "e2e79fc8-7421-4867-a534-49ab7900a799",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"f3ee0a4b-7944-40fc-a9e0-54cdb421d513","UserId":"e2e79fc8-7421-4867-a534-49ab7900a799","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>f3ee0a4b-7944-40fc-a9e0-54cdb421d513</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>e2e79fc8-7421-4867-a534-49ab7900a799</UserId>
</SettingDetails>