Method PostLocationUpdate

Summary

Overwrite an existing location's information

Remarks

Update a location in the land file.

NOTE: This will overwrite all of the existing location's information.

Requires

Input Parameters

NameTypeLengthDescription
LocationID numeric 9 [Required] Location ID to update
StreetNo numeric 7 Street number
StreetDir System.String 2 N, S, E, W, NE, NW, SE, SW
StreetName System.String 25 Street name
Apartment System.String 5 apartment number / letter
StreetSuffix System.String 4 Street Suffix. I.e. AVE, DR, LN
StreetPostDir System.String 2 Street Post direction N, S, E, W, NE, NW, SE, SW
StreetQualifier System.String 5 Street qualifier (1st five chars)
StreetPreQual System.String 10 Street post qualifier (ten chars)
StreetPostQual System.String 5 Street post qualifier (1st five chars)
ZipCode System.String 9 Zip code
CarrierRoute System.String 4 Carrier route
OwnerName System.String 30 Owner name
OwnerType System.String 2 Owner type. 2 char code. Ex. P=Primary Owner, BO=Billable Owner, L=Landlord
OwnerAddress System.String 30 Owner address line 1
OwnerAddress2 System.String 30 Owner address line 2
OwnerAddress3 System.String 30 Owner address line 3
OwnerZipCode System.String 9 Owner zip code
OwnerCarrierRoute System.String 4 Owner carrier route
OwnerAreaCode numeric 3 Owner area code
OwnerPhoneNo numeric 7 Owner phone. If area code is included it will set it as OwnerAreaCode
Parcel System.String 600 Parcel number. Should be segmented with '-'. Ex. 0012-371-077-000-00. This will parse the parcel number and set the values for ParcelNo1 to ParcelNo10.
ParcelNo1 System.String 6 Parcel key segment 1
ParcelNo2 System.String 6 Parcel key segment 2
ParcelNo3 System.String 6 Parcel key segment 3
ParcelNo4 System.String 6 Parcel key segment 4
ParcelNo5 System.String 6 Parcel key segment 5
ParcelNo6 System.String 6 Parcel key segment 6
ParcelNo7 System.String 6 Parcel key segment 7
ParcelNo8 System.String 6 Parcel key segment 8
ParcelNo9 System.String 6 Parcel key segment 9
ParcelNo10 System.String 6 Parcel key segment 10
ParcelType System.String 1 Parcel type code. P=Parcel
ParcelStatus System.String 1 Parcel status
AlternateId System.String 25 Alternate ID
Acreage numeric 9 Acreage. Decimal with 4 decimal places. 12345.6789
PropertyCode System.String 4 Property use code
UndividedInterest numeric 5 Acreage. Decimal with 2 decimal places. 123.45
TownshipCode System.String 5 Township code
InsideOutsideCode System.String 5 Inside/Outside city limit code
CommissionerCode System.String 5 Commissioner code
GeneralLocationCode System.String 6 General location code
ParcelDeliveryPoint System.String 3 Parcel delivery point
OwnerDeliveryPoint System.String 3 Owner delivery point
UseZone System.String 6 Usage zone
OwnerEffectiveDate numeric 7 Owner effective date. CYYMMDD
AddressHistory System.String 1 Suppress address history. N=Suppress
OwnerHistory System.String 1 Suppress owner history. N=Suppress
AddressStatus System.String 1 Address status
AddressEffectiveDate numeric 7 Address effective date. CYYMMDD
IntersectionStreet System.String 25 Intersection street
IntersectionDir System.String 2 Intersection direction
IntersectionSuffix System.String 4 Intersection suffix
Subdivision1 System.String 6 Subdivision code 1
Subdivision2 System.String 6 Subdivision code 2
CensusTract7 System.String 7 Census tract (old)
PlatBookPage System.String 20 Plat Book Page
Longitude11 numeric 11 Longitude. Decimal with 2 decimal places. 123456789.01
Latitude11 numeric 11 Latitude. Decimal with 2 decimal places. 123456789.01
OwnerDOB numeric 7 Owner date of birth. CYYMMDD
ExtendedAddress System.String 25 Extended Address
FreeFormAddress System.String 48 Free Form Address
FireZone System.String 2 Fire Zone code
VarianceCode System.String 1 Variance Code
InspectionArea System.String 3 Inspection Area code
ParcelSplitCode System.String 4 Parcel Split Code
Longitude15 numeric 15 GPS Longitude. Decimal with 6 decimal places. 789012345.123456
Latitude15 numeric 15 GPS Latitude. Decimal with 6 decimal places. -789012345.123456
MapX System.String 8 Map X coordinate
MapY System.String 8 Map Y coordinate
CensusTrac11 System.String 11 Census tract (new)

