Method PostAccountInquiry

Summary

Account Inquiry

Remarks

Returns owner, current bill, and location information

Input Parameters

NameTypeLengthDescription
taxID numeric 9 Tax Account ID
ownerName System.String 30 Owner Name
taxYear numeric 4 Tax Year
VINNumber yn 1 VIN Number Y/N

Example

POST http://localhost/FusionServices/v3/Naviline/Tax/AccountInquiry

Return Values

NameDescription
TaxID Tax account number
LocationID Location ID
AccountType Account Type
OwnerName Owner Name
OwnerSecond Owner Second Name
OwnerBill Owner Billing Name
PropertyDescription Property street address
PropertyCity Property City
PropertyState Property State
PropertyZip Property Zip
AssessedValue Assessed Value Amount
Exemptions Exemption Amount
NetValue Net Value
CurrentTaxYear Current Tax Year
CurrentLabel Current Tax Label
CurrentBillTax Current Bill Tax Amount
CurrentAmountDue Current Amount Due
CurrentTaxOwed Current Tax Owed
PenaltyInCollection Penalty Amount In Collection
RollDescription Roll Description
Subdivision Subdivision
BookPage Book Page
Acreage Acreage
PropertyUse Property Use
LandKeyHeader Land Key description
LandKey Land Key
AlernateIDHeader Alternate ID description
AlternateID Alternate ID
Rows township status
Jurisdiction Inside/outside code
DiscountAmount
CreditAmount
MotorVehicleVIN

Sample Responses

Sample Code

using System.Net;

string uri = "http://localhost/FusionServices/v3/Naviline/Tax/AccountInquiry";
System.Collections.Specialized.NameValueCollection postParms = 
     new System.Collections.Specialized.NameValueCollection(); 

postParms.Add("taxID",System.Web.HttpUtility.UrlEncode("000290359"));
postParms.Add("taxYear",System.Web.HttpUtility.UrlEncode("2015"));
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 PostAccountInquiry
   {
       // Add property for each input param in order to map a field to it
       [RegularExpression("[0-9]{0,9}", ErrorMessage = "Numeric values only. Must be 9 digits or less. ")]
       public string taxID{get; set;}

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

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

       [RegularExpression("^[YN]{0,1}$", ErrorMessage = "Must be Y or N.")]
       public string VINNumber{get; set;}

       public PostAccountInquiry()
       {
           //Set any defaults here
       }
   }
}
@* NOTE: Use Add->View to add the View. *@
@* NOTE: Check the 'Create strongly-typed view checkbox, and select the PostAccountInquiry 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.PostAccountInquiry

@{
   ViewBag.Title = "PostAccountInquiry";
}

<h2>PostAccountInquiry</h2>
@using (Html.BeginForm()) {
   @Html.AntiForgeryToken()
   @Html.ValidationSummary(true)
   <fieldset>
   <legend>PostAccountInquiry</legend>
       <div class="editor-label">
           @Html.LabelFor(model => model.taxID)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.taxID)
           @Html.ValidationMessageFor(model => model.taxID)
       </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.taxYear)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.taxYear)
           @Html.ValidationMessageFor(model => model.taxYear)
       </div>
       <div class="editor-label">
           @Html.LabelFor(model => model.VINNumber)
       </div>
       <div class="editor-field">
           @Html.EditorFor(model => model.VINNumber)
           @Html.ValidationMessageFor(model => model.VINNumber)
       </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/PostAccountInquiry
public ActionResult PostAccountInquiry()
{
   // Create a new instance of the model to pick up any default values.
   PostAccountInquiry model =  new PostAccountInquiry();

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

// 
// POST: /MyController/PostAccountInquiry
[HttpPost]
public ActionResult PostAccountInquiry(FormCollection collection)
{
   string url = "v3/Naviline/Tax/AccountInquiry";
   // Get the value from each input field
   NameValueCollection inputParms = new NameValueCollection();
   inputParms.Add("taxID", collection["taxID"]);
   inputParms.Add("ownerName", collection["ownerName"]);
   inputParms.Add("taxYear", collection["taxYear"]);
   inputParms.Add("VINNumber", collection["VINNumber"]);

   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", "PostAccountInquiry");
       return View("Error", info);
   }
}