POST api/tenants/{tenantId}/settings

Gets the list of different possible booking subtypes.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tenantId

integer

Required

Body Parameters

Collection of TenantSetting
NameDescriptionTypeAdditional information
Setting

The setting's identifier

string

None.

Value

The value of the setting

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "setting": "sample string 1",
    "value": "sample string 2"
  },
  {
    "setting": "sample string 1",
    "value": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTenantSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources">
  <TenantSetting>
    <Setting>sample string 1</Setting>
    <Value>sample string 2</Value>
  </TenantSetting>
  <TenantSetting>
    <Setting>sample string 1</Setting>
    <Value>sample string 2</Value>
  </TenantSetting>
</ArrayOfTenantSetting>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Returns the list of booking subtypes (code and name)

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.