generateHostedInviteURLForOnboarding
This method will be available in Test on 9th November 2023 and Production on 21st November 2023.
This method checks that the input account is enabled for Hosted, performs a registration/validation using the input details and then will prepare a link to the hosted site and send the URL back in the response.
SOAP
Inputs Parameters
Field Name | Type | Required | Restrictions |
---|---|---|---|
accountId | String | Yes | greenID issues each customer with an accountId, which is a unique identifier by which greenID knows the caller. This |
password | String | Yes | Each customer is issued a password that must be supplied with every call to any web method in the API. |
verificationId | String | No (may be null) | Each verification attempt for a person must have a |
ruleId | String | No (may be null) | Callers have a specific rule configured for their greenID Hosted account. This string must identify a rule. Contact greenID for the name of the rule configured for your Hosted account. If only one rule is configured, then the string “default” will automatically select that rule. |
extraData | List <NameValuePair> | No | This parameter allows the customer to send extra data 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 sent in this field then it will be ignored. |
For further information on the data structures used in this API please refer to: Data Structures V3.
Return Values
The API call returns a GreenIDHostedServiceResult containing the following data:
Field Name | Type | Description |
---|---|---|
verificationId | String | The reserved verificationID or the ID generated by greenID. |
hostedInviteUrl | String | The unqiue URL linked to the verification ID. |
responseErrorFlag | Boolean | True = an error occurred |
responseErrorMessage | String | A message providing information regarding the error that occurred. |
errorReasonCode | String | Indicates the type of error that occurred. |
Sample SOAP Request and Response
JSON
Inputs Parameters
Field Name | Type | Required | Restrictions |
---|---|---|---|
accountId | String | Yes | greenID issues each customer with an accountId, which is a unique identifier by which greenID knows the caller. This |
password | String | Yes | Each customer is issued a password that must be supplied with every call to any web method in the API. |
verificationId | String | No (may be null) | Each verification attempt for a person must have a |
ruleId | String | No (may be null) | Callers have a specific rule configured for their greenID Hosted account. This string must identify a rule. Contact greenID for the name of the rule configured for your Hosted account. If only one rule is configured, then the string “default” will automatically select that rule. |
extraData | List <NameValuePair> | No | This parameter allows the customer to send extra data 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 sent in this field then it will be ignored. |
Return Values
The API call returns a GreenIDHostedServiceResult containing the following data:
Field Name | Type | Description |
---|---|---|
verificationId | String | The reserved verificationID or the ID generated by greenID. |
hostedInviteUrl |
| The unqiue URL linked to the verification ID. |
responseErrorFlag | Boolean | True = an error occurred |
responseErrorMessage | String | A message providing information regarding the error that occurred. |
errorReasonCode | String | Indicates the type of error that occurred. |
hostedInviteUrl |
| The unqiue URL linked to the verification ID. |
Sample JSON Request and Response
Exceptions and Errors
Detailed Exception and Error information for SOAP and JSON for this method is available on Exceptions and Errors.
Useful Links:
On This Page
- 1.1 SOAP
- 1.1.1 Inputs Parameters
- 1.1.2 Return Values
- 1.1.3 Sample SOAP Request and Response
- 1.2 JSON
- 1.2.1 Inputs Parameters
- 1.2.2 Return Values
- 1.2.3 Sample JSON Request and Response
- 1.3 Exceptions and Errors
- 1.1 SOAP
- 2 Useful Links: