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": "b7808034-b730-456e-99d6-5c54e7ec4b00",
  "UserId": "7dfbc47d-deaa-45c7-95b9-1eedc51b432f",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"b7808034-b730-456e-99d6-5c54e7ec4b00","UserId":"7dfbc47d-deaa-45c7-95b9-1eedc51b432f","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>b7808034-b730-456e-99d6-5c54e7ec4b00</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>7dfbc47d-deaa-45c7-95b9-1eedc51b432f</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": "73be01f8-2659-4cfe-be44-ef1092a350e1",
  "UserId": "121ea16f-357d-464b-be80-c39c32b5ba24",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"73be01f8-2659-4cfe-be44-ef1092a350e1","UserId":"121ea16f-357d-464b-be80-c39c32b5ba24","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>73be01f8-2659-4cfe-be44-ef1092a350e1</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>121ea16f-357d-464b-be80-c39c32b5ba24</UserId>
</SettingDetails>