POST api/aboempfaenger/validate

Request Information

URI Parameters

None.

Body Parameters

AboEmpfaengerValidate
NameDescriptionTypeAdditional information
Reason

integer

Required

Rec

AboEmpfaenger

None.

Id

integer

Required

RowGuid

globally unique identifier

Required

AbonnementId

integer

Required

OrganisationId

integer

None.

PersonId

integer

None.

AdresseId

integer

Required

Beginn

date

Required

Ende

date

None.

EingangBeginn

date

Required

EingangEnde

date

None.

AnlassId

integer

None.

Memo

string

None.

BestehenderEmpfaenger

boolean

Required

BestehendeEmpfaengerId

integer

Required

AnzahlExemplare

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Reason": 1,
  "Rec": {
    "Id": 1,
    "RowGuid": "894125f2-afed-4d6a-a61a-8bdcab221fea",
    "AbonnementId": 3,
    "OrganisationId": 1,
    "PersonId": 1,
    "AdresseId": 4,
    "Beginn": "2025-10-25T21:00:30.002987+02:00",
    "Ende": "2025-10-25T21:00:30.002987+02:00",
    "EingangBeginn": "2025-10-25T21:00:30.002987+02:00",
    "EingangEnde": "2025-10-25T21:00:30.002987+02:00",
    "AnlassId": 1,
    "Memo": "sample string 7",
    "BestehenderEmpfaenger": true,
    "BestehendeEmpfaengerId": 9,
    "AnzahlExemplare": 1
  },
  "Id": 2,
  "RowGuid": "8a5d84e1-b127-4928-9b16-4ef76b1655e3",
  "AbonnementId": 4,
  "OrganisationId": 1,
  "PersonId": 1,
  "AdresseId": 5,
  "Beginn": "2025-10-25T21:00:30.002987+02:00",
  "Ende": "2025-10-25T21:00:30.002987+02:00",
  "EingangBeginn": "2025-10-25T21:00:30.002987+02:00",
  "EingangEnde": "2025-10-25T21:00:30.002987+02:00",
  "AnlassId": 1,
  "Memo": "sample string 8",
  "BestehenderEmpfaenger": true,
  "BestehendeEmpfaengerId": 10,
  "AnzahlExemplare": 1
}

application/xml, text/xml

Sample:
<AboEmpfaengerValidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Abo.Models">
  <AbonnementId>4</AbonnementId>
  <AdresseId>5</AdresseId>
  <AnlassId>1</AnlassId>
  <AnzahlExemplare>1</AnzahlExemplare>
  <Beginn>2025-10-25T21:00:30.002987+02:00</Beginn>
  <BestehendeEmpfaengerId>10</BestehendeEmpfaengerId>
  <BestehenderEmpfaenger>true</BestehenderEmpfaenger>
  <EingangBeginn>2025-10-25T21:00:30.002987+02:00</EingangBeginn>
  <EingangEnde>2025-10-25T21:00:30.002987+02:00</EingangEnde>
  <Ende>2025-10-25T21:00:30.002987+02:00</Ende>
  <Id>2</Id>
  <Memo>sample string 8</Memo>
  <OrganisationId>1</OrganisationId>
  <PersonId>1</PersonId>
  <RowGuid>8a5d84e1-b127-4928-9b16-4ef76b1655e3</RowGuid>
  <Reason>1</Reason>
  <Rec>
    <AbonnementId>3</AbonnementId>
    <AdresseId>4</AdresseId>
    <AnlassId>1</AnlassId>
    <AnzahlExemplare>1</AnzahlExemplare>
    <Beginn>2025-10-25T21:00:30.002987+02:00</Beginn>
    <BestehendeEmpfaengerId>9</BestehendeEmpfaengerId>
    <BestehenderEmpfaenger>true</BestehenderEmpfaenger>
    <EingangBeginn>2025-10-25T21:00:30.002987+02:00</EingangBeginn>
    <EingangEnde>2025-10-25T21:00:30.002987+02:00</EingangEnde>
    <Ende>2025-10-25T21:00:30.002987+02:00</Ende>
    <Id>1</Id>
    <Memo>sample string 7</Memo>
    <OrganisationId>1</OrganisationId>
    <PersonId>1</PersonId>
    <RowGuid>894125f2-afed-4d6a-a61a-8bdcab221fea</RowGuid>
  </Rec>
</AboEmpfaengerValidate>

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 'AboEmpfaengerValidate'.

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>