POST api/Groups
Creates one new group.
Request Information
URI Parameters
None.
Body Parameters
Group| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Desc | string |
None. |
|
| Active | boolean |
None. |
|
| CustomerId | integer |
None. |
|
| Customer | Address |
None. |
|
| ErstellDat | date |
None. |
|
| ErstellUs | string |
None. |
|
| AendDat | date |
None. |
|
| AendUs | string |
None. |
|
| AnzeigeBilder | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 1",
"Desc": "sample string 2",
"Active": true,
"CustomerId": 1,
"Customer": {
"Id": 1,
"Name": "sample string 1",
"City": "sample string 2",
"PostalCode": "sample string 3",
"Street": "sample string 4",
"Email": "sample string 5",
"Phone": "sample string 6",
"Mobil": "sample string 7",
"CountrySymbol": "sample string 8",
"ErstellDat": "2026-04-07T13:23:53.4973522+02:00",
"ErstellUs": "sample string 9",
"AendDat": "2026-04-07T13:23:53.4973522+02:00",
"AendUs": "sample string 10",
"KundenNr": 11
},
"ErstellDat": "2026-04-07T13:23:53.4973522+02:00",
"ErstellUs": "sample string 4",
"AendDat": "2026-04-07T13:23:53.4973522+02:00",
"AendUs": "sample string 5",
"AnzeigeBilder": true
}
application/xml, text/xml
Sample:
<Group xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BestaendeWeb.Models">
<Active>true</Active>
<AendDat>2026-04-07T13:23:53.4973522+02:00</AendDat>
<AendUs>sample string 5</AendUs>
<AnzeigeBilder>true</AnzeigeBilder>
<Customer>
<AendDat>2026-04-07T13:23:53.4973522+02:00</AendDat>
<AendUs>sample string 10</AendUs>
<City>sample string 2</City>
<CountrySymbol>sample string 8</CountrySymbol>
<Email>sample string 5</Email>
<ErstellDat>2026-04-07T13:23:53.4973522+02:00</ErstellDat>
<ErstellUs>sample string 9</ErstellUs>
<Id>1</Id>
<KundenNr>11</KundenNr>
<Mobil>sample string 7</Mobil>
<Name>sample string 1</Name>
<Phone>sample string 6</Phone>
<PostalCode>sample string 3</PostalCode>
<Street>sample string 4</Street>
</Customer>
<CustomerId>1</CustomerId>
<Desc>sample string 2</Desc>
<ErstellDat>2026-04-07T13:23:53.4973522+02:00</ErstellDat>
<ErstellUs>sample string 4</ErstellUs>
<Id>1</Id>
<Name>sample string 1</Name>
</Group>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The new group.
Group| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Desc | string |
None. |
|
| Active | boolean |
None. |
|
| CustomerId | integer |
None. |
|
| Customer | Address |
None. |
|
| ErstellDat | date |
None. |
|
| ErstellUs | string |
None. |
|
| AendDat | date |
None. |
|
| AendUs | string |
None. |
|
| AnzeigeBilder | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 1",
"Desc": "sample string 2",
"Active": true,
"CustomerId": 1,
"Customer": {
"Id": 1,
"Name": "sample string 1",
"City": "sample string 2",
"PostalCode": "sample string 3",
"Street": "sample string 4",
"Email": "sample string 5",
"Phone": "sample string 6",
"Mobil": "sample string 7",
"CountrySymbol": "sample string 8",
"ErstellDat": "2026-04-07T13:23:53.5033543+02:00",
"ErstellUs": "sample string 9",
"AendDat": "2026-04-07T13:23:53.5033543+02:00",
"AendUs": "sample string 10",
"KundenNr": 11
},
"ErstellDat": "2026-04-07T13:23:53.5033543+02:00",
"ErstellUs": "sample string 4",
"AendDat": "2026-04-07T13:23:53.5033543+02:00",
"AendUs": "sample string 5",
"AnzeigeBilder": true
}
application/xml, text/xml
Sample:
<Group xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BestaendeWeb.Models">
<Active>true</Active>
<AendDat>2026-04-07T13:23:53.5033543+02:00</AendDat>
<AendUs>sample string 5</AendUs>
<AnzeigeBilder>true</AnzeigeBilder>
<Customer>
<AendDat>2026-04-07T13:23:53.5033543+02:00</AendDat>
<AendUs>sample string 10</AendUs>
<City>sample string 2</City>
<CountrySymbol>sample string 8</CountrySymbol>
<Email>sample string 5</Email>
<ErstellDat>2026-04-07T13:23:53.5033543+02:00</ErstellDat>
<ErstellUs>sample string 9</ErstellUs>
<Id>1</Id>
<KundenNr>11</KundenNr>
<Mobil>sample string 7</Mobil>
<Name>sample string 1</Name>
<Phone>sample string 6</Phone>
<PostalCode>sample string 3</PostalCode>
<Street>sample string 4</Street>
</Customer>
<CustomerId>1</CustomerId>
<Desc>sample string 2</Desc>
<ErstellDat>2026-04-07T13:23:53.5033543+02:00</ErstellDat>
<ErstellUs>sample string 4</ErstellUs>
<Id>1</Id>
<Name>sample string 1</Name>
</Group>