...
Companies can be registered with GreenID greenID via Web Services in a similar manner to individuals.
...
There are two methods that can be used to register a company with GreenIDgreenID:
- registerCompany
- registerCompanySimpleAddress
One of these methods must be called as the first step when verification of a company is required. This method establishes a registration with GreenID that can be used as the basis of further checks.
The registerCompany Method
Method Signature
Code Block |
---|
public RichVerificationResult registerCompany |
...
( String customerId, String password, String clientId, String ruleId, String clientType, String abn, String acn, String companyName, String state, String postcode, String email, String phone, String fax, NameValuePair[] extraData) |
Parameters
Name | Type | Required? | Description | Contact |
---|---|---|---|---|
customerId | String | Yes | This parameter is GreenID's identifier for the client application. The value is supplied by GreenID, and must be included with each registration request. | Must be a valid identifier issued by GreenID. |
password | String | Yes | ||
clientId | String | Yes | An identifier for the company being registered, supplied by the customer, i.e. it is your identifier for the company being registered, not GreenID's. | No restrictions. |
ruleId | String | Yes | Specifies the predefined verification rule that this registration will be run against. By default, every customer has at least the rule named "default". | Must be a string and must match a predefined rule string specified in the system. The default rule is named "default". |
clientType | String | Yes | ||
abn | String | Yes | The ABN of the company being registered. | No restrictions. All spaces will be stripped prior to being stored. All non-digits are stripped prior to being used for verification purposes. |
acn | String | Yes | The ACN of the company being registered. | No restrictions. All spaces will be stripped prior to being stored. All non-digits are stripped prior to being used for verification purposes. |
companyName | String | Yes | The name of the company being registered. | Must be a string that is the valid legal name of the company or business entity being registered. |
state | String | Yes | The state in which the company is registered. | Must be one of:
|
postcode | String | Yes | The postcode compent of the company's address. | Must be a string comprising only four digits, i.e.: ^[\d]{4}$ |
String | Yes | The primay email contact for the company being registered. | Standard Hibernate validation is is used. | |
phone | String | Yes | The primary phone contact for the company being registered. | No restrictions, although non-digits are stripped when used for verification checks. Please don't include country codes. |
fax | String | No | The primary fax contact number for the company being registered. | Same as for phone numbers. |
extraData | NameValuePair[] | No | This parameter allowc the customer to send extra thata that will need to be agreed upon before implementation. It will be a simple key/value format. If there is no previous agreement for certain keys to be send in this field, then it will be ignored. |
...