POST api/lizsammelantrag/preparenew

Request Information

URI Parameters

None.

Body Parameters

Collection of KeyValue
NameDescriptionTypeAdditional information
Id

integer

Required

Value

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Value": "sample string 2"
  },
  {
    "Id": 1,
    "Value": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfKeyValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <KeyValue>
    <Id>1</Id>
    <Value>sample string 2</Value>
  </KeyValue>
  <KeyValue>
    <Id>1</Id>
    <Value>sample string 2</Value>
  </KeyValue>
</ArrayOfKeyValue>

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 'List`1'.

Response Information

Resource Description

LizSammelantrag
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

OrganisationVonId

integer

Required

OrganisationBisId

integer

Required

Jahr

integer

Required

LizenzbereichId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "052ea241-be49-408f-adc2-deb403243e4b",
  "OrganisationVonId": 3,
  "OrganisationBisId": 4,
  "Jahr": 5,
  "LizenzbereichId": 1
}

application/xml, text/xml

Sample:
<LizSammelantrag xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Liz.Models">
  <Id>1</Id>
  <Jahr>5</Jahr>
  <LizenzbereichId>1</LizenzbereichId>
  <OrganisationBisId>4</OrganisationBisId>
  <OrganisationVonId>3</OrganisationVonId>
  <RowGuid>052ea241-be49-408f-adc2-deb403243e4b</RowGuid>
</LizSammelantrag>