POST api/lizantrag2grund/validate
Request Information
URI Parameters
None.
Body Parameters
LizAntrag2GrundValidate| Name | Description | Type | Additional information |
|---|---|---|---|
| Reason | integer |
Required |
|
| Rec | LizAntrag2Grund |
None. |
|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| AntragId | integer |
Required |
|
| GrundId | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"Reason": 1,
"Rec": {
"Id": 1,
"RowGuid": "89f4b13c-e228-47eb-b851-d777b368aca6",
"AntragId": 3,
"GrundId": 4
},
"Id": 2,
"RowGuid": "4d206bde-893b-46ce-b787-913dd1893ad7",
"AntragId": 4,
"GrundId": 5
}
application/xml, text/xml
Sample:
<LizAntrag2GrundValidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Liz.Models">
<AntragId>4</AntragId>
<GrundId>5</GrundId>
<Id>2</Id>
<RowGuid>4d206bde-893b-46ce-b787-913dd1893ad7</RowGuid>
<Reason>1</Reason>
<Rec>
<AntragId>3</AntragId>
<GrundId>4</GrundId>
<Id>1</Id>
<RowGuid>89f4b13c-e228-47eb-b851-d777b368aca6</RowGuid>
</Rec>
</LizAntrag2GrundValidate>
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>