PUT api/realdata/updatemappropertytypes

Request Information

URI Parameters

None.

Body Parameters

Collection of MapPropertyType
NameDescriptionTypeAdditional information
ID

integer

None.

Value

string

None.

PropertyType

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Value": "sample string 2",
    "PropertyType": 3
  },
  {
    "ID": 1,
    "Value": "sample string 2",
    "PropertyType": 3
  }
]

text/html

Sample:
[{"ID":1,"Value":"sample string 2","PropertyType":3},{"ID":1,"Value":"sample string 2","PropertyType":3}]

application/xml, text/xml

Sample:
<ArrayOfMapPropertyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.RealDataFlow.Mapping.Models.Maps">
  <MapPropertyType>
    <ID>1</ID>
    <PropertyType>3</PropertyType>
    <Value>sample string 2</Value>
  </MapPropertyType>
  <MapPropertyType>
    <ID>1</ID>
    <PropertyType>3</PropertyType>
    <Value>sample string 2</Value>
  </MapPropertyType>
</ArrayOfMapPropertyType>

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

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.