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

AppEntity
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

Tablename

string

None.

AltFeaturename

string

None.

Active

integer

Required

Displayname

string

None.

ActionNumber

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "3d76615f-057d-49b0-8b31-609aa1a9cb88",
  "Tablename": "sample string 3",
  "AltFeaturename": "sample string 4",
  "Active": 5,
  "Displayname": "sample string 6",
  "ActionNumber": 1
}

application/xml, text/xml

Sample:
<AppEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <ActionNumber>1</ActionNumber>
  <Active>5</Active>
  <AltFeaturename>sample string 4</AltFeaturename>
  <Displayname>sample string 6</Displayname>
  <Id>1</Id>
  <RowGuid>3d76615f-057d-49b0-8b31-609aa1a9cb88</RowGuid>
  <Tablename>sample string 3</Tablename>
</AppEntity>