Example

POST http://localhost/FusionServices/v2/NaviLine/Land/LocationUpdate

Sample Responses

Sample Code

using System.Net;

string uri = "http://localhost/FusionServices/v2/NaviLine/Land/LocationUpdate";
System.Collections.Specialized.NameValueCollection postParms = 
     new System.Collections.Specialized.NameValueCollection(); 

postParms.Add("LocationID",System.Web.HttpUtility.UrlEncode("1566"));
postParms.Add("StreetNo",System.Web.HttpUtility.UrlEncode("1009"));
postParms.Add("StreetName",System.Web.HttpUtility.UrlEncode("LESLIE"));
postParms.Add("StreetSuffix",System.Web.HttpUtility.UrlEncode("LN"));
postParms.Add("ZipCode",System.Web.HttpUtility.UrlEncode("75901"));
postParms.Add("OwnerName",System.Web.HttpUtility.UrlEncode("HENDRY MELVIN"));
postParms.Add("OwnerAddress",System.Web.HttpUtility.UrlEncode("1009 LESLIE LN"));
postParms.Add("OwnerZipCode",System.Web.HttpUtility.UrlEncode("759016366"));
postParms.Add("OwnerAreaCode",System.Web.HttpUtility.UrlEncode("407"));
postParms.Add("OwnerPhoneNo",System.Web.HttpUtility.UrlEncode("3132212"));
postParms.Add("ParcelNo1",System.Web.HttpUtility.UrlEncode("0012"));
postParms.Add("ParcelNo2",System.Web.HttpUtility.UrlEncode("371"));
postParms.Add("ParcelNo3",System.Web.HttpUtility.UrlEncode("077"));
postParms.Add("ParcelNo4",System.Web.HttpUtility.UrlEncode("000"));
postParms.Add("ParcelNo5",System.Web.HttpUtility.UrlEncode("00"));
postParms.Add("ParcelType",System.Web.HttpUtility.UrlEncode("M"));
postParms.Add("AlternateId",System.Web.HttpUtility.UrlEncode("R13195"));
postParms.Add("Acreage",System.Web.HttpUtility.UrlEncode("1.0000"));
postParms.Add("TownshipCode",System.Web.HttpUtility.UrlEncode("LUF"));
postParms.Add("InsideOutsideCode",System.Web.HttpUtility.UrlEncode("INLUF"));
postParms.Add("FormattedAddress",System.Web.HttpUtility.UrlEncode("1009 LESLIE LN                             LUF"));
postParms.Add("AddressType",System.Web.HttpUtility.UrlEncode("M"));
postParms.Add("OwnerEffectiveDate",System.Web.HttpUtility.UrlEncode("1020322"));
postParms.Add("VarianceCode",System.Web.HttpUtility.UrlEncode("M"));
postParms.Add("Longitude11",System.Web.HttpUtility.UrlEncode("4059745.19"));
postParms.Add("Latitude11",System.Web.HttpUtility.UrlEncode("10487818.86"));
postParms.Add("RelatedPartyId",System.Web.HttpUtility.UrlEncode("94543"));
postParms.Add("Longitude15",System.Web.HttpUtility.UrlEncode("4059745.190000"));
postParms.Add("Latitude15",System.Web.HttpUtility.UrlEncode("10487818.860000"));
using (WebClient req = new WebClient())
{
    byte[] responseBytes = wc.UploadValues(new Uri(uri), "POST", postParms);
    string stringResult = Encoding.UTF8.GetString(responseBytes); 
    // TODO
}

C# Razor MVC Sample Code

using System;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Collections.Specialized;
using FusionServiceHelper.Models;

// NOTE: Use the namespace generated when you add the class, so that it is correct.
namespace FusionRazor.Models
{
   public class PostLocationUpdate
   {
       // Add property for each input param in order to map a field to it
       [Required(ErrorMessage = "Required")]
       [RegularExpression("[0-9]{0,9}", ErrorMessage = "Numeric values only. Must be 9 digits or less. ")]
       public string LocationID{get; set;}

       [RegularExpression("[0-9]{0,7}", ErrorMessage = "Numeric values only. Must be 7 digits or less. ")]
       public string StreetNo{get; set;}

       [RegularExpression("^(?=.{0,2}$).*", ErrorMessage = "Must be 2 characters or less. ")]
       public string StreetDir{get; set;}

