Api Home > Settings > GetSetting

GET api/teams/Settings/GetSetting?settingKey={settingKey}&tenantId={tenantId} Gets the specified setting.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
settingKey

The settings key

string

Required

tenantId

The tenant Id

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

SettingsItem
NameDescriptionTypeAdditional information
Key

string

None.

Value

string

None.

TenantId

integer

None.

Id

integer

None.

ModifiedDate

date

None.

ModifiedBy

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Key": "sample string 1",
  "Value": "sample string 2",
  "TenantId": 3,
  "Id": 4,
  "ModifiedDate": "2024-03-29T09:14:43.990Z",
  "ModifiedBy": "56750986-1a34-4588-b0f9-4c4c7cc62057"
}

application/xml, text/xml

Sample:
<SettingsItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cireson.ServiceManager.Library.InfoObjects">
  <Id>4</Id>
  <ModifiedBy>56750986-1a34-4588-b0f9-4c4c7cc62057</ModifiedBy>
  <ModifiedDate>2024-03-29T09:14:43.9901233+00:00</ModifiedDate>
  <Key>sample string 1</Key>
  <TenantId>3</TenantId>
  <Value>sample string 2</Value>
</SettingsItem>