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": "c72086dd-7961-4abc-9d96-6b32a97673e1",
  "UserId": "a410f994-4918-4465-a2ac-204bd6b978e1",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"c72086dd-7961-4abc-9d96-6b32a97673e1","UserId":"a410f994-4918-4465-a2ac-204bd6b978e1","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>c72086dd-7961-4abc-9d96-6b32a97673e1</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>a410f994-4918-4465-a2ac-204bd6b978e1</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": "52acbf64-bed0-46ee-b16c-4e2f2023f9f1",
  "UserId": "bbca5e87-8432-4c34-a320-1ca53cd4c01c",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"52acbf64-bed0-46ee-b16c-4e2f2023f9f1","UserId":"bbca5e87-8432-4c34-a320-1ca53cd4c01c","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>52acbf64-bed0-46ee-b16c-4e2f2023f9f1</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>bbca5e87-8432-4c34-a320-1ca53cd4c01c</UserId>
</SettingDetails>