       [RegularExpression("^(?=.{0,25}$).*", ErrorMessage = "Must be 25 characters or less. ")]
       public string StreetName{get; set;}

       [RegularExpression("^(?=.{0,5}$).*", ErrorMessage = "Must be 5 characters or less. ")]
       public string Apartment{get; set;}

       [RegularExpression("^(?=.{0,4}$).*", ErrorMessage = "Must be 4 characters or less. ")]
       public string StreetSuffix{get; set;}

       [RegularExpression("^(?=.{0,2}$).*", ErrorMessage = "Must be 2 characters or less. ")]
       public string StreetPostDir{get; set;}

       [RegularExpression("^(?=.{0,5}$).*", ErrorMessage = "Must be 5 characters or less. ")]
       public string StreetQualifier{get; set;}

       [RegularExpression("^(?=.{0,10}$).*", ErrorMessage = "Must be 10 characters or less. ")]
       public string StreetPreQual{get; set;}

       [RegularExpression("^(?=.{0,5}$).*", ErrorMessage = "Must be 5 characters or less. ")]
       public string StreetPostQual{get; set;}

       [RegularExpression("^(?=.{0,9}$).*", ErrorMessage = "Must be 9 characters or less. ")]
       public string ZipCode{get; set;}

       [RegularExpression("^(?=.{0,4}$).*", ErrorMessage = "Must be 4 characters or less. ")]
       public string CarrierRoute{get; set;}

       [RegularExpression("^(?=.{0,30}$).*", ErrorMessage = "Must be 30 characters or less. ")]
       public string OwnerName{get; set;}

       [RegularExpression("^(?=.{0,2}$).*", ErrorMessage = "Must be 2 characters or less. ")]
       public string OwnerType{get; set;}

       [RegularExpression("^(?=.{0,30}$).*", ErrorMessage = "Must be 30 characters or less. ")]
       public string OwnerAddress{get; set;}

       [RegularExpression("^(?=.{0,30}$).*", ErrorMessage = "Must be 30 characters or less. ")]
       public string OwnerAddress2{get; set;}

       [RegularExpression("^(?=.{0,30}$).*", ErrorMessage = "Must be 30 characters or less. ")]
       public string OwnerAddress3{get; set;}

       [RegularExpression("^(?=.{0,9}$).*", ErrorMessage = "Must be 9 characters or less. ")]
       public string OwnerZipCode{get; set;}

       [RegularExpression("^(?=.{0,4}$).*", ErrorMessage = "Must be 4 characters or less. ")]
       public string OwnerCarrierRoute{get; set;}

       [RegularExpression("[0-9]{0,3}", ErrorMessage = "Numeric values only. Must be 3 digits or less. ")]
       public string OwnerAreaCode{get; set;}

       [RegularExpression("[0-9]{0,7}", ErrorMessage = "Numeric values only. Must be 7 digits or less. ")]
       public string OwnerPhoneNo{get; set;}

       [RegularExpression("^(?=.{0,600}$).*", ErrorMessage = "Must be 600 characters or less. ")]
       public string Parcel{get; set;}

       [RegularExpression("^(?=.{0,6}$).*", ErrorMessage = "Must be 6 characters or less. ")]
       public string ParcelNo1{get; set;}

       [RegularExpression("^(?=.{0,6}$).*", ErrorMessage = "Must be 6 characters or less. ")]
       public string ParcelNo2{get; set;}

       [RegularExpression("^(?=.{0,6}$).*", ErrorMessage = "Must be 6 characters or less. ")]
       public string ParcelNo3{get; set;}

       [RegularExpression("^(?=.{0,6}$).*", ErrorMessage = "Must be 6 characters or less. ")]
       public string ParcelNo4{get; set;}

       [RegularExpression("^(?=.{0,6}$).*", ErrorMessage = "Must be 6 characters or less. ")]
       public string ParcelNo5{get; set;}

       [RegularExpression("^(?=.{0,6}$).*", ErrorMessage = "Must be 6 characters or less. ")]
       public string ParcelNo6{get; set;}

       [RegularExpression("^(?=.{0,6}$).*", ErrorMessage = "Must be 6 characters or less. ")]
       public string ParcelNo7{get; set;}

       [RegularExpression("^(?=.{0,6}$).*", ErrorMessage = "Must be 6 characters or less. ")]
       public string ParcelNo8{get; set;}

       [RegularExpression("^(?=.{0,6}$).*", ErrorMessage = "Must be 6 characters or less. ")]
       public string ParcelNo9{get; set;}

