POST api/Activity

Request Information

URI Parameters

None.

Body Parameters

ActivityAanmeldenModel
NameDescriptionTypeAdditional information
Name

string

Required

EmailAddress

string

Required

Data type: EmailAddress

Titel

string

Required

Locatie

string

Required

EvenementOmschrijving

string

Required

Data type: MultilineText

Datum

date

Required

Data type: Date

StartTijd

time interval

Required

Data type: DateTime

EindtijdTijd

time interval

Required

Data type: DateTime

ActivityId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "EmailAddress": "sample string 2",
  "Titel": "sample string 3",
  "Locatie": "sample string 4",
  "EvenementOmschrijving": "sample string 5",
  "Datum": "2024-11-21T02:21:18.1344886+01:00",
  "StartTijd": "00:00:00.1234567",
  "EindtijdTijd": "00:00:00.1234567",
  "ActivityId": 9
}

application/xml, text/xml

Sample:
<ActivityAanmeldenModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Models">
  <ActivityId>9</ActivityId>
  <Datum>2024-11-21T02:21:18.1344886+01:00</Datum>
  <EindtijdTijd>PT0.1234567S</EindtijdTijd>
  <EmailAddress>sample string 2</EmailAddress>
  <EvenementOmschrijving>sample string 5</EvenementOmschrijving>
  <Locatie>sample string 4</Locatie>
  <Name>sample string 1</Name>
  <StartTijd>PT0.1234567S</StartTijd>
  <Titel>sample string 3</Titel>
</ActivityAanmeldenModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.