Search Addresses by Owner

Returns addresses associated with the specified owner.

Get Addresses by Owner is equivalent to the legacy Accela GIS SOAP API getExternalAddressByOwner.

For an overview, see Addresses.

URI

POST /api/geo/v1/xapo/{agencyId}/addresses/byOwner

Request JSON Syntax

{
  "owner" :
  {
  "UID": "string",
  "address": "string",
  "address1": "string",
  "address2": "string",
  "address3": "string",
  "auditDate": "string",
  "auditID": "string",
  "auditStatus": "string",
  "city": "string",
  "country": "string",
  "email": "string",
  "eventID": "string",
  "fax": "string",
  "faxCountryCode": "string",
  "isPrimary": "string",
  "ivrPinNumber": "string",
  "ivrUserNumber": "string",
  "mailAddress": "string",
  "mailAddress1": "string",
  "mailAddress2": "string",
  "mailAddress3": "string",
  "mailCity": "string",
  "mailCountry": "string",
  "mailState": "string",
  "mailZip": "string",
  "ownerFirstName": "string",
  "ownerFullName": "string",
  "ownerLastName": "string",
  "ownerMiddleName": "string",
  "ownerStatus": "string",
  "ownerTitle": "string",
  "phone": "string",
  "phoneCountryCode": "string",
  "sourceSeqNumber": "string",
  "state": "string",
  "taxID": "string",
  "zip": "string",
  "userDefinedFields": [
     {
       "fieldName":"string",
       "fieldValue":"string"
     },
     {
       "fieldName":"string",
       "fieldValue":"string"
     }
  ]
  },
  "settings":
  {
  "maxRows": "int",
  "startRow": "int",
  "orderBy": "string"
  }
}

Response JSON Syntax

{
  "result":
  [
  {
  "UID": "string",
  "XCoordinator": "string",
  "YCoordinator": "string",
  "addressDescription": "string",
  "addressLine1": "string",
  "addressLine2": "string",
  "addressStatus": "string",
  "addressTypeFlag": "string",
  "auditDate": "string",
  "auditID": "string",
  "auditStatus": "string",
  "city": "string",
  "country": "string",
  "countryCode": "string",
  "county": "string",
  "distance": "string",
  "eventID": "string",
  "fullAddress": "string",
  "houseFractionEnd": "string",
  "houseFractionStart": "string",
  "houseNumberAlphaEnd": "string",
  "houseNumberAlphaStart": "string",
  "houseNumberEnd": "string",
  "houseNumberStart": "string",
  "houseNumberEndFrom": "string",
  "houseNumberEndTo": "string",
  "houseNumberStartFrom": "string",
  "houseNumberStartTo": "string",
  "inspectionDistrict": "string",
  "inspectionDistrictPrefix": "string",
  "levelPrefix": "string",
  "levelNumberStart": "string",
  "levelNumberEnd": "string",
  "lot": "string",
  "neighborhood": "string",
  "neighborhoodPrefix": "string",
  "primaryFlag": "string",
  "refAddressType": "string",
  "secondaryRoad": "string",
  "secondaryRoadNumber": "string",
  "sourceFlag": "string",
  "state": "string",
  "streetDirection": "string",
  "streetName": "string",
  "streetPrefix": "string",
  "streetSuffix": "string",
  "streetSuffixdirection": "string",
  "subdivision": "string",
  "unitEnd": "string",
  "unitStart": "string",
  "unitType": "string",
  "zip": "string",
  "userDefinedFields": [
     {
       "fieldName":"string",
       "fieldValue":"string"
     },
     {
       "fieldName":"string",
       "fieldValue":"string"
     }
  ]
  },
  {
  "UID": "string",
  "XCoordinator": "string",
  "YCoordinator": "string",
  "addressDescription": "string",
  "addressLine1": "string",
  "addressLine2": "string",
  "addressStatus": "string",
  "addressTypeFlag": "string",
  "auditDate": "string",
  "auditID": "string",
  "auditStatus": "string",
  "city": "string",
  "country": "string",
  "countryCode": "string",
  "county": "string",
  "distance": "string",
  "eventID": "string",
  "fullAddress": "string",
  "houseFractionEnd": "string",
  "houseFractionStart": "string",
  "houseNumberAlphaEnd": "string",
  "houseNumberAlphaStart": "string",
  "houseNumberEnd": "string",
  "houseNumberStart": "string",
  "houseNumberEndFrom": "string",
  "houseNumberEndTo": "string",
  "houseNumberStartFrom": "string",
  "houseNumberStartTo": "string",
  "inspectionDistrict": "string",
  "inspectionDistrictPrefix": "string",
  "levelPrefix": "string",
  "levelNumberStart": "string",
  "levelNumberEnd": "string",
  "lot": "string",
  "neighborhood": "string",
  "neighborhoodPrefix": "string",
  "primaryFlag": "string",
  "refAddressType": "string",
  "secondaryRoad": "string",
  "secondaryRoadNumber": "string",
  "sourceFlag": "string",
  "state": "string",
  "streetDirection": "string",
  "streetName": "string",
  "streetPrefix": "string",
  "streetSuffix": "string",
  "streetSuffixdirection": "string",
  "subdivision": "string",
  "unitEnd": "string",
  "unitStart": "string",
  "unitType": "string",
  "zip": "string",
  "userDefinedFields": [
     {
       "fieldName":"string",
       "fieldValue":"string"
     },
     {
       "fieldName":"string",
       "fieldValue":"string"
     }
  ]
  }
  ],
  "totalRecords": "int"
  }

