POST api/ververanstaltung2gebuehr/validate
Request Information
URI Parameters
None.
Body Parameters
VerVeranstaltung2GebuehrValidate| Name | Description | Type | Additional information |
|---|---|---|---|
| Reason | integer |
Required |
|
| Rec | VerVeranstaltung2Gebuehr |
None. |
|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| VeranstaltungId | integer |
Required |
|
| GebuehrId | integer |
Required |
|
| Standard | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{
"Reason": 1,
"Rec": {
"Id": 1,
"RowGuid": "04de824b-7bc7-4144-ac98-3829ea461e5f",
"VeranstaltungId": 3,
"GebuehrId": 4,
"Standard": true
},
"Id": 2,
"RowGuid": "58e742a9-0fa9-42c5-8b40-72014f31aaf9",
"VeranstaltungId": 4,
"GebuehrId": 5,
"Standard": true
}
application/xml, text/xml
Sample:
<VerVeranstaltung2GebuehrValidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Ver.Models">
<GebuehrId>5</GebuehrId>
<Id>2</Id>
<RowGuid>58e742a9-0fa9-42c5-8b40-72014f31aaf9</RowGuid>
<Standard>true</Standard>
<VeranstaltungId>4</VeranstaltungId>
<Reason>1</Reason>
<Rec>
<GebuehrId>4</GebuehrId>
<Id>1</Id>
<RowGuid>04de824b-7bc7-4144-ac98-3829ea461e5f</RowGuid>
<Standard>true</Standard>
<VeranstaltungId>3</VeranstaltungId>
</Rec>
</VerVeranstaltung2GebuehrValidate>
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>