PUT api/realdata/updatecanonfields

Request Information

URI Parameters

None.

Body Parameters

Collection of CanonField
NameDescriptionTypeAdditional information
ID

integer

None.

CannonField

string

None.

PropertyListingField

string

None.

REDField

string

None.

Required

boolean

None.

Field2_7

boolean

None.

APIField2_7

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "CannonField": "sample string 2",
    "PropertyListingField": "sample string 3",
    "REDField": "sample string 4",
    "Required": true,
    "Field2_7": true,
    "APIField2_7": true
  },
  {
    "ID": 1,
    "CannonField": "sample string 2",
    "PropertyListingField": "sample string 3",
    "REDField": "sample string 4",
    "Required": true,
    "Field2_7": true,
    "APIField2_7": true
  }
]

text/html

Sample:
[{"ID":1,"CannonField":"sample string 2","PropertyListingField":"sample string 3","REDField":"sample string 4","Required":true,"Field2_7":true,"APIField2_7":true},{"ID":1,"CannonField":"sample string 2","PropertyListingField":"sample string 3","REDField":"sample string 4","Required":true,"Field2_7":true,"APIField2_7":true}]

application/xml, text/xml

Sample:
<ArrayOfCanonField xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Canonical">
  <CanonField>
    <APIField2_7>true</APIField2_7>
    <CannonField>sample string 2</CannonField>
    <Field2_7>true</Field2_7>
    <ID>1</ID>
    <PropertyListingField>sample string 3</PropertyListingField>
    <REDField>sample string 4</REDField>
    <Required>true</Required>
  </CanonField>
  <CanonField>
    <APIField2_7>true</APIField2_7>
    <CannonField>sample string 2</CannonField>
    <Field2_7>true</Field2_7>
    <ID>1</ID>
    <PropertyListingField>sample string 3</PropertyListingField>
    <REDField>sample string 4</REDField>
    <Required>true</Required>
  </CanonField>
</ArrayOfCanonField>

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.