POST api/bstzahlenjahrgang/validate
Request Information
URI Parameters
None.
Body Parameters
BstZahlenJahrgangValidate| Name | Description | Type | Additional information |
|---|---|---|---|
| Reason | integer |
Required |
|
| Rec | BstZahlenJahrgang |
None. |
|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| OrganisationId | integer |
Required |
|
| FachverbandId | integer |
None. |
|
| ErhebungId | integer |
Required |
|
| Jahrgang | integer |
Required |
|
| AnzahlM | integer |
Required |
|
| AnzahlW | integer |
Required |
|
| AnzahlD | integer |
Required |
|
| AnzahlO | integer |
Required |
|
| Eingefroren | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{
"Reason": 1,
"Rec": {
"Id": 1,
"RowGuid": "f8604e8f-cc8e-440c-ab69-0b16f2ba9030",
"OrganisationId": 3,
"FachverbandId": 1,
"ErhebungId": 4,
"Jahrgang": 5,
"AnzahlM": 6,
"AnzahlW": 7,
"AnzahlD": 8,
"AnzahlO": 9,
"Eingefroren": true
},
"Id": 2,
"RowGuid": "11f16f6d-8cda-403c-92da-dd16d71c4bfc",
"OrganisationId": 4,
"FachverbandId": 1,
"ErhebungId": 5,
"Jahrgang": 6,
"AnzahlM": 7,
"AnzahlW": 8,
"AnzahlD": 9,
"AnzahlO": 10,
"Eingefroren": true
}
application/xml, text/xml
Sample:
<BstZahlenJahrgangValidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Bst.Models">
<AnzahlD>9</AnzahlD>
<AnzahlM>7</AnzahlM>
<AnzahlO>10</AnzahlO>
<AnzahlW>8</AnzahlW>
<Eingefroren>true</Eingefroren>
<ErhebungId>5</ErhebungId>
<FachverbandId>1</FachverbandId>
<Id>2</Id>
<Jahrgang>6</Jahrgang>
<OrganisationId>4</OrganisationId>
<RowGuid>11f16f6d-8cda-403c-92da-dd16d71c4bfc</RowGuid>
<Reason>1</Reason>
<Rec>
<AnzahlD>8</AnzahlD>
<AnzahlM>6</AnzahlM>
<AnzahlO>9</AnzahlO>
<AnzahlW>7</AnzahlW>
<Eingefroren>true</Eingefroren>
<ErhebungId>4</ErhebungId>
<FachverbandId>1</FachverbandId>
<Id>1</Id>
<Jahrgang>5</Jahrgang>
<OrganisationId>3</OrganisationId>
<RowGuid>f8604e8f-cc8e-440c-ab69-0b16f2ba9030</RowGuid>
</Rec>
</BstZahlenJahrgangValidate>
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>