POST api/Settings

This method facilitates the creation of a setting.

Request Information

URI Parameters

None.

Body Parameters

The view setting to be created.

Setting
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

integer

None.

GroupId

integer

None.

Viewname

string

None.

JSON

string

None.

ErstellDat

date

None.

ErstellUs

string

None.

AendDat

date

None.

AendUs

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserId": 1,
  "GroupId": 1,
  "Viewname": "sample string 2",
  "JSON": "sample string 3",
  "ErstellDat": "2026-04-07T13:23:15.7534722+02:00",
  "ErstellUs": "sample string 4",
  "AendDat": "2026-04-07T13:23:15.7534722+02:00",
  "AendUs": "sample string 5"
}

application/xml, text/xml

Sample:
<Setting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BestaendeWeb.Models">
  <AendDat>2026-04-07T13:23:15.7534722+02:00</AendDat>
  <AendUs>sample string 5</AendUs>
  <ErstellDat>2026-04-07T13:23:15.7534722+02:00</ErstellDat>
  <ErstellUs>sample string 4</ErstellUs>
  <GroupId>1</GroupId>
  <Id>1</Id>
  <JSON>sample string 3</JSON>
  <UserId>1</UserId>
  <Viewname>sample string 2</Viewname>
</Setting>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The new created setting as a return value.

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

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