Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 49 Next »

API 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 your customer account ID, and the password is a customer's GreenID web services password. 

This is extra text

Exceptions and Error Handling

We return an error response in JSON format if an exception occurs. An example of this is as follows:

{
  "error": "Not found",
  "message": "No verification with ID: 1775",
  "status": 404
}

Example errors include:

  • Not Found (404)
  • Unauthorized (401)
  • Internal Server Error (500)

Methods Available

getVerification

In Version 1 of the API a single RESTful endpoint is available for getting back information on a given verification. The URL to call will be something like:

http://au.vixverify.com/vixbiz/api/v1/businessVerification/<verification_reference_id>

Input Parameters

NameTypeRequiredRestrictions
verification_reference_idStringYesMust be got from the interactive version of the system

Output

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

  1. businessVerificationReference
  2. Entities
  3. Relationships
  4. 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.

businessVerificationReference

Field NameDescriptionTypeExample
businessVerificationReferenceThe value of the original verification_reference_id that was requested Integer1097

Entities

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 this entity.DataSource-
dobDate of birth for this individualString"25/05/1947"
entityTypeThe type of this entityString"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"

Entity Object (Business)

Field NameDescriptionTypeExample
addressA structure encoding the address of the entity Address-
businessNumberThe business number for this entityString"111307361"
businessStatusThe status of the business as returned from a business registerString"Registered"
businessSubtypeThe business subtypeString"AU Limited Company"
businessTypeThe type of businessString"company"
countryOfRegistrationThe country where the business is registered, in the form of a two-letter country codeString"AU"
dataSourceDetails on the data source (e.g. a company register) used for getting information on this entity.DataSource-
documentsA list of documents associated with this entityList of Documents-
entityTypeThe type of this entityString"business"
existenceVerifiedWhether or not the existence of this entity has been verified or notBoolean"true" or "false"
foundInRegisterWhether or not this entity was found in a company registerBoolean"true" or "false"
fromDataSourceWhether or not this entity came from a data source (e.g. a lookup of a company register).Boolean"true" or "false"
idThe ID of this entityInteger1096
nameThe name of this businessString"Acme Pty Ltd"
notesA list of notes associated with this entityList of Notes-
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"
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"

DataSource Object

Field NameDescriptionTypeExample
nameThe human-readable name of this data sourceString"the New Zealand Business Number Register"
typeThe type of the business returnedString"company (nzco)"

Document Object

Field NameDescriptionTypeExample
creationTimeThe time when this document was created (uploaded)String"2018-08-15 06:18:19.929+0000"
documentURLA URL where this document can be downloadedString"https://au.vixverify.com/vixbiz/api/v1/document/1854"
evidenceTypeThe type of evidence that this document isString"Statutory declaration"
fileSizeThe size of the document file, in bytes.Integer297054
nameThe original document filename String"file.pdf"
verificationThe verification associated with this documentVerification-

Note Object

Field NameDescriptionTypeExample
authorThe author of a noteStringjohn.doe@example.com
contextIf present, the context that the note is associated with e.g. exempting an item from verification etc. StringexemptFromVerification
creationTimeA timestamp for when this note was createdString2018-08-08 00:00:09.217+0000
textThe note textString"A note"

Verification Object

Field NameDescriptionTypeExample
dateDueThe due date for this verificationString2018-08-08 00:00:09.217+0000
dateNominatedThe date that this verification was nominated (created)String2018-08-07 23:16:47.065+0000
greenIDVerificationIdIf present, gives the GreenID verification ID for this verificationStringpnP7urdr
statusThe status of this verificationString"Verified"

Relationships

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

Relationship Object

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.Integer789587
fieldsA list of fields associated with this relationshipList of Fields-
idThe ID of this relationshipInteger789557
relatedEntityThe ID of the entity 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.Integer789558
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

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

rootBusiness Object

This object gives details on the root business that was originally searched for. 

Field NameDescriptionTypeExample
addressA structure encoding the address of the entity Address-
businessNumberThe business number for this entityString"111307361"
businessStatusThe status of the business as returned from a business registerString"Registered"
businessTypeThe type of businessString"company"
countryOfRegistrationThe country where the business is registered, in the form of a two-letter country codeString"AU"
dataSourceDetails on the data source (e.g. a company register) used for getting information on this entity.DataSource-
documentsA list of documents associated with this entityList of Documents-
entityTypeThe type of this entityString"business"
existenceVerifiedWhether or not the existence of this entity has been verified or notBoolean"true" or "false"
foundInRegisterWhether or not this entity was found in a company registerBoolean"true" or "false"
fromDataSourceWhether or not this entity came from a data source (e.g. a lookup of a company register).Boolean"true" or "false"
idThe ID of this entityInteger1097
nameThe name of this businessString"Acme Pty Ltd"
notesA list of notes associated with this entityList of Notes-
verificationA structure encoding verification details for the entityVerification-
verificationNeverRequiredWhether or not verification is required for this entityBoolean"true" or "false"
  • No labels