POST api/krnpers2orga/validate

Request Information

URI Parameters

None.

Body Parameters

KrnPers2OrgaValidate
NameDescriptionTypeAdditional information
Reason

integer

Required

Rec

KrnPers2Orga

None.

Id

integer

Required

RowGuid

globally unique identifier

Required

FunktionId

integer

Required

PersonId

integer

Required

OrganisationId

integer

Required

Beginn

date

None.

Ende

date

None.

Veroeffentl

boolean

Required

FachverbandId

integer

None.

PersonAdresseId

integer

None.

Vertretungsberechtigung

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "Reason": 1,
  "Rec": {
    "Id": 1,
    "RowGuid": "2fc5a733-eb01-4ea6-a670-f3f7ed2ecd91",
    "FunktionId": 3,
    "PersonId": 4,
    "OrganisationId": 5,
    "Beginn": "2025-10-25T20:52:27.9223386+02:00",
    "Ende": "2025-10-25T20:52:27.9223386+02:00",
    "Veroeffentl": true,
    "FachverbandId": 1,
    "PersonAdresseId": 1,
    "Vertretungsberechtigung": 7
  },
  "Id": 2,
  "RowGuid": "055ccf9f-c0d6-457d-b991-d94b13dbefc5",
  "FunktionId": 4,
  "PersonId": 5,
  "OrganisationId": 6,
  "Beginn": "2025-10-25T20:52:27.9223386+02:00",
  "Ende": "2025-10-25T20:52:27.9223386+02:00",
  "Veroeffentl": true,
  "FachverbandId": 1,
  "PersonAdresseId": 1,
  "Vertretungsberechtigung": 8
}

application/xml, text/xml

Sample:
<KrnPers2OrgaValidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Krn.Models">
  <Beginn>2025-10-25T20:52:27.9223386+02:00</Beginn>
  <Ende>2025-10-25T20:52:27.9223386+02:00</Ende>
  <FachverbandId>1</FachverbandId>
  <FunktionId>4</FunktionId>
  <Id>2</Id>
  <OrganisationId>6</OrganisationId>
  <PersonAdresseId>1</PersonAdresseId>
  <PersonId>5</PersonId>
  <RowGuid>055ccf9f-c0d6-457d-b991-d94b13dbefc5</RowGuid>
  <Veroeffentl>true</Veroeffentl>
  <Vertretungsberechtigung>8</Vertretungsberechtigung>
  <Reason>1</Reason>
  <Rec>
    <Beginn>2025-10-25T20:52:27.9223386+02:00</Beginn>
    <Ende>2025-10-25T20:52:27.9223386+02:00</Ende>
    <FachverbandId>1</FachverbandId>
    <FunktionId>3</FunktionId>
    <Id>1</Id>
    <OrganisationId>5</OrganisationId>
    <PersonAdresseId>1</PersonAdresseId>
    <PersonId>4</PersonId>
    <RowGuid>2fc5a733-eb01-4ea6-a670-f3f7ed2ecd91</RowGuid>
    <Veroeffentl>true</Veroeffentl>
    <Vertretungsberechtigung>7</Vertretungsberechtigung>
  </Rec>
</KrnPers2OrgaValidate>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'KrnPers2OrgaValidate'.

Response Information

Resource Description

ValidationResult
NameDescriptionTypeAdditional 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>