       [RegularExpression("^(?=.{0,6}$).*", ErrorMessage = "Must be 6 characters or less. ")]
       public string ParcelNo10{get; set;}

       [RegularExpression("^(?=.{0,1}$).*", ErrorMessage = "Must be 1 characters or less. ")]
       public string ParcelType{get; set;}

       [RegularExpression("^(?=.{0,1}$).*", ErrorMessage = "Must be 1 characters or less. ")]
       public string ParcelStatus{get; set;}

       [RegularExpression("^(?=.{0,25}$).*", ErrorMessage = "Must be 25 characters or less. ")]
       public string AlternateId{get; set;}

       [RegularExpression("[0-9]{0,9}", ErrorMessage = "Numeric values only. Must be 9 digits or less. ")]
       public string Acreage{get; set;}

       [RegularExpression("^(?=.{0,4}$).*", ErrorMessage = "Must be 4 characters or less. ")]
       public string PropertyCode{get; set;}

       [RegularExpression("[0-9]{0,5}", ErrorMessage = "Numeric values only. Must be 5 digits or less. ")]
       public string UndividedInterest{get; set;}

       [RegularExpression("^(?=.{0,5}$).*", ErrorMessage = "Must be 5 characters or less. ")]
       public string TownshipCode{get; set;}

       [RegularExpression("^(?=.{0,5}$).*", ErrorMessage = "Must be 5 characters or less. ")]
       public string InsideOutsideCode{get; set;}

       [RegularExpression("^(?=.{0,5}$).*", ErrorMessage = "Must be 5 characters or less. ")]
       public string CommissionerCode{get; set;}

       [RegularExpression("^(?=.{0,6}$).*", ErrorMessage = "Must be 6 characters or less. ")]
       public string GeneralLocationCode{get; set;}

       [RegularExpression("^(?=.{0,3}$).*", ErrorMessage = "Must be 3 characters or less. ")]
       public string ParcelDeliveryPoint{get; set;}

       [RegularExpression("^(?=.{0,3}$).*", ErrorMessage = "Must be 3 characters or less. ")]
       public string OwnerDeliveryPoint{get; set;}

       [RegularExpression("^(?=.{0,6}$).*", ErrorMessage = "Must be 6 characters or less. ")]
       public string UseZone{get; set;}

       [RegularExpression("[0-9]{0,7}", ErrorMessage = "Numeric values only. Must be 7 digits or less. ")]
       public string OwnerEffectiveDate{get; set;}

       [RegularExpression("^(?=.{0,1}$).*", ErrorMessage = "Must be 1 characters or less. ")]
       public string AddressHistory{get; set;}

       [RegularExpression("^(?=.{0,1}$).*", ErrorMessage = "Must be 1 characters or less. ")]
       public string OwnerHistory{get; set;}

       [RegularExpression("^(?=.{0,1}$).*", ErrorMessage = "Must be 1 characters or less. ")]
       public string AddressStatus{get; set;}

       [RegularExpression("[0-9]{0,7}", ErrorMessage = "Numeric values only. Must be 7 digits or less. ")]
       public string AddressEffectiveDate{get; set;}

       [RegularExpression("^(?=.{0,25}$).*", ErrorMessage = "Must be 25 characters or less. ")]
       public string IntersectionStreet{get; set;}

       [RegularExpression("^(?=.{0,2}$).*", ErrorMessage = "Must be 2 characters or less. ")]
       public string IntersectionDir{get; set;}

       [RegularExpression("^(?=.{0,4}$).*", ErrorMessage = "Must be 4 characters or less. ")]
       public string IntersectionSuffix{get; set;}

       [RegularExpression("^(?=.{0,6}$).*", ErrorMessage = "Must be 6 characters or less. ")]
       public string Subdivision1{get; set;}

       [RegularExpression("^(?=.{0,6}$).*", ErrorMessage = "Must be 6 characters or less. ")]
       public string Subdivision2{get; set;}

       [RegularExpression("^(?=.{0,7}$).*", ErrorMessage = "Must be 7 characters or less. ")]
       public string CensusTract7{get; set;}

       [RegularExpression("^(?=.{0,20}$).*", ErrorMessage = "Must be 20 characters or less. ")]
       public string PlatBookPage{get; set;}

       [RegularExpression("[0-9]{0,11}", ErrorMessage = "Numeric values only. Must be 11 digits or less. ")]
       public string Longitude11{get; set;}

       [RegularExpression("[0-9]{0,11}", ErrorMessage = "Numeric values only. Must be 11 digits or less. ")]
       public string Latitude11{get; set;}

