POST api/itgpers2orga/validate
Request Information
URI Parameters
None.
Body Parameters
ItgPers2OrgaValidate| Name | Description | Type | Additional information |
|---|---|---|---|
| Reason | integer |
Required |
|
| Rec | ItgPers2Orga |
None. |
|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| AnfrageId | integer |
Required |
|
| Pers2OrgaId | integer |
None. |
|
| FunktionId | integer |
Required |
|
| PersonId | integer |
Required |
|
| OrganisationId | integer |
Required |
|
| Beginn | date |
None. |
|
| Ende | date |
None. |
|
| Veroeffentl | boolean |
Required |
|
| Duplikat | integer |
Required |
|
| FachverbandId | integer |
None. |
|
| PersonAdresseId | integer |
None. |
|
| Vertretungsberechtigung | integer |
Required |
|
| ValidateVertretungsberechtigung | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{
"Reason": 1,
"Rec": {
"Id": 1,
"RowGuid": "95c2a5bc-f630-4541-961e-69b83f2f77f4",
"AnfrageId": 3,
"Pers2OrgaId": 1,
"FunktionId": 4,
"PersonId": 5,
"OrganisationId": 6,
"Beginn": "2025-10-25T21:00:36.8903451+02:00",
"Ende": "2025-10-25T21:00:36.8903451+02:00",
"Veroeffentl": true,
"Duplikat": 8,
"FachverbandId": 1,
"PersonAdresseId": 1,
"Vertretungsberechtigung": 9,
"ValidateVertretungsberechtigung": true
},
"Id": 2,
"RowGuid": "6f1e3c6a-0d0d-4d18-a064-c9d6fd0cd426",
"AnfrageId": 4,
"Pers2OrgaId": 1,
"FunktionId": 5,
"PersonId": 6,
"OrganisationId": 7,
"Beginn": "2025-10-25T21:00:36.891345+02:00",
"Ende": "2025-10-25T21:00:36.891345+02:00",
"Veroeffentl": true,
"Duplikat": 9,
"FachverbandId": 1,
"PersonAdresseId": 1,
"Vertretungsberechtigung": 10,
"ValidateVertretungsberechtigung": true
}
application/xml, text/xml
Sample:
<ItgPers2OrgaValidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Itg.Models">
<AnfrageId>4</AnfrageId>
<Beginn>2025-10-25T21:00:36.891345+02:00</Beginn>
<Duplikat>9</Duplikat>
<Ende>2025-10-25T21:00:36.891345+02:00</Ende>
<FachverbandId>1</FachverbandId>
<FunktionId>5</FunktionId>
<Id>2</Id>
<OrganisationId>7</OrganisationId>
<Pers2OrgaId>1</Pers2OrgaId>
<PersonAdresseId>1</PersonAdresseId>
<PersonId>6</PersonId>
<RowGuid>6f1e3c6a-0d0d-4d18-a064-c9d6fd0cd426</RowGuid>
<ValidateVertretungsberechtigung>true</ValidateVertretungsberechtigung>
<Veroeffentl>true</Veroeffentl>
<Vertretungsberechtigung>10</Vertretungsberechtigung>
<Reason>1</Reason>
<Rec>
<AnfrageId>3</AnfrageId>
<Beginn>2025-10-25T21:00:36.8903451+02:00</Beginn>
<Duplikat>8</Duplikat>
<Ende>2025-10-25T21:00:36.8903451+02:00</Ende>
<FachverbandId>1</FachverbandId>
<FunktionId>4</FunktionId>
<Id>1</Id>
<OrganisationId>6</OrganisationId>
<Pers2OrgaId>1</Pers2OrgaId>
<PersonAdresseId>1</PersonAdresseId>
<PersonId>5</PersonId>
<RowGuid>95c2a5bc-f630-4541-961e-69b83f2f77f4</RowGuid>
<ValidateVertretungsberechtigung>true</ValidateVertretungsberechtigung>
<Veroeffentl>true</Veroeffentl>
<Vertretungsberechtigung>9</Vertretungsberechtigung>
</Rec>
</ItgPers2OrgaValidate>
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>