POST api/itgzahlenjahrgang/validate
Request Information
URI Parameters
None.
Body Parameters
ItgZahlenJahrgangValidate| Name | Description | Type | Additional information |
|---|---|---|---|
| Reason | integer |
Required |
|
| Rec | ItgZahlenJahrgang |
None. |
|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| BestandsmeldungId | integer |
Required |
|
| FachverbandId | integer |
None. |
|
| Jahrgang | integer |
Required |
|
| AnzahlM | integer |
Required |
|
| AnzahlW | integer |
Required |
|
| AnzahlD | integer |
Required |
|
| AnzahlO | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"Reason": 1,
"Rec": {
"Id": 1,
"RowGuid": "13cd9533-61e5-413e-b422-aae9d32c2e7d",
"BestandsmeldungId": 3,
"FachverbandId": 1,
"Jahrgang": 4,
"AnzahlM": 5,
"AnzahlW": 6,
"AnzahlD": 7,
"AnzahlO": 8
},
"Id": 2,
"RowGuid": "c1d2e330-b43c-44b5-8643-cb9db910319d",
"BestandsmeldungId": 4,
"FachverbandId": 1,
"Jahrgang": 5,
"AnzahlM": 6,
"AnzahlW": 7,
"AnzahlD": 8,
"AnzahlO": 9
}
application/xml, text/xml
Sample:
<ItgZahlenJahrgangValidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Itg.Models">
<AnzahlD>8</AnzahlD>
<AnzahlM>6</AnzahlM>
<AnzahlO>9</AnzahlO>
<AnzahlW>7</AnzahlW>
<BestandsmeldungId>4</BestandsmeldungId>
<FachverbandId>1</FachverbandId>
<Id>2</Id>
<Jahrgang>5</Jahrgang>
<RowGuid>c1d2e330-b43c-44b5-8643-cb9db910319d</RowGuid>
<Reason>1</Reason>
<Rec>
<AnzahlD>7</AnzahlD>
<AnzahlM>5</AnzahlM>
<AnzahlO>8</AnzahlO>
<AnzahlW>6</AnzahlW>
<BestandsmeldungId>3</BestandsmeldungId>
<FachverbandId>1</FachverbandId>
<Id>1</Id>
<Jahrgang>4</Jahrgang>
<RowGuid>13cd9533-61e5-413e-b422-aae9d32c2e7d</RowGuid>
</Rec>
</ItgZahlenJahrgangValidate>
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>