POST api/appmodul/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

AppModul
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

Number

string

None.

Name

string

None.

Visible

boolean

Required

Description

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "633dc720-927b-498b-a7bf-03b9f4e78286",
  "Number": "sample string 3",
  "Name": "sample string 4",
  "Visible": true,
  "Description": "sample string 6"
}

application/xml, text/xml

Sample:
<AppModul xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <Description>sample string 6</Description>
  <Id>1</Id>
  <Name>sample string 4</Name>
  <Number>sample string 3</Number>
  <RowGuid>633dc720-927b-498b-a7bf-03b9f4e78286</RowGuid>
  <Visible>true</Visible>
</AppModul>