POST api/verress2ver/validate
Request Information
URI Parameters
None.
Body Parameters
VerRess2VerValidate| Name | Description | Type | Additional information |
|---|---|---|---|
| Reason | integer |
Required |
|
| Rec | VerRess2Ver |
None. |
|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| VeranstaltungId | integer |
Required |
|
| TeilId | integer |
None. |
|
| RessourceId | integer |
Required |
|
| Bemerkung | string |
None. |
|
| Erforderlich | integer |
Required |
|
| Angefordert | integer |
Required |
|
| Bestaetigt | integer |
Required |
|
| Belegung | integer |
Required |
|
| Beginn | date |
None. |
|
| Ende | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Reason": 1,
"Rec": {
"Id": 1,
"RowGuid": "f3d50b09-7708-4dd7-bbbd-15069517b078",
"VeranstaltungId": 3,
"TeilId": 1,
"RessourceId": 4,
"Bemerkung": "sample string 5",
"Erforderlich": 6,
"Angefordert": 7,
"Bestaetigt": 8,
"Belegung": 9,
"Beginn": "2025-10-25T21:00:29.7654018+02:00",
"Ende": "2025-10-25T21:00:29.7654018+02:00"
},
"Id": 2,
"RowGuid": "822928ec-443c-456b-9716-e925e426926f",
"VeranstaltungId": 4,
"TeilId": 1,
"RessourceId": 5,
"Bemerkung": "sample string 6",
"Erforderlich": 7,
"Angefordert": 8,
"Bestaetigt": 9,
"Belegung": 10,
"Beginn": "2025-10-25T21:00:29.7654018+02:00",
"Ende": "2025-10-25T21:00:29.7654018+02:00"
}
application/xml, text/xml
Sample:
<VerRess2VerValidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Ver.Models">
<Angefordert>8</Angefordert>
<Beginn>2025-10-25T21:00:29.7654018+02:00</Beginn>
<Belegung>10</Belegung>
<Bemerkung>sample string 6</Bemerkung>
<Bestaetigt>9</Bestaetigt>
<Ende>2025-10-25T21:00:29.7654018+02:00</Ende>
<Erforderlich>7</Erforderlich>
<Id>2</Id>
<RessourceId>5</RessourceId>
<RowGuid>822928ec-443c-456b-9716-e925e426926f</RowGuid>
<TeilId>1</TeilId>
<VeranstaltungId>4</VeranstaltungId>
<Reason>1</Reason>
<Rec>
<Angefordert>7</Angefordert>
<Beginn>2025-10-25T21:00:29.7654018+02:00</Beginn>
<Belegung>9</Belegung>
<Bemerkung>sample string 5</Bemerkung>
<Bestaetigt>8</Bestaetigt>
<Ende>2025-10-25T21:00:29.7654018+02:00</Ende>
<Erforderlich>6</Erforderlich>
<Id>1</Id>
<RessourceId>4</RessourceId>
<RowGuid>f3d50b09-7708-4dd7-bbbd-15069517b078</RowGuid>
<TeilId>1</TeilId>
<VeranstaltungId>3</VeranstaltungId>
</Rec>
</VerRess2VerValidate>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ValidationResult| Name | Description | Type | Additional 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>