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 14 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

Details on authentication.

Exceptions and Error Handling

Details on this.

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/getVerification/<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 three main sections:

  • Summary
  • Entities
  • Relationships

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

Top-Level Entity Fields

Field NameDescriptionTypeExample
addressA structure encoding the address of the entity Address-
childrenThe children of an entity.

dataSourceDetails on the data source (e.g. a company register) used for getting information on a "business" entity.DataSource-
entityTypeThe type of the 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"
notesA list of notes associated with this entityNote-
verificationA structure encoding verification details for the entityVerification-

Address Object

Field NameDescriptionTypeExample
countryCodeThe address country code i.e. a two digit code.String"AU"
countryNameThe human-readable version of the country name.String"Australia"
fullAddressThe full address in a single StringString"39 Lyons Avenue, Murrays Bay, Auckland, New Zealand"
idThe ID of this address structureInteger789113

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)"

Note Object

Field NameDescriptionTypeExample
authorThe author of a noteStringjohn.doe@example.com
contextThe 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
idThe ID of this note structureInteger810489
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
idThe ID of this verification structureInteger810290
statusThe status of this verificationString"Not yet verified", "verified" etc.
  • No labels