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

AppForm
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

ModulId

integer

Required

Name

string

None.

Caption

string

None.

Description

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "247f46a9-5065-4a4e-bed4-4a0efd65ea56",
  "ModulId": 3,
  "Name": "sample string 4",
  "Caption": "sample string 5",
  "Description": "sample string 6"
}

application/xml, text/xml

Sample:
<AppForm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <Caption>sample string 5</Caption>
  <Description>sample string 6</Description>
  <Id>1</Id>
  <ModulId>3</ModulId>
  <Name>sample string 4</Name>
  <RowGuid>247f46a9-5065-4a4e-bed4-4a0efd65ea56</RowGuid>
</AppForm>