       [RegularExpression("[0-9]{0,7}", ErrorMessage = "Numeric values only. Must be 7 digits or less. ")]
       public string OwnerDOB{get; set;}

       [RegularExpression("^(?=.{0,25}$).*", ErrorMessage = "Must be 25 characters or less. ")]
       public string ExtendedAddress{get; set;}

       [RegularExpression("^(?=.{0,48}$).*", ErrorMessage = "Must be 48 characters or less. ")]
       public string FreeFormAddress{get; set;}

       [RegularExpression("^(?=.{0,2}$).*", ErrorMessage = "Must be 2 characters or less. ")]
       public string FireZone{get; set;}

       [RegularExpression("^(?=.{0,1}$).*", ErrorMessage = "Must be 1 characters or less. ")]
       public string VarianceCode{get; set;}

       [RegularExpression("^(?=.{0,3}$).*", ErrorMessage = "Must be 3 characters or less. ")]
       public string InspectionArea{get; set;}

       [RegularExpression("^(?=.{0,4}$).*", ErrorMessage = "Must be 4 characters or less. ")]
       public string ParcelSplitCode{get; set;}

       [RegularExpression("[0-9]{0,15}", ErrorMessage = "Numeric values only. Must be 15 digits or less. ")]
       public string Longitude15{get; set;}

       [RegularExpression("[0-9]{0,15}", ErrorMessage = "Numeric values only. Must be 15 digits or less. ")]
       public string Latitude15{get; set;}

       [RegularExpression("^(?=.{0,8}$).*", ErrorMessage = "Must be 8 characters or less. ")]
       public string MapX{get; set;}

       [RegularExpression("^(?=.{0,8}$).*", ErrorMessage = "Must be 8 characters or less. ")]
       public string MapY{get; set;}

       [RegularExpression("^(?=.{0,11}$).*", ErrorMessage = "Must be 11 characters or less. ")]
       public string CensusTrac11{get; set;}

       public PostLocationUpdate()
       {
           //Set any defaults here
       }
   }
}
@* NOTE: Use Add->View to add the View. *@
@* NOTE: Check the 'Create strongly-typed view checkbox, and select the PostLocationUpdate class. *@
@* NOTE: Select Edit as the Scaffold template. *@
@* NOTE: Use the @model line that is generated at the top.  Replace the rest with the lines below.
@model FusionRazor.Models.PostLocationUpdate

@{
   ViewBag.Title = "PostLocationUpdate";
}

