POST api/Events

Request Information

URI Parameters

None.

Body Parameters

EventDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Type

string

None.

Title

string

None.

Text

string

None.

IsDraft

boolean

None.

IsSent

boolean

None.

IsClosed

boolean

None.

ScheduleDaysBefore

integer

None.

IsScheduled

boolean

None.

ToSms

boolean

None.

ToEmail

boolean

None.

ToAktuellt

boolean

None.

CreatedById

globally unique identifier

None.

CreatedByName

string

None.

CreatedDate

date

None.

UpdatedDate

date

None.

CanLeaveComment

boolean

None.

SentWhen

date

None.

Visibility

integer

None.

UpdatedByName

string

None.

IsPrivate

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "d0455466-28f8-45d5-afd5-c279dad6a533",
  "type": "sample string 1",
  "title": "sample string 2",
  "text": "sample string 3",
  "isDraft": true,
  "isSent": true,
  "isClosed": true,
  "scheduleDaysBefore": 1,
  "isScheduled": true,
  "toSms": true,
  "toEmail": true,
  "toAktuellt": true,
  "createdById": "be5affb0-8163-423d-9523-986bdd55b545",
  "createdByName": "sample string 4",
  "createdDate": "2025-12-20T12:18:45.03786+01:00",
  "updatedDate": "2025-12-20T12:18:45.03786+01:00",
  "canLeaveComment": true,
  "sentWhen": "2025-12-20T12:18:45.03786+01:00",
  "visibility": 5,
  "updatedByName": "sample string 6",
  "isPrivate": true
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.