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": "2ad03f85-2b04-4553-aad3-6041c7b07566",
  "UserId": "873c1ab8-9e7f-463d-ba88-8002f885c989",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"2ad03f85-2b04-4553-aad3-6041c7b07566","UserId":"873c1ab8-9e7f-463d-ba88-8002f885c989","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>2ad03f85-2b04-4553-aad3-6041c7b07566</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>873c1ab8-9e7f-463d-ba88-8002f885c989</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": "6e0fb4f9-bcbc-4459-9c24-a3f491f8c54c",
  "UserId": "59ac8ae3-6f1e-4715-83f4-64f21b209447",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"6e0fb4f9-bcbc-4459-9c24-a3f491f8c54c","UserId":"59ac8ae3-6f1e-4715-83f4-64f21b209447","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>6e0fb4f9-bcbc-4459-9c24-a3f491f8c54c</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>59ac8ae3-6f1e-4715-83f4-64f21b209447</UserId>
</SettingDetails>