PUT api/realdata/updatemap

Request Information

URI Parameters

None.

Body Parameters

Map
NameDescriptionTypeAdditional information
ID

integer

None.

MLSID

string

None.

Resource

string

None.

Class

string

None.

ClassName

string

None.

Fields

Collection of MapField

None.

Notes

Collection of MapNote

None.

Matches

Collection of MapMatch

None.

Status

MapStatus

None.

MapType

MapType

None.

DisplayName

string

None.

DateCreated

date

None.

DateModified

date

None.

LastUser

string

None.

PropertyIdField

MapField

None.

PropertyIdSourceField

string

None.

StatusField

MapField

None.

StatusSourceField

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "MLSID": "sample string 2",
  "Resource": "sample string 3",
  "Class": "sample string 4",
  "ClassName": "sample string 5",
  "Fields": [
    {
      "ID": 1,
      "MapID": 2,
      "SourceField": "sample string 3",
      "DestinationField": "sample string 4",
      "Translation": "sample string 5",
      "Notes": [
        {
          "ID": 1,
          "FieldID": 2,
          "Username": "sample string 3",
          "DateTime": "2021-08-04T23:43:38.7815825+00:00",
          "Message": "sample string 5"
        },
        {
          "ID": 1,
          "FieldID": 2,
          "Username": "sample string 3",
          "DateTime": "2021-08-04T23:43:38.7815825+00:00",
          "Message": "sample string 5"
        }
      ],
      "Confirmed": true,
      "Status": 0
    },
    {
      "ID": 1,
      "MapID": 2,
      "SourceField": "sample string 3",
      "DestinationField": "sample string 4",
      "Translation": "sample string 5",
      "Notes": [
        {
          "ID": 1,
          "FieldID": 2,
          "Username": "sample string 3",
          "DateTime": "2021-08-04T23:43:38.7815825+00:00",
          "Message": "sample string 5"
        },
        {
          "ID": 1,
          "FieldID": 2,
          "Username": "sample string 3",
          "DateTime": "2021-08-04T23:43:38.7815825+00:00",
          "Message": "sample string 5"
        }
      ],
      "Confirmed": true,
      "Status": 0
    }
  ],
  "Notes": [
    {
      "ID": 1,
      "MapID": 2,
      "Username": "sample string 3",
      "DateTime": "2021-08-04T23:43:38.7815825+00:00",
      "Message": "sample string 5"
    },
    {
      "ID": 1,
      "MapID": 2,
      "Username": "sample string 3",
      "DateTime": "2021-08-04T23:43:38.7815825+00:00",
      "Message": "sample string 5"
    }
  ],
  "Matches": [
    {
      "Id": "sample string 1",
      "MapID": 2,
      "MLSID": "sample string 3",
      "Resource": "sample string 4",
      "Class": "sample string 5",
      "DestinationField": "sample string 6",
      "SourceField": "sample string 7",
      "SourceValue": "sample string 8",
      "Score": 9.0
    },
    {
      "Id": "sample string 1",
      "MapID": 2,
      "MLSID": "sample string 3",
      "Resource": "sample string 4",
      "Class": "sample string 5",
      "DestinationField": "sample string 6",
      "SourceField": "sample string 7",
      "SourceValue": "sample string 8",
      "Score": 9.0
    }
  ],
  "Status": 1,
  "MapType": 1,
  "DisplayName": "sample string 2:sample string 3:sample string 4",
  "DateCreated": "2021-08-04T23:43:38.7815825+00:00",
  "DateModified": "2021-08-04T23:43:38.7815825+00:00",
  "LastUser": "sample string 8",
  "PropertyIdField": null,
  "PropertyIdSourceField": null,
  "StatusField": null,
  "StatusSourceField": null
}

text/html

Sample:
{"ID":1,"MLSID":"sample string 2","Resource":"sample string 3","Class":"sample string 4","ClassName":"sample string 5","Fields":[{"ID":1,"MapID":2,"SourceField":"sample string 3","DestinationField":"sample string 4","Translation":"sample string 5","Notes":[{"ID":1,"FieldID":2,"Username":"sample string 3","DateTime":"2021-08-04T23:43:38.7815825+00:00","Message":"sample string 5"},{"ID":1,"FieldID":2,"Username":"sample string 3","DateTime":"2021-08-04T23:43:38.7815825+00:00","Message":"sample string 5"}],"Confirmed":true,"Status":0},{"ID":1,"MapID":2,"SourceField":"sample string 3","DestinationField":"sample string 4","Translation":"sample string 5","Notes":[{"ID":1,"FieldID":2,"Username":"sample string 3","DateTime":"2021-08-04T23:43:38.7815825+00:00","Message":"sample string 5"},{"ID":1,"FieldID":2,"Username":"sample string 3","DateTime":"2021-08-04T23:43:38.7815825+00:00","Message":"sample string 5"}],"Confirmed":true,"Status":0}],"Notes":[{"ID":1,"MapID":2,"Username":"sample string 3","DateTime":"2021-08-04T23:43:38.7815825+00:00","Message":"sample string 5"},{"ID":1,"MapID":2,"Username":"sample string 3","DateTime":"2021-08-04T23:43:38.7815825+00:00","Message":"sample string 5"}],"Matches":[{"Id":"sample string 1","MapID":2,"MLSID":"sample string 3","Resource":"sample string 4","Class":"sample string 5","DestinationField":"sample string 6","SourceField":"sample string 7","SourceValue":"sample string 8","Score":9.0},{"Id":"sample string 1","MapID":2,"MLSID":"sample string 3","Resource":"sample string 4","Class":"sample string 5","DestinationField":"sample string 6","SourceField":"sample string 7","SourceValue":"sample string 8","Score":9.0}],"Status":1,"MapType":1,"DisplayName":"sample string 2:sample string 3:sample string 4","DateCreated":"2021-08-04T23:43:38.7815825+00:00","DateModified":"2021-08-04T23:43:38.7815825+00:00","LastUser":"sample string 8","PropertyIdField":null,"PropertyIdSourceField":null,"StatusField":null,"StatusSourceField":null}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'NPlay.RealDataFlow.Mapping.Models.Maps.MapField' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'NPlay.RealDataFlow.Mapping.Models.Maps.MapField' contains cycles and cannot be serialized if reference tracking is disabled.

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 'Map'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.