POST api/gretagesordnung/validate
Request Information
URI Parameters
None.
Body Parameters
GreTagesordnungValidate| Name | Description | Type | Additional information |
|---|---|---|---|
| Reason | integer |
Required |
|
| Rec | GreTagesordnung |
None. |
|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| SitzungId | integer |
Required |
|
| Nummer | string |
None. |
|
| Bezeichnung | string |
None. |
|
| Memo | string |
None. |
|
| NummerIntern | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Reason": 1,
"Rec": {
"Id": 1,
"RowGuid": "0b05462d-a52a-4c19-9f5e-1ef2810eea9d",
"SitzungId": 3,
"Nummer": "sample string 4",
"Bezeichnung": "sample string 5",
"Memo": "sample string 6",
"NummerIntern": "sample string 7"
},
"Id": 2,
"RowGuid": "28f18e7f-374d-4a13-9c64-39c44f20f614",
"SitzungId": 4,
"Nummer": "sample string 5",
"Bezeichnung": "sample string 6",
"Memo": "sample string 7",
"NummerIntern": "sample string 8"
}
application/xml, text/xml
Sample:
<GreTagesordnungValidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Gre.Models">
<Bezeichnung>sample string 6</Bezeichnung>
<Id>2</Id>
<Memo>sample string 7</Memo>
<Nummer>sample string 5</Nummer>
<NummerIntern>sample string 8</NummerIntern>
<RowGuid>28f18e7f-374d-4a13-9c64-39c44f20f614</RowGuid>
<SitzungId>4</SitzungId>
<Reason>1</Reason>
<Rec>
<Bezeichnung>sample string 5</Bezeichnung>
<Id>1</Id>
<Memo>sample string 6</Memo>
<Nummer>sample string 4</Nummer>
<NummerIntern>sample string 7</NummerIntern>
<RowGuid>0b05462d-a52a-4c19-9f5e-1ef2810eea9d</RowGuid>
<SitzungId>3</SitzungId>
</Rec>
</GreTagesordnungValidate>
application/x-www-form-urlencoded
Sample:
Sample not available.
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>