POST api/itgantragfoerderung/validate

Request Information

URI Parameters

None.

Body Parameters

ItgAntragFoerderungValidate
NameDescriptionTypeAdditional information
Reason

integer

Required

Rec

ItgAntragFoerderung

None.

Id

integer

Required

RowGuid

globally unique identifier

Required

AnfrageId

integer

Required

FdgAntragId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "Reason": 1,
  "Rec": {
    "Id": 1,
    "RowGuid": "a5be609f-9948-4268-ad4e-528fa2e0fefd",
    "AnfrageId": 3,
    "FdgAntragId": 4
  },
  "Id": 2,
  "RowGuid": "de16ae10-623f-45c5-9d3f-edd5c5b67b1e",
  "AnfrageId": 4,
  "FdgAntragId": 5
}

application/xml, text/xml

Sample:
<ItgAntragFoerderungValidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Itg.Models">
  <AnfrageId>4</AnfrageId>
  <FdgAntragId>5</FdgAntragId>
  <Id>2</Id>
  <RowGuid>de16ae10-623f-45c5-9d3f-edd5c5b67b1e</RowGuid>
  <Reason>1</Reason>
  <Rec>
    <AnfrageId>3</AnfrageId>
    <FdgAntragId>4</FdgAntragId>
    <Id>1</Id>
    <RowGuid>a5be609f-9948-4268-ad4e-528fa2e0fefd</RowGuid>
  </Rec>
</ItgAntragFoerderungValidate>

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

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>