POST api/bstfachverbandszahlen/validate

Request Information

URI Parameters

None.

Body Parameters

BstFachverbandszahlenValidate
NameDescriptionTypeAdditional information
Reason

integer

Required

Rec

BstFachverbandszahlen

None.

Id

integer

Required

ErhebungId

integer

Required

OrganisationId

integer

Required

Anzahl1

integer

Required

Anzahl2

integer

Required

Anzahl3

integer

Required

Anzahl4

integer

Required

Anzahl5

integer

Required

Anzahl6

integer

Required

Anzahl7

integer

Required

Anzahl8

integer

Required

Anzahl9

integer

Required

Anzahl10

integer

Required

Anzahl11

integer

Required

Anzahl12

integer

Required

Anzahl13

integer

Required

Anzahl14

integer

Required

Anzahl15

integer

Required

Anzahl16

integer

Required

Anzahl17

integer

Required

Anzahl18

integer

Required

Anzahl19

integer

Required

Anzahl20

integer

Required

Summe

integer

Required

RowGuid

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "Reason": 1,
  "Rec": {
    "Id": 1,
    "ErhebungId": 2,
    "OrganisationId": 3,
    "Anzahl1": 4,
    "Anzahl2": 5,
    "Anzahl3": 6,
    "Anzahl4": 7,
    "Anzahl5": 8,
    "Anzahl6": 9,
    "Anzahl7": 10,
    "Anzahl8": 11,
    "Anzahl9": 12,
    "Anzahl10": 13,
    "Anzahl11": 14,
    "Anzahl12": 15,
    "Anzahl13": 16,
    "Anzahl14": 17,
    "Anzahl15": 18,
    "Anzahl16": 19,
    "Anzahl17": 20,
    "Anzahl18": 21,
    "Anzahl19": 22,
    "Anzahl20": 23,
    "Summe": 24,
    "RowGuid": "5cd8eb19-f19e-4699-ad6e-6452c3399a9c"
  },
  "Id": 2,
  "ErhebungId": 3,
  "OrganisationId": 4,
  "Anzahl1": 5,
  "Anzahl2": 6,
  "Anzahl3": 7,
  "Anzahl4": 8,
  "Anzahl5": 9,
  "Anzahl6": 10,
  "Anzahl7": 11,
  "Anzahl8": 12,
  "Anzahl9": 13,
  "Anzahl10": 14,
  "Anzahl11": 15,
  "Anzahl12": 16,
  "Anzahl13": 17,
  "Anzahl14": 18,
  "Anzahl15": 19,
  "Anzahl16": 20,
  "Anzahl17": 21,
  "Anzahl18": 22,
  "Anzahl19": 23,
  "Anzahl20": 24,
  "Summe": 25,
  "RowGuid": "d31bff5b-58e1-4186-8f6f-91f3d0e60cd8"
}

application/xml, text/xml

Sample:
<BstFachverbandszahlenValidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Bst.Models">
  <Anzahl1>5</Anzahl1>
  <Anzahl10>14</Anzahl10>
  <Anzahl11>15</Anzahl11>
  <Anzahl12>16</Anzahl12>
  <Anzahl13>17</Anzahl13>
  <Anzahl14>18</Anzahl14>
  <Anzahl15>19</Anzahl15>
  <Anzahl16>20</Anzahl16>
  <Anzahl17>21</Anzahl17>
  <Anzahl18>22</Anzahl18>
  <Anzahl19>23</Anzahl19>
  <Anzahl2>6</Anzahl2>
  <Anzahl20>24</Anzahl20>
  <Anzahl3>7</Anzahl3>
  <Anzahl4>8</Anzahl4>
  <Anzahl5>9</Anzahl5>
  <Anzahl6>10</Anzahl6>
  <Anzahl7>11</Anzahl7>
  <Anzahl8>12</Anzahl8>
  <Anzahl9>13</Anzahl9>
  <ErhebungId>3</ErhebungId>
  <Id>2</Id>
  <OrganisationId>4</OrganisationId>
  <RowGuid>d31bff5b-58e1-4186-8f6f-91f3d0e60cd8</RowGuid>
  <Summe>25</Summe>
  <Reason>1</Reason>
  <Rec>
    <Anzahl1>4</Anzahl1>
    <Anzahl10>13</Anzahl10>
    <Anzahl11>14</Anzahl11>
    <Anzahl12>15</Anzahl12>
    <Anzahl13>16</Anzahl13>
    <Anzahl14>17</Anzahl14>
    <Anzahl15>18</Anzahl15>
    <Anzahl16>19</Anzahl16>
    <Anzahl17>20</Anzahl17>
    <Anzahl18>21</Anzahl18>
    <Anzahl19>22</Anzahl19>
    <Anzahl2>5</Anzahl2>
    <Anzahl20>23</Anzahl20>
    <Anzahl3>6</Anzahl3>
    <Anzahl4>7</Anzahl4>
    <Anzahl5>8</Anzahl5>
    <Anzahl6>9</Anzahl6>
    <Anzahl7>10</Anzahl7>
    <Anzahl8>11</Anzahl8>
    <Anzahl9>12</Anzahl9>
    <ErhebungId>2</ErhebungId>
    <Id>1</Id>
    <OrganisationId>3</OrganisationId>
    <RowGuid>5cd8eb19-f19e-4699-ad6e-6452c3399a9c</RowGuid>
    <Summe>24</Summe>
  </Rec>
</BstFachverbandszahlenValidate>

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

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>