Request Field Descriptions

Parameter Type Required Description
agencyId String Yes The required agency parameter. The XAPO field mapping must be configured for the requested agency on the GIS Admin site.
owner owner { } Yes The owner JSON object containing owner request parameters.
owner.UID String No A unique identifier for the external owner
owner.address String No The Address field from the Reference Owner List
owner.address1 String No The first line of the owner's address
owner.address2 String No The second line of the owner's address
owner.address3 String No The third line of the owner's address
owner.auditDate Date Yes The creation date or modification date of the owner record
owner.auditID String Yes The identification code of the person who created or modified the owner record
owner.auditStatus String No A single character code representing audit status
owner.city String No The city in which the owner lives
owner.country String No The country in which the owner lives
owner.email String No The owner’s email address
owner.eventID String No Any event scheduled for this owner
owner.fax String No The owner’s fax number
owner.faxCountryCode String No The three character code indicating the fax country. In Accela Automation, you enable the fax country codes through the PHONE_NUMBER_IDD_ENABLE standard choice.
owner.isPrimary String No Is Primary
owner.ivrPinNumber   No The user’s IVR Pin Number
owner.ivrUserNumber   No The automatically generated IVR user number
owner.mailAddress   No  
owner.mailAddress1 String No The first line of the owner’s mailing address
owner.mailAddress2 String No The second line of the owner’s mailing address
owner.mailAddress3 String No The third line of the owner’s mailing address
owner.mailCity String No The city of the owner’s mailing address
owner.mailCountry String No The country of the owner’s mailing address
owner.mailState String No The state of the owner’s mailing address
owner.mailZip String No The zip code of the owner’s mailing address
owner.ownerFirstName String No The owner’s first name
owner.ownerFullName String No The owner’s full name
owner.ownerLastName String No The owner’s last name
owner.ownerMiddleName String No The owner’s middle name
owner.ownerStatus String No The status of the owner, either disabled (I) or enabled (A)
owner.ownerTitle String No The owner’s title
owner.phone String No The owner's daytime telephone number
owner.phoneCountryCode String No The three character code indicating the phone country. In Accela Automation, you enable the phone country codes through the PHONE_NUMBER_IDD_ENABLE standard choice.
owner.sourceSeqNumber NA No The ID number that you use to identify the owner in the external APO database
owner.state String No The configured state name in which the address exists
owner.taxID String No The owner’s tax ID
owner.zip String No The zip code for the owner’s address
owner.userDefinedFields Array No Contains owner template custom fields
owner.userDefinedFields.fieldName String No A custom field name
owner.userDefinedFields.fieldValue String No A custom field value
Parameter Type Required Description
settings settings { } No The settings object containing settings request parameters.
settings.maxRows integer No The maximum number of rows to be returned.

