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": "1f7d8e0b-fcd9-430c-af7a-c34d28ada069",
  "UserId": "3525aebe-a500-4f3c-b2b2-ca22f04f9aef",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"1f7d8e0b-fcd9-430c-af7a-c34d28ada069","UserId":"3525aebe-a500-4f3c-b2b2-ca22f04f9aef","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>1f7d8e0b-fcd9-430c-af7a-c34d28ada069</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>3525aebe-a500-4f3c-b2b2-ca22f04f9aef</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": "fd3617ec-bff8-41f4-b1a6-73ab65dc5b64",
  "UserId": "1601603f-b27c-46ab-b5a5-cbac9fdcd757",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"fd3617ec-bff8-41f4-b1a6-73ab65dc5b64","UserId":"1601603f-b27c-46ab-b5a5-cbac9fdcd757","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>fd3617ec-bff8-41f4-b1a6-73ab65dc5b64</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>1601603f-b27c-46ab-b5a5-cbac9fdcd757</UserId>
</SettingDetails>