POST api/ververanstaltung/validate

Request Information

URI Parameters

None.

Body Parameters

VerVeranstaltungValidate
NameDescriptionTypeAdditional information
Reason

integer

Required

Rec

VerVeranstaltung

None.

Id

integer

Required

RowGuid

globally unique identifier

Required

StatusId

integer

Required

VeranstalterId

integer

Required

OrganisatorId

integer

Required

InhaltId

integer

Required

ZielId

integer

Required

AbschlussartId

integer

None.

OrtOrganisationId

integer

Required

OrtAdresseId

integer

Required

Titel

string

None.

Nummer

string

None.

Raum

string

None.

Beginn

date

Required

Ende

date

Required

AnzahlTage

decimal number

Required

AnzahlLE

integer

Required

Zuschuss

boolean

Required

Ersterwerb

boolean

Required

LeitungId

integer

None.

Meldeschluss

date

Required

AnzahlMin

integer

Required

AnzahlMax

integer

Required

Mindestalter

integer

Required

Veroeffentl

boolean

Required

Onlineanmeld

boolean

Required

Meldebeginn

date

Required

AnzahlMinM

integer

None.

AnzahlMinW

integer

None.

AnzahlMaxM

integer

None.

AnzahlMaxW

integer

None.

Maximalalter

integer

None.

VeroeffBeginn

date

None.

VeroeffEnde

date

None.

AbmeldungBis

date

None.

Vereinspflicht

boolean

Required

Anzahlung

boolean

Required

BestaetigungPerPost

boolean

Required

Dokumente

integer

Required

Zahlungsart

integer

Required

CopyFromVeranstaltungId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Reason": 1,
  "Rec": {
    "Id": 1,
    "RowGuid": "cddd5320-7b1d-4921-a993-93dd6f6c7c8c",
    "StatusId": 3,
    "VeranstalterId": 4,
    "OrganisatorId": 5,
    "InhaltId": 6,
    "ZielId": 7,
    "AbschlussartId": 1,
    "OrtOrganisationId": 8,
    "OrtAdresseId": 9,
    "Titel": "sample string 10",
    "Nummer": "sample string 11",
    "Raum": "sample string 12",
    "Beginn": "2025-10-25T20:52:41.9898722+02:00",
    "Ende": "2025-10-25T20:52:41.9898722+02:00",
    "AnzahlTage": 15.0,
    "AnzahlLE": 16,
    "Zuschuss": true,
    "Ersterwerb": true,
    "LeitungId": 1,
    "Meldeschluss": "2025-10-25T20:52:41.9898722+02:00",
    "AnzahlMin": 20,
    "AnzahlMax": 21,
    "Mindestalter": 22,
    "Veroeffentl": true,
    "Onlineanmeld": true,
    "Meldebeginn": "2025-10-25T20:52:41.9898722+02:00",
    "AnzahlMinM": 1,
    "AnzahlMinW": 1,
    "AnzahlMaxM": 1,
    "AnzahlMaxW": 1,
    "Maximalalter": 1,
    "VeroeffBeginn": "2025-10-25T20:52:41.9898722+02:00",
    "VeroeffEnde": "2025-10-25T20:52:41.9898722+02:00",
    "AbmeldungBis": "2025-10-25T20:52:41.9898722+02:00",
    "Vereinspflicht": true,
    "Anzahlung": true,
    "BestaetigungPerPost": true,
    "Dokumente": 29,
    "Zahlungsart": 30,
    "CopyFromVeranstaltungId": 1
  },
  "Id": 2,
  "RowGuid": "a7249587-571d-4e18-a56e-bba3bfdc92eb",
  "StatusId": 4,
  "VeranstalterId": 5,
  "OrganisatorId": 6,
  "InhaltId": 7,
  "ZielId": 8,
  "AbschlussartId": 1,
  "OrtOrganisationId": 9,
  "OrtAdresseId": 10,
  "Titel": "sample string 11",
  "Nummer": "sample string 12",
  "Raum": "sample string 13",
  "Beginn": "2025-10-25T20:52:41.9908718+02:00",
  "Ende": "2025-10-25T20:52:41.9908718+02:00",
  "AnzahlTage": 16.0,
  "AnzahlLE": 17,
  "Zuschuss": true,
  "Ersterwerb": true,
  "LeitungId": 1,
  "Meldeschluss": "2025-10-25T20:52:41.9908718+02:00",
  "AnzahlMin": 21,
  "AnzahlMax": 22,
  "Mindestalter": 23,
  "Veroeffentl": true,
  "Onlineanmeld": true,
  "Meldebeginn": "2025-10-25T20:52:41.9908718+02:00",
  "AnzahlMinM": 1,
  "AnzahlMinW": 1,
  "AnzahlMaxM": 1,
  "AnzahlMaxW": 1,
  "Maximalalter": 1,
  "VeroeffBeginn": "2025-10-25T20:52:41.9908718+02:00",
  "VeroeffEnde": "2025-10-25T20:52:41.9908718+02:00",
  "AbmeldungBis": "2025-10-25T20:52:41.9908718+02:00",
  "Vereinspflicht": true,
  "Anzahlung": true,
  "BestaetigungPerPost": true,
  "Dokumente": 30,
  "Zahlungsart": 31,
  "CopyFromVeranstaltungId": 1
}

application/xml, text/xml

