POST api/sazleistung/validate

Request Information

URI Parameters

None.

Body Parameters

SazLeistungValidate
NameDescriptionTypeAdditional information
Reason

integer

Required

Rec

SazLeistung

None.

Id

integer

Required

RowGuid

globally unique identifier

Required

AnforderungId

integer

Required

AbnahmeId

integer

Required

LizenzId

integer

Required

Wert

decimal number

Required

Abnahme

date

Required

Ergebnis

integer

Required

Relevant

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "Reason": 1,
  "Rec": {
    "Id": 1,
    "RowGuid": "76673ed8-fe24-4f0a-8b09-672542f01111",
    "AnforderungId": 3,
    "AbnahmeId": 4,
    "LizenzId": 5,
    "Wert": 6.0,
    "Abnahme": "2025-10-25T20:52:27.558715+02:00",
    "Ergebnis": 8,
    "Relevant": true
  },
  "Id": 2,
  "RowGuid": "1d2bbc64-66b4-4fc5-905c-1690c44053a0",
  "AnforderungId": 4,
  "AbnahmeId": 5,
  "LizenzId": 6,
  "Wert": 7.0,
  "Abnahme": "2025-10-25T20:52:27.5597149+02:00",
  "Ergebnis": 9,
  "Relevant": true
}

application/xml, text/xml

Sample:
<SazLeistungValidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Saz.Models">
  <Abnahme>2025-10-25T20:52:27.5597149+02:00</Abnahme>
  <AbnahmeId>5</AbnahmeId>
  <AnforderungId>4</AnforderungId>
  <Ergebnis>9</Ergebnis>
  <Id>2</Id>
  <LizenzId>6</LizenzId>
  <Relevant>true</Relevant>
  <RowGuid>1d2bbc64-66b4-4fc5-905c-1690c44053a0</RowGuid>
  <Wert>7</Wert>
  <Reason>1</Reason>
  <Rec>
    <Abnahme>2025-10-25T20:52:27.558715+02:00</Abnahme>
    <AbnahmeId>4</AbnahmeId>
    <AnforderungId>3</AnforderungId>
    <Ergebnis>8</Ergebnis>
    <Id>1</Id>
    <LizenzId>5</LizenzId>
    <Relevant>true</Relevant>
    <RowGuid>76673ed8-fe24-4f0a-8b09-672542f01111</RowGuid>
    <Wert>6</Wert>
  </Rec>
</SazLeistungValidate>

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

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>