POST api/CommetModels

Request Information

URI Parameters

None.

Body Parameters

CommetModel
NameDescriptionTypeAdditional information
ID

integer

None.

Note

string

None.

Created

date

None.

UserId

integer

None.

ReferenceId

integer

None.

ReferenceType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Note": "sample string 2",
  "Created": "2025-04-28T15:11:21.6485673+02:00",
  "UserId": 4,
  "ReferenceId": 5,
  "ReferenceType": 6
}

application/xml, text/xml

Sample:
<CommetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GRUBER.Tennis.App.Server.Models">
  <Created>2025-04-28T15:11:21.6485673+02:00</Created>
  <ID>1</ID>
  <Note>sample string 2</Note>
  <ReferenceId>5</ReferenceId>
  <ReferenceType>6</ReferenceType>
  <UserId>4</UserId>
</CommetModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CommetModel
NameDescriptionTypeAdditional information
ID

integer

None.

Note

string

None.

Created

date

None.

UserId

integer

None.

ReferenceId

integer

None.

ReferenceType

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Note": "sample string 2",
  "Created": "2025-04-28T15:11:21.6641854+02:00",
  "UserId": 4,
  "ReferenceId": 5,
  "ReferenceType": 6
}

application/xml, text/xml

Sample:
<CommetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GRUBER.Tennis.App.Server.Models">
  <Created>2025-04-28T15:11:21.6641854+02:00</Created>
  <ID>1</ID>
  <Note>sample string 2</Note>
  <ReferenceId>5</ReferenceId>
  <ReferenceType>6</ReferenceType>
  <UserId>4</UserId>
</CommetModel>