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": "42a70370-b39d-4c33-a213-5e878c173be0",
  "UserId": "97597c65-6385-463c-b2ac-7b6d8381f037",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"42a70370-b39d-4c33-a213-5e878c173be0","UserId":"97597c65-6385-463c-b2ac-7b6d8381f037","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>42a70370-b39d-4c33-a213-5e878c173be0</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>97597c65-6385-463c-b2ac-7b6d8381f037</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": "579fcf59-15e1-44ae-9fe6-544b43c3f6ce",
  "UserId": "42497a36-5506-4326-a2df-a2c22b2da109",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"579fcf59-15e1-44ae-9fe6-544b43c3f6ce","UserId":"42497a36-5506-4326-a2df-a2c22b2da109","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>579fcf59-15e1-44ae-9fe6-544b43c3f6ce</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>42497a36-5506-4326-a2df-a2c22b2da109</UserId>
</SettingDetails>