<h2>PostLocationUpdate</h2>
@using (Html.BeginForm()) {
   @Html.AntiForgeryToken()
   @Html.ValidationSummary(true)
   <fieldset>
   <legend>PostLocationUpdate</legend>
       <div class="editor-label">
           @Html.LabelFor(model => model.LocationID)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.LocationID)
           @Html.ValidationMessageFor(model => model.LocationID)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.StreetNo)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.StreetNo)
           @Html.ValidationMessageFor(model => model.StreetNo)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.StreetDir)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.StreetDir)
           @Html.ValidationMessageFor(model => model.StreetDir)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.StreetName)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.StreetName)
           @Html.ValidationMessageFor(model => model.StreetName)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.Apartment)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.Apartment)
           @Html.ValidationMessageFor(model => model.Apartment)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.StreetSuffix)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.StreetSuffix)
           @Html.ValidationMessageFor(model => model.StreetSuffix)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.StreetPostDir)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.StreetPostDir)
           @Html.ValidationMessageFor(model => model.StreetPostDir)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.StreetQualifier)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.StreetQualifier)
           @Html.ValidationMessageFor(model => model.StreetQualifier)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.StreetPreQual)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.StreetPreQual)
           @Html.ValidationMessageFor(model => model.StreetPreQual)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.StreetPostQual)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.StreetPostQual)
           @Html.ValidationMessageFor(model => model.StreetPostQual)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.ZipCode)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.ZipCode)
           @Html.ValidationMessageFor(model => model.ZipCode)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.CarrierRoute)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.CarrierRoute)
           @Html.ValidationMessageFor(model => model.CarrierRoute)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.OwnerName)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.OwnerName)
           @Html.ValidationMessageFor(model => model.OwnerName)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.OwnerType)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.OwnerType)
           @Html.ValidationMessageFor(model => model.OwnerType)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.OwnerAddress)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.OwnerAddress)
           @Html.ValidationMessageFor(model => model.OwnerAddress)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.OwnerAddress2)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.OwnerAddress2)
           @Html.ValidationMessageFor(model => model.OwnerAddress2)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.OwnerAddress3)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.OwnerAddress3)
           @Html.ValidationMessageFor(model => model.OwnerAddress3)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.OwnerZipCode)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.OwnerZipCode)
           @Html.ValidationMessageFor(model => model.OwnerZipCode)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.OwnerCarrierRoute)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.OwnerCarrierRoute)
           @Html.ValidationMessageFor(model => model.OwnerCarrierRoute)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.OwnerAreaCode)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.OwnerAreaCode)
           @Html.ValidationMessageFor(model => model.OwnerAreaCode)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.OwnerPhoneNo)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.OwnerPhoneNo)
           @Html.ValidationMessageFor(model => model.OwnerPhoneNo)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.Parcel)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.Parcel)
           @Html.ValidationMessageFor(model => model.Parcel)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.ParcelNo1)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.ParcelNo1)
           @Html.ValidationMessageFor(model => model.ParcelNo1)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.ParcelNo2)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.ParcelNo2)
           @Html.ValidationMessageFor(model => model.ParcelNo2)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.ParcelNo3)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.ParcelNo3)
           @Html.ValidationMessageFor(model => model.ParcelNo3)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.ParcelNo4)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.ParcelNo4)
           @Html.ValidationMessageFor(model => model.ParcelNo4)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.ParcelNo5)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.ParcelNo5)
           @Html.ValidationMessageFor(model => model.ParcelNo5)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.ParcelNo6)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.ParcelNo6)
           @Html.ValidationMessageFor(model => model.ParcelNo6)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.ParcelNo7)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.ParcelNo7)
           @Html.ValidationMessageFor(model => model.ParcelNo7)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.ParcelNo8)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.ParcelNo8)
           @Html.ValidationMessageFor(model => model.ParcelNo8)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.ParcelNo9)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.ParcelNo9)
           @Html.ValidationMessageFor(model => model.ParcelNo9)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.ParcelNo10)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.ParcelNo10)
           @Html.ValidationMessageFor(model => model.ParcelNo10)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.ParcelType)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.ParcelType)
           @Html.ValidationMessageFor(model => model.ParcelType)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.ParcelStatus)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.ParcelStatus)
           @Html.ValidationMessageFor(model => model.ParcelStatus)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.AlternateId)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.AlternateId)
           @Html.ValidationMessageFor(model => model.AlternateId)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.Acreage)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.Acreage)
           @Html.ValidationMessageFor(model => model.Acreage)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.PropertyCode)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.PropertyCode)
           @Html.ValidationMessageFor(model => model.PropertyCode)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.UndividedInterest)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.UndividedInterest)
           @Html.ValidationMessageFor(model => model.UndividedInterest)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.TownshipCode)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.TownshipCode)
           @Html.ValidationMessageFor(model => model.TownshipCode)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.InsideOutsideCode)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.InsideOutsideCode)
           @Html.ValidationMessageFor(model => model.InsideOutsideCode)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.CommissionerCode)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.CommissionerCode)
           @Html.ValidationMessageFor(model => model.CommissionerCode)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.GeneralLocationCode)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.GeneralLocationCode)
           @Html.ValidationMessageFor(model => model.GeneralLocationCode)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.ParcelDeliveryPoint)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.ParcelDeliveryPoint)
           @Html.ValidationMessageFor(model => model.ParcelDeliveryPoint)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.OwnerDeliveryPoint)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.OwnerDeliveryPoint)
           @Html.ValidationMessageFor(model => model.OwnerDeliveryPoint)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.UseZone)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.UseZone)
           @Html.ValidationMessageFor(model => model.UseZone)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.OwnerEffectiveDate)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.OwnerEffectiveDate)
           @Html.ValidationMessageFor(model => model.OwnerEffectiveDate)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.AddressHistory)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.AddressHistory)
           @Html.ValidationMessageFor(model => model.AddressHistory)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.OwnerHistory)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.OwnerHistory)
           @Html.ValidationMessageFor(model => model.OwnerHistory)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.AddressStatus)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.AddressStatus)
           @Html.ValidationMessageFor(model => model.AddressStatus)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.AddressEffectiveDate)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.AddressEffectiveDate)
           @Html.ValidationMessageFor(model => model.AddressEffectiveDate)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.IntersectionStreet)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.IntersectionStreet)
           @Html.ValidationMessageFor(model => model.IntersectionStreet)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.IntersectionDir)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.IntersectionDir)
           @Html.ValidationMessageFor(model => model.IntersectionDir)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.IntersectionSuffix)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.IntersectionSuffix)
           @Html.ValidationMessageFor(model => model.IntersectionSuffix)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.Subdivision1)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.Subdivision1)
           @Html.ValidationMessageFor(model => model.Subdivision1)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.Subdivision2)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.Subdivision2)
           @Html.ValidationMessageFor(model => model.Subdivision2)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.CensusTract7)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.CensusTract7)
           @Html.ValidationMessageFor(model => model.CensusTract7)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.PlatBookPage)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.PlatBookPage)
           @Html.ValidationMessageFor(model => model.PlatBookPage)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.Longitude11)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.Longitude11)
           @Html.ValidationMessageFor(model => model.Longitude11)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.Latitude11)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.Latitude11)
           @Html.ValidationMessageFor(model => model.Latitude11)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.OwnerDOB)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.OwnerDOB)
           @Html.ValidationMessageFor(model => model.OwnerDOB)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.ExtendedAddress)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.ExtendedAddress)
           @Html.ValidationMessageFor(model => model.ExtendedAddress)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.FreeFormAddress)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.FreeFormAddress)
           @Html.ValidationMessageFor(model => model.FreeFormAddress)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.FireZone)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.FireZone)
           @Html.ValidationMessageFor(model => model.FireZone)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.VarianceCode)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.VarianceCode)
           @Html.ValidationMessageFor(model => model.VarianceCode)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.InspectionArea)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.InspectionArea)
           @Html.ValidationMessageFor(model => model.InspectionArea)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.ParcelSplitCode)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.ParcelSplitCode)
           @Html.ValidationMessageFor(model => model.ParcelSplitCode)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.Longitude15)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.Longitude15)
           @Html.ValidationMessageFor(model => model.Longitude15)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.Latitude15)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.Latitude15)
           @Html.ValidationMessageFor(model => model.Latitude15)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.MapX)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.MapX)
           @Html.ValidationMessageFor(model => model.MapX)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.MapY)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.MapY)
           @Html.ValidationMessageFor(model => model.MapY)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.CensusTrac11)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.CensusTrac11)
           @Html.ValidationMessageFor(model => model.CensusTrac11)
       </div>
       <p>
       <input type="submit" value="Submit"/>
       </p>
   </fieldset>

}