Note: If the search results are greater than the feature count limit configured on GIS Administration > XAPO Configuration, the API returns an error indicating the exceeded feature count limit. In this case, the API caller should re-submit the query with a narrower criteria or set the maxRows page setting to a number less than the feature count limit.

settings.startRow integer No The 1-based row index of the first record to be returned.
settings.orderBy String No The returned rows will be sorted by the specified field(s) in the specified order. The format is <field> <order>, where <order> is either ASC for ascending or DESC for descending order. The default order is ascending.

To specify multiple fields, use the format: <field1> <order>, <fieldN> <order>

For example: "streetName ASC,houseNumberStart DESC"

Response Field Descriptions

Parameter Type Description  
addresses [ ] addresses{ } An array containing the result addresses.  
addresses.UID String A unique identifier for the external address  
addresses.XCoordinator Number The longitudinal coordinate for the address (from a GPS device)  
addresses.YCoordinator Number The latitudinal coordinate for the address (from a GPS device)  
addresses.addressDescription String An unstructured description of the address  
addresses.addressLine1 String The first line of the address  
addresses.addressLine2 String The second line of the address  
addresses.addressStatus String The current status of the address record, either disabled (I) or enabled (A)  
addresses.addressTypeFlag String A single character code indicating the address type  
addresses.auditDate Date The creation date or modification date of the address record  
addresses.auditID String The identification code of the person who created or modified the address  
addresses.auditStatus String A single character code indicating the audit status, either disabled (I) or enabled (A)  
addresses.city String The city in which the address locates  
addresses.country String The country in which the address locates  
addresses.countryCode String The two character code indicating the country. In Accela Automation, you set country codes through a standard choice.  
addresses.county String The county in which the address exists  
addresses.distance Number The distance to a landmark (used to locate the address)  
addresses.eventID Number The name of an event scheduled for the address  
addresses.fullAddress String The full address  
addresses.houseFractionEnd String Indicates the ending fraction of a street number, specified by the houseNumberEnd property. Used with the houseFractionStart property to locate an address.  
addresses.houseFractionStart String Indicates the starting fraction of a street number, specified by the houseNumberStart property. Used with the houseFractionEnd property to locate an address.  
addresses.houseNumberAlphaEnd String Indicates the ending street number that makes up the address. The street number can consist of alphanumeric characters. For example, if the street is 10-23A WHITESTONE, 23A is the ending street number.  
addresses.houseNumberAlphaStart String Indicates the beginning street number that makes up the address. The street number can consist of alphanumeric characters. For example, if the street is 10-23A WHITESTONE, 10 is the beginning street number.  
addresses.houseNumberEnd Number Specifies the ending house number in a range of house numbers. Used with the houseNumberStart property to specify a range of numbers to search from within when looking for an address.  
addresses.houseNumberEndFrom String Specifies the range search From field of Street # (End). Can only be used as a search criterion.  
addresses.houseNumberEndTo String Specifies the range search To field of Street # (End). Can only be used as a search criterion.  
addresses.houseNumberStart Number Specifies the starting house number in a range of house numbers. Used with the houseNumberEnd property to specify a range of numbers to search from within when looking for an address.  
addresses.houseNumberStartFrom String Specifies the range search From field of Street # (Start). Can only be used as a search criterion.  
addresses.houseNumberStartTo String Specifies the range search To field of Street # (Start). Can only be used as a search criterion.  
addresses.inspectionDistrict String The inspection district within which the address exists  
addresses.inspectionDistrictPrefix String The prefix for the inspection district within which the address exists  
addresses.levelNumberEnd String Indicates the ending level number (floor number) that makes up the address within a complex, used to identify a floor or level of a multi-story building/sub-complex.  
addresses.levelNumberStart String Indicates the beginning level number (floor number) that makes up the address within a complex, used to identify a floor or level of a multi-story building/sub-complex.  
addresses.levelPrefix String Indicates the prefix for the level numbers (floor numbers) that make up the address.  
addresses.lot String The name of the lot within which the address resides  
addresses.neighborhood String The name of the neighborhood within which the address exists  
addresses.neighborhoodPrefix String The prefix for the neighborhood within which the address exists  
addresses.primaryFlag String Indicates whether the address is the primary residence or business location associated with a record. Only one address can be the primary address.  
addresses.refAddressType String The name of the address type. In Accela Automation, you set address types through the REF_ADDRESS_TYPE standard choice. The available values include: Parcel Address, Street ROW Address, Asset Address, and so forth.  
addresses.secondaryRoad String The road name of the secondary address  
addresses.secondaryRoadNumber Number The number of the secondary address  
addresses.sourceFlag String A code indicating the Accela application (Accela Automation, Kiva, or Tidemark, for example) that stores address information  
addresses.state String A two letter abbreviation for the state in which the address exists  
addresses.streetDirection String The street direction of the primary address (N for North Broadway, for example)  
addresses.streetName String The street name for the primary address.  
addresses.streetPrefix String The street prefix for the primary address  
addresses.streetSuffix String The street suffix for the primary address, such as Street, Avenue, or Boulevard  
addresses.streetSuffixdirection String Street Suffix Direction  
addresses.subdivision String The name of the subdivision  
addresses.unitEnd String The ending unit number, in a range of units, specified in a search  
addresses.unitStart String The beginning unit number, in a range of units, specified in a search  
addresses.unitType String The type of structure for this address, for example, apartment or condo  
addresses.zip String The zip code for the address  
addresses.userDefinedFields Array Contains address template custom fields  
addresses.userDefinedFields.fieldName String A custom field name  
addresses.userDefinedFields.fieldValue String A custom field value  
totalRecords integer The total number of records that match the search criteria  

