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": "e5397c8d-a36b-4085-8db0-28db629a5b29",
  "UserId": "acfd2436-3444-47e0-bd7f-252bdfa74866",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"e5397c8d-a36b-4085-8db0-28db629a5b29","UserId":"acfd2436-3444-47e0-bd7f-252bdfa74866","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>e5397c8d-a36b-4085-8db0-28db629a5b29</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>acfd2436-3444-47e0-bd7f-252bdfa74866</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": "03b0e71e-6417-468c-a821-c461c5c3109b",
  "UserId": "79206f27-d93e-4a71-af77-43ca3ecd873e",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"03b0e71e-6417-468c-a821-c461c5c3109b","UserId":"79206f27-d93e-4a71-af77-43ca3ecd873e","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>03b0e71e-6417-468c-a821-c461c5c3109b</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>79206f27-d93e-4a71-af77-43ca3ecd873e</UserId>
</SettingDetails>