GET api/settings/{id}

Retrieves a setting.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the setting to retrieve.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SettingDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

Required

Value

string

Required

CreationDate

date

None.

DataType

SettingDataTypeDto

None.

TenantId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "b86871e1-199c-4348-a589-d65d9a73c250",
    "Name": "sample string 2",
    "Value": "sample string 3",
    "CreationDate": "2025-12-06T03:11:53.8226876+00:00",
    "DataType": 0,
    "TenantId": "e0f678e3-fc01-4f52-ab27-b9ddad72dd35"
  },
  {
    "Id": "b86871e1-199c-4348-a589-d65d9a73c250",
    "Name": "sample string 2",
    "Value": "sample string 3",
    "CreationDate": "2025-12-06T03:11:53.8226876+00:00",
    "DataType": 0,
    "TenantId": "e0f678e3-fc01-4f52-ab27-b9ddad72dd35"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSettingDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Settings.Models">
  <SettingDto>
    <CreationDate>2025-12-06T03:11:53.8226876+00:00</CreationDate>
    <DataType>Bool</DataType>
    <Id>b86871e1-199c-4348-a589-d65d9a73c250</Id>
    <Name>sample string 2</Name>
    <TenantId>e0f678e3-fc01-4f52-ab27-b9ddad72dd35</TenantId>
    <Value>sample string 3</Value>
  </SettingDto>
  <SettingDto>
    <CreationDate>2025-12-06T03:11:53.8226876+00:00</CreationDate>
    <DataType>Bool</DataType>
    <Id>b86871e1-199c-4348-a589-d65d9a73c250</Id>
    <Name>sample string 2</Name>
    <TenantId>e0f678e3-fc01-4f52-ab27-b9ddad72dd35</TenantId>
    <Value>sample string 3</Value>
  </SettingDto>
</ArrayOfSettingDto>