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. 

...

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"
postcodeThe address postcode (only available if address has been validated)String"7010"
streetNameThe address street name (only available if address has been validated)String"HAVEN"
streetNumberThe street number (only available if address has been validated)String"67"
streetTypeThe type of street (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"

...

relatedEntity active related
Field NameDescriptionTypeExample
businessRelatedToThe ID of the business entity in this relationship. An example would be a business that is owned by a shareholder in a shareholding relationship.Integer789558
exemptionReasonIf present this will detail why this relationship exempts the associated entityString"Ownership percentage is below threshold of 25"
789587
fieldsA list of fields associated with this relationshipList of Fields-
idThe ID of this relationshipInteger789557
businessRelatedTorelatedEntityThe ID of the passive related entity in this relationshipentity which is related to the business specified in the "businessRelatedTo" field. An example would be the shareholder in a shareholding relationship. A related entity can be a business or an individual.Integer789587789558
typeThe type of this relationshipString"Company office holder", "Shareholder", "Ultimate Holding Company" etc.
verificationNotRequiredWhether or not this relationship means that verification is not required for the associated entityBoolean"true" or "false"
verificationNotRequiredReasonIf present this will detail why this relationship exempts the associated entityString"Ownership percentage is below threshold of 25"

Field Object

789561
Field NameDescriptionTypeExampleidThe ID of this fieldInteger
nameThe name of this fieldString"controllerType", "additionalInformation", "allocationNumber", "shareAllocation", "totalSharesInCapitalGroup", "allocationNumber", "ownershipPercentage" etc.
valueIf present, gives the value of this fieldString"Director"
verificationThresholdIf present, gives the percentage verification threshold for this fieldString"25"

...