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": "694fee96-7510-4cac-979d-8068e78d90c3",
  "UserId": "c59bd460-70cf-4812-a763-4c8c1eda2a7b",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"694fee96-7510-4cac-979d-8068e78d90c3","UserId":"c59bd460-70cf-4812-a763-4c8c1eda2a7b","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>694fee96-7510-4cac-979d-8068e78d90c3</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>c59bd460-70cf-4812-a763-4c8c1eda2a7b</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": "61cae70e-2df9-4d87-82ef-bec2159e52fb",
  "UserId": "250c2e45-785b-4895-85cd-6681f4094cf4",
  "SettingKey": "sample string 1",
  "SettingValue": "sample string 2"
}

text/html

Sample:
{"ClubId":"61cae70e-2df9-4d87-82ef-bec2159e52fb","UserId":"250c2e45-785b-4895-85cd-6681f4094cf4","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>61cae70e-2df9-4d87-82ef-bec2159e52fb</ClubId>
  <SettingKey>sample string 1</SettingKey>
  <SettingValue>sample string 2</SettingValue>
  <UserId>250c2e45-785b-4895-85cd-6681f4094cf4</UserId>
</SettingDetails>