POST api/Configs

Post method for a config create.

Request Information

URI Parameters

None.

Body Parameters

The config object with the data for the create operation.

Config
NameDescriptionTypeAdditional information
Id

integer

None.

Setting

string

None.

Value

string

None.

Category

string

None.

ErstellDat

date

None.

ErstellUs

string

None.

AendDat

date

None.

AendUs

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Setting": "sample string 2",
  "Value": "sample string 3",
  "Category": "sample string 4",
  "ErstellDat": "2026-04-07T13:31:39.8311486+02:00",
  "ErstellUs": "sample string 5",
  "AendDat": "2026-04-07T13:31:39.8311486+02:00",
  "AendUs": "sample string 6"
}

application/xml, text/xml

Sample:
<Config xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BestaendeWeb.Models">
  <AendDat>2026-04-07T13:31:39.8311486+02:00</AendDat>
  <AendUs>sample string 6</AendUs>
  <Category>sample string 4</Category>
  <ErstellDat>2026-04-07T13:31:39.8311486+02:00</ErstellDat>
  <ErstellUs>sample string 5</ErstellUs>
  <Id>1</Id>
  <Setting>sample string 2</Setting>
  <Value>sample string 3</Value>
</Config>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The success of the operation as a bool.

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>