POST api/itgelement2sportart/validate
Request Information
URI Parameters
None.
Body Parameters
ItgElement2SportartValidate| Name | Description | Type | Additional information |
|---|---|---|---|
| Reason | integer |
Required |
|
| Rec | ItgElement2Sportart |
None. |
|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| AnfrageId | integer |
Required |
|
| Element2SportartId | integer |
None. |
|
| PersonId | integer |
None. |
|
| OrganisationId | integer |
None. |
|
| SportartId | integer |
Required |
|
| Beginn | date |
None. |
|
| Ende | date |
None. |
|
| Duplikat | integer |
Required |
|
| GruppeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Reason": 1,
"Rec": {
"Id": 1,
"RowGuid": "7470104c-8e70-4338-a51f-fb6ee9266088",
"AnfrageId": 3,
"Element2SportartId": 1,
"PersonId": 1,
"OrganisationId": 1,
"SportartId": 4,
"Beginn": "2025-10-25T23:16:49.1509709+02:00",
"Ende": "2025-10-25T23:16:49.1514883+02:00",
"Duplikat": 5,
"GruppeId": 1
},
"Id": 2,
"RowGuid": "92b08faa-b8a7-4980-942e-93fb718f001b",
"AnfrageId": 4,
"Element2SportartId": 1,
"PersonId": 1,
"OrganisationId": 1,
"SportartId": 5,
"Beginn": "2025-10-25T23:16:49.1514883+02:00",
"Ende": "2025-10-25T23:16:49.1514883+02:00",
"Duplikat": 6,
"GruppeId": 1
}
application/xml, text/xml
Sample:
<ItgElement2SportartValidate 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-25T23:16:49.1514883+02:00</Beginn>
<Duplikat>6</Duplikat>
<Element2SportartId>1</Element2SportartId>
<Ende>2025-10-25T23:16:49.1514883+02:00</Ende>
<GruppeId>1</GruppeId>
<Id>2</Id>
<OrganisationId>1</OrganisationId>
<PersonId>1</PersonId>
<RowGuid>92b08faa-b8a7-4980-942e-93fb718f001b</RowGuid>
<SportartId>5</SportartId>
<Reason>1</Reason>
<Rec>
<AnfrageId>3</AnfrageId>
<Beginn>2025-10-25T23:16:49.1509709+02:00</Beginn>
<Duplikat>5</Duplikat>
<Element2SportartId>1</Element2SportartId>
<Ende>2025-10-25T23:16:49.1514883+02:00</Ende>
<GruppeId>1</GruppeId>
<Id>1</Id>
<OrganisationId>1</OrganisationId>
<PersonId>1</PersonId>
<RowGuid>7470104c-8e70-4338-a51f-fb6ee9266088</RowGuid>
<SportartId>4</SportartId>
</Rec>
</ItgElement2SportartValidate>
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>