@section Scripts {
   @Scripts.Render("~/bundles/jqueryval")
}
using System;
using System.Collections.Specialized;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using FusionServiceHelper.Models;

// NOTE: Replace 'MyController' with the name of your controller.

// 
// GET: /MyController/PostLocationUpdate
public ActionResult PostLocationUpdate()
{
   // Create a new instance of the model to pick up any default values.
   PostLocationUpdate model =  new PostLocationUpdate();

   // pass model to set to default values
   // NOTE: Change 'MyFolderPath' to the path to the .cshtml file.
   return View("~/Views/MyFolderPath/PostLocationUpdate.cshtml", model);
}

// 
// POST: /MyController/PostLocationUpdate
[HttpPost]
public ActionResult PostLocationUpdate(FormCollection collection)
{
   string url = "v2/NaviLine/Land/LocationUpdate";
   // Get the value from each input field
   NameValueCollection inputParms = new NameValueCollection();
   inputParms.Add("LocationID", collection["LocationID"]);
   inputParms.Add("StreetNo", collection["StreetNo"]);
   inputParms.Add("StreetDir", collection["StreetDir"]);
   inputParms.Add("StreetName", collection["StreetName"]);
   inputParms.Add("Apartment", collection["Apartment"]);
   inputParms.Add("StreetSuffix", collection["StreetSuffix"]);
   inputParms.Add("StreetPostDir", collection["StreetPostDir"]);
   inputParms.Add("StreetQualifier", collection["StreetQualifier"]);
   inputParms.Add("StreetPreQual", collection["StreetPreQual"]);
   inputParms.Add("StreetPostQual", collection["StreetPostQual"]);
   inputParms.Add("ZipCode", collection["ZipCode"]);
   inputParms.Add("CarrierRoute", collection["CarrierRoute"]);
   inputParms.Add("OwnerName", collection["OwnerName"]);
   inputParms.Add("OwnerType", collection["OwnerType"]);
   inputParms.Add("OwnerAddress", collection["OwnerAddress"]);
   inputParms.Add("OwnerAddress2", collection["OwnerAddress2"]);
   inputParms.Add("OwnerAddress3", collection["OwnerAddress3"]);
   inputParms.Add("OwnerZipCode", collection["OwnerZipCode"]);
   inputParms.Add("OwnerCarrierRoute", collection["OwnerCarrierRoute"]);
   inputParms.Add("OwnerAreaCode", collection["OwnerAreaCode"]);
   inputParms.Add("OwnerPhoneNo", collection["OwnerPhoneNo"]);
   inputParms.Add("Parcel", collection["Parcel"]);
   inputParms.Add("ParcelNo1", collection["ParcelNo1"]);
   inputParms.Add("ParcelNo2", collection["ParcelNo2"]);
   inputParms.Add("ParcelNo3", collection["ParcelNo3"]);
   inputParms.Add("ParcelNo4", collection["ParcelNo4"]);
   inputParms.Add("ParcelNo5", collection["ParcelNo5"]);
   inputParms.Add("ParcelNo6", collection["ParcelNo6"]);
   inputParms.Add("ParcelNo7", collection["ParcelNo7"]);
   inputParms.Add("ParcelNo8", collection["ParcelNo8"]);
   inputParms.Add("ParcelNo9", collection["ParcelNo9"]);
   inputParms.Add("ParcelNo10", collection["ParcelNo10"]);
   inputParms.Add("ParcelType", collection["ParcelType"]);
   inputParms.Add("ParcelStatus", collection["ParcelStatus"]);
   inputParms.Add("AlternateId", collection["AlternateId"]);
   inputParms.Add("Acreage", collection["Acreage"]);
   inputParms.Add("PropertyCode", collection["PropertyCode"]);
   inputParms.Add("UndividedInterest", collection["UndividedInterest"]);
   inputParms.Add("TownshipCode", collection["TownshipCode"]);
   inputParms.Add("InsideOutsideCode", collection["InsideOutsideCode"]);
   inputParms.Add("CommissionerCode", collection["CommissionerCode"]);
   inputParms.Add("GeneralLocationCode", collection["GeneralLocationCode"]);
   inputParms.Add("ParcelDeliveryPoint", collection["ParcelDeliveryPoint"]);
   inputParms.Add("OwnerDeliveryPoint", collection["OwnerDeliveryPoint"]);
   inputParms.Add("UseZone", collection["UseZone"]);
   inputParms.Add("OwnerEffectiveDate", collection["OwnerEffectiveDate"]);
   inputParms.Add("AddressHistory", collection["AddressHistory"]);
   inputParms.Add("OwnerHistory", collection["OwnerHistory"]);
   inputParms.Add("AddressStatus", collection["AddressStatus"]);
   inputParms.Add("AddressEffectiveDate", collection["AddressEffectiveDate"]);
   inputParms.Add("IntersectionStreet", collection["IntersectionStreet"]);
   inputParms.Add("IntersectionDir", collection["IntersectionDir"]);
   inputParms.Add("IntersectionSuffix", collection["IntersectionSuffix"]);
   inputParms.Add("Subdivision1", collection["Subdivision1"]);
   inputParms.Add("Subdivision2", collection["Subdivision2"]);
   inputParms.Add("CensusTract7", collection["CensusTract7"]);
   inputParms.Add("PlatBookPage", collection["PlatBookPage"]);
   inputParms.Add("Longitude11", collection["Longitude11"]);
   inputParms.Add("Latitude11", collection["Latitude11"]);
   inputParms.Add("OwnerDOB", collection["OwnerDOB"]);
   inputParms.Add("ExtendedAddress", collection["ExtendedAddress"]);
   inputParms.Add("FreeFormAddress", collection["FreeFormAddress"]);
   inputParms.Add("FireZone", collection["FireZone"]);
   inputParms.Add("VarianceCode", collection["VarianceCode"]);
   inputParms.Add("InspectionArea", collection["InspectionArea"]);
   inputParms.Add("ParcelSplitCode", collection["ParcelSplitCode"]);
   inputParms.Add("Longitude15", collection["Longitude15"]);
   inputParms.Add("Latitude15", collection["Latitude15"]);
   inputParms.Add("MapX", collection["MapX"]);
   inputParms.Add("MapY", collection["MapY"]);
   inputParms.Add("CensusTrac11", collection["CensusTrac11"]);

   try
   {
       // Send the request
       FusionServiceRequest request = new FusionServiceRequest();
       FusionServiceResult result = request.Post(url, inputParms);

       return View("Result", result);
   }
   catch(Exception e)
   {
       HandleErrorInfo info = new HandleErrorInfo(e, "MyController", "PostLocationUpdate");
       return View("Error", info);
   }
}