POST api/verteilnehmerteil/validate

Request Information

URI Parameters

None.

Body Parameters

VerTeilnehmerTeilValidate
NameDescriptionTypeAdditional information
Reason

integer

Required

Rec

VerTeilnehmerTeil

None.

Id

integer

Required

RowGuid

globally unique identifier

Required

TeilnehmerId

integer

Required

TeilId

integer

Required

Anzahl

integer

Required

Anmeldung

date

Required

Gebucht

date

None.

Bestaetigt

date

None.

Storno

date

None.

Teilnahme

boolean

Required

Alternative

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "Reason": 1,
  "Rec": {
    "Id": 1,
    "RowGuid": "048274df-4c82-4b24-9e54-8078929762b2",
    "TeilnehmerId": 3,
    "TeilId": 4,
    "Anzahl": 5,
    "Anmeldung": "2025-10-25T23:37:45.7728497+02:00",
    "Gebucht": "2025-10-25T23:37:45.7728497+02:00",
    "Bestaetigt": "2025-10-25T23:37:45.7728497+02:00",
    "Storno": "2025-10-25T23:37:45.7728497+02:00",
    "Teilnahme": true,
    "Alternative": true
  },
  "Id": 2,
  "RowGuid": "bb9346f6-ffbc-436d-b3f2-7e0c4ccc1ee8",
  "TeilnehmerId": 4,
  "TeilId": 5,
  "Anzahl": 6,
  "Anmeldung": "2025-10-25T23:37:45.7738481+02:00",
  "Gebucht": "2025-10-25T23:37:45.7738481+02:00",
  "Bestaetigt": "2025-10-25T23:37:45.7738481+02:00",
  "Storno": "2025-10-25T23:37:45.7738481+02:00",
  "Teilnahme": true,
  "Alternative": true
}

application/xml, text/xml

Sample:
<VerTeilnehmerTeilValidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Ver.Models">
  <Alternative>true</Alternative>
  <Anmeldung>2025-10-25T23:37:45.7738481+02:00</Anmeldung>
  <Anzahl>6</Anzahl>
  <Bestaetigt>2025-10-25T23:37:45.7738481+02:00</Bestaetigt>
  <Gebucht>2025-10-25T23:37:45.7738481+02:00</Gebucht>
  <Id>2</Id>
  <RowGuid>bb9346f6-ffbc-436d-b3f2-7e0c4ccc1ee8</RowGuid>
  <Storno>2025-10-25T23:37:45.7738481+02:00</Storno>
  <TeilId>5</TeilId>
  <Teilnahme>true</Teilnahme>
  <TeilnehmerId>4</TeilnehmerId>
  <Reason>1</Reason>
  <Rec>
    <Alternative>true</Alternative>
    <Anmeldung>2025-10-25T23:37:45.7728497+02:00</Anmeldung>
    <Anzahl>5</Anzahl>
    <Bestaetigt>2025-10-25T23:37:45.7728497+02:00</Bestaetigt>
    <Gebucht>2025-10-25T23:37:45.7728497+02:00</Gebucht>
    <Id>1</Id>
    <RowGuid>048274df-4c82-4b24-9e54-8078929762b2</RowGuid>
    <Storno>2025-10-25T23:37:45.7728497+02:00</Storno>
    <TeilId>4</TeilId>
    <Teilnahme>true</Teilnahme>
    <TeilnehmerId>3</TeilnehmerId>
  </Rec>
</VerTeilnehmerTeilValidate>

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 'VerTeilnehmerTeilValidate'.

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>