Sample:
<VerVeranstaltungValidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Ver.Models">
  <AbmeldungBis>2025-10-25T20:52:41.9908718+02:00</AbmeldungBis>
  <AbschlussartId>1</AbschlussartId>
  <AnzahlLE>17</AnzahlLE>
  <AnzahlMax>22</AnzahlMax>
  <AnzahlMaxM>1</AnzahlMaxM>
  <AnzahlMaxW>1</AnzahlMaxW>
  <AnzahlMin>21</AnzahlMin>
  <AnzahlMinM>1</AnzahlMinM>
  <AnzahlMinW>1</AnzahlMinW>
  <AnzahlTage>16</AnzahlTage>
  <Anzahlung>true</Anzahlung>
  <Beginn>2025-10-25T20:52:41.9908718+02:00</Beginn>
  <BestaetigungPerPost>true</BestaetigungPerPost>
  <CopyFromVeranstaltungId>1</CopyFromVeranstaltungId>
  <Dokumente>30</Dokumente>
  <Ende>2025-10-25T20:52:41.9908718+02:00</Ende>
  <Ersterwerb>true</Ersterwerb>
  <Id>2</Id>
  <InhaltId>7</InhaltId>
  <LeitungId>1</LeitungId>
  <Maximalalter>1</Maximalalter>
  <Meldebeginn>2025-10-25T20:52:41.9908718+02:00</Meldebeginn>
  <Meldeschluss>2025-10-25T20:52:41.9908718+02:00</Meldeschluss>
  <Mindestalter>23</Mindestalter>
  <Nummer>sample string 12</Nummer>
  <Onlineanmeld>true</Onlineanmeld>
  <OrganisatorId>6</OrganisatorId>
  <OrtAdresseId>10</OrtAdresseId>
  <OrtOrganisationId>9</OrtOrganisationId>
  <Raum>sample string 13</Raum>
  <RowGuid>a7249587-571d-4e18-a56e-bba3bfdc92eb</RowGuid>
  <StatusId>4</StatusId>
  <Titel>sample string 11</Titel>
  <VeranstalterId>5</VeranstalterId>
  <Vereinspflicht>true</Vereinspflicht>
  <VeroeffBeginn>2025-10-25T20:52:41.9908718+02:00</VeroeffBeginn>
  <VeroeffEnde>2025-10-25T20:52:41.9908718+02:00</VeroeffEnde>
  <Veroeffentl>true</Veroeffentl>
  <Zahlungsart>31</Zahlungsart>
  <ZielId>8</ZielId>
  <Zuschuss>true</Zuschuss>
  <Reason>1</Reason>
  <Rec>
    <AbmeldungBis>2025-10-25T20:52:41.9898722+02:00</AbmeldungBis>
    <AbschlussartId>1</AbschlussartId>
    <AnzahlLE>16</AnzahlLE>
    <AnzahlMax>21</AnzahlMax>
    <AnzahlMaxM>1</AnzahlMaxM>
    <AnzahlMaxW>1</AnzahlMaxW>
    <AnzahlMin>20</AnzahlMin>
    <AnzahlMinM>1</AnzahlMinM>
    <AnzahlMinW>1</AnzahlMinW>
    <AnzahlTage>15</AnzahlTage>
    <Anzahlung>true</Anzahlung>
    <Beginn>2025-10-25T20:52:41.9898722+02:00</Beginn>
    <BestaetigungPerPost>true</BestaetigungPerPost>
    <CopyFromVeranstaltungId>1</CopyFromVeranstaltungId>
    <Dokumente>29</Dokumente>
    <Ende>2025-10-25T20:52:41.9898722+02:00</Ende>
    <Ersterwerb>true</Ersterwerb>
    <Id>1</Id>
    <InhaltId>6</InhaltId>
    <LeitungId>1</LeitungId>
    <Maximalalter>1</Maximalalter>
    <Meldebeginn>2025-10-25T20:52:41.9898722+02:00</Meldebeginn>
    <Meldeschluss>2025-10-25T20:52:41.9898722+02:00</Meldeschluss>
    <Mindestalter>22</Mindestalter>
    <Nummer>sample string 11</Nummer>
    <Onlineanmeld>true</Onlineanmeld>
    <OrganisatorId>5</OrganisatorId>
    <OrtAdresseId>9</OrtAdresseId>
    <OrtOrganisationId>8</OrtOrganisationId>
    <Raum>sample string 12</Raum>
    <RowGuid>cddd5320-7b1d-4921-a993-93dd6f6c7c8c</RowGuid>
    <StatusId>3</StatusId>
    <Titel>sample string 10</Titel>
    <VeranstalterId>4</VeranstalterId>
    <Vereinspflicht>true</Vereinspflicht>
    <VeroeffBeginn>2025-10-25T20:52:41.9898722+02:00</VeroeffBeginn>
    <VeroeffEnde>2025-10-25T20:52:41.9898722+02:00</VeroeffEnde>
    <Veroeffentl>true</Veroeffentl>
    <Zahlungsart>30</Zahlungsart>
    <ZielId>7</ZielId>
    <Zuschuss>true</Zuschuss>
  </Rec>
</VerVeranstaltungValidate>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VerVeranstaltungValidate'.

Response Information

Resource Description

ValidationResult
NameDescriptionTypeAdditional information
ErrorMsg

string

None.

HintMsg

string

None.

ErrorFieldNames

Collection of string

None.

FieldName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorMsg": "sample string 1",
  "HintMsg": "sample string 2",
  "ErrorFieldNames": [
    "sample string 1",
    "sample string 2"
  ],
  "FieldName": "sample string 3"
}

application/xml, text/xml

Sample:
<ValidationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <ErrorFieldNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ErrorFieldNames>
  <ErrorMsg>sample string 1</ErrorMsg>
  <FieldName>sample string 3</FieldName>
  <HintMsg>sample string 2</HintMsg>
</ValidationResult>