Sample Request

The following example searches addresses by an owner name.

http://[GISBASEURL]/agis/api/geo/v1/xapo/flagstaff/addresses/byOwner

Sample request body:

{
 "owner" :
 {
	"ownerfullname":"Saland",	
	"ownerlastname":"David",	
	"ownermiddlename":"K"	
 }
}

Sample Response

{
  "result": [
    {
      "UID": "006433006",
      "addressLine1": "25",
      "city": "PETALUMA",
      "eventID": "11800",
      "houseNumberStart": "25",
      "secondaryRoad": "AVE",
      "state": "CA",
      "streetDirection": " ",
      "streetName": "GRAYLAWN",
      "streetSuffix": " ",
      "zip": "94952"
    },
    {
      "UID": "006423031",
      "addressLine1": "11",
      "city": "PETALUMA",
      "eventID": "10867",
      "houseNumberStart": "11",
      "secondaryRoad": "DR",
      "state": "CA",
      "streetDirection": " ",
      "streetName": "ROCCA",
      "streetSuffix": " ",
      "zip": "94952"
    },
    {
      "UID": "007441015",
      "addressLine1": "891",
      "city": "PETALUMA",
      "eventID": "12425",
      "houseNumberStart": "891",
      "secondaryRoad": "LN",
      "state": "CA",
      "streetDirection": " ",
      "streetName": "HOLLY",
      "streetSuffix": " ",
      "zip": "94952"
    },
    {
      "UID": "006433008",
      "addressLine1": "7",
      "city": "PETALUMA",
      "eventID": "11429",
      "houseNumberStart": "7",
      "secondaryRoad": "DR",
      "state": "CA",
      "streetDirection": " ",
      "streetName": "CORDELIA",
      "streetSuffix": " ",
      "zip": "94952"
    }
  ],
  "totalRecords": 4
}