Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info
titleAPI Versions

This documentation relates to Version 1, the current version of the greenID Business API. Version 1 became available to customers as of 

Authentication

HTTP basic authentication is used for accessing the endpoint. The username is a customer account ID, and the password is a customer's GreenID web services password. 

...

The output from the getVerification call will be in JSON format, and contains three main sections:

  • Summary (rootVerification)
  • Entities
  • Relationships
  • rootBusiness

An entity could be an individual or business, and relationships are the connections between different entities. Each of these will have a unique ID.

...

The following section gives details on the fields in each entity structure.

Entity Object (individual)

Field NameDescriptionTypeExample
addressA structure encoding the address of the entity Address-
dataSourceDetails on the data source (e.g. a company register) used for getting information on a "business" this entity.DataSource-
dobDate of birth for this individualString"25/05/1947"
entityTypeThe type of the this entityString"business" or "individual"
fromDataSourceWhether or not this entity came from a data source (e.g. a lookup of a company register).Boolean"true" or "false"
givenNameThe given name of this individualString"John"
idThe ID of this entityInteger789112
middleNamesMiddle name(s) for this individualString"Clive"
notesA list of notes associated with this entity

List of Notes

-
surnameThe surname of this individualString"Smith"
verificationA structure encoding verification details for the entityVerification-
verificationNeverRequiredWhether or not verification is required for this entityBoolean"true" or "false"

Address Object

Field NameDescriptionTypeExample
countryCodeThe address country code i.e. a two digit code.String"NZ"
countryNameThe human-readable version of the country name.String"New Zealand"
fullAddressThe full address in a single StringString"67 HAVEN ROAD, NELSON 7010, NEW ZEALAND"
idThe ID of this address structureInteger789113
postcodeThe address postcode (only available if address has been validated)String"7010"
streetNameThe address street namename (only available if address has been validated)String"HAVEN"
streetNumberThe street numbernumber (only available if address has been validated)String"67"
streetTypeThe type of streetstreet (only available if address has been validated)String"ROAD"
townCityThe town or city of the address (only available if address has been validated)String"NELSON"

DataSource Object

...