POST api/bstrueckfluss/validate

Request Information

URI Parameters

None.

Body Parameters

BstRueckflussValidate
NameDescriptionTypeAdditional information
Reason

integer

Required

Rec

BstRueckfluss

None.

Id

integer

Required

ErhebungId

integer

Required

Rueckflussart

integer

Required

Gesamtmittel

decimal number

Required

Vorwegabzug

decimal number

Required

OrganisationId

integer

Required

Sockel1

decimal number

Required

Sockel2

decimal number

Required

Sockel3

decimal number

Required

Sockel4

decimal number

Required

Sockel5

decimal number

Required

Sockel6

decimal number

Required

RowGuid

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "Reason": 1,
  "Rec": {
    "Id": 1,
    "ErhebungId": 2,
    "Rueckflussart": 3,
    "Gesamtmittel": 4.0,
    "Vorwegabzug": 5.0,
    "OrganisationId": 6,
    "Sockel1": 7.0,
    "Sockel2": 8.0,
    "Sockel3": 9.0,
    "Sockel4": 10.0,
    "Sockel5": 11.0,
    "Sockel6": 12.0,
    "RowGuid": "740512cf-c301-425b-acb9-c3b8ea74883d"
  },
  "Id": 2,
  "ErhebungId": 3,
  "Rueckflussart": 4,
  "Gesamtmittel": 5.0,
  "Vorwegabzug": 6.0,
  "OrganisationId": 7,
  "Sockel1": 8.0,
  "Sockel2": 9.0,
  "Sockel3": 10.0,
  "Sockel4": 11.0,
  "Sockel5": 12.0,
  "Sockel6": 13.0,
  "RowGuid": "8b794946-636a-4335-bd87-fe04d8c89bdc"
}

application/xml, text/xml

Sample:
<BstRueckflussValidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Bst.Models">
  <ErhebungId>3</ErhebungId>
  <Gesamtmittel>5</Gesamtmittel>
  <Id>2</Id>
  <OrganisationId>7</OrganisationId>
  <RowGuid>8b794946-636a-4335-bd87-fe04d8c89bdc</RowGuid>
  <Rueckflussart>4</Rueckflussart>
  <Sockel1>8</Sockel1>
  <Sockel2>9</Sockel2>
  <Sockel3>10</Sockel3>
  <Sockel4>11</Sockel4>
  <Sockel5>12</Sockel5>
  <Sockel6>13</Sockel6>
  <Vorwegabzug>6</Vorwegabzug>
  <Reason>1</Reason>
  <Rec>
    <ErhebungId>2</ErhebungId>
    <Gesamtmittel>4</Gesamtmittel>
    <Id>1</Id>
    <OrganisationId>6</OrganisationId>
    <RowGuid>740512cf-c301-425b-acb9-c3b8ea74883d</RowGuid>
    <Rueckflussart>3</Rueckflussart>
    <Sockel1>7</Sockel1>
    <Sockel2>8</Sockel2>
    <Sockel3>9</Sockel3>
    <Sockel4>10</Sockel4>
    <Sockel5>11</Sockel5>
    <Sockel6>12</Sockel6>
    <Vorwegabzug>5</Vorwegabzug>
  </Rec>
</BstRueckflussValidate>

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

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>