...
The sequence of calls below illustrates a "full" scenario, where all of the Web Service methods are used.
- Call registerVerification with Call
registerVerification
with the person's basic details. Some background sources may pass, but the person requires further verification. - Call getSources to Call
getSources
to fetch a list of sources that will help the person become verified. The person selects "Medicare card" as the next data source they wish to attempt. - Call getFields for Call
getFields
for the "Medicare card" data source (source ID "medicare"), and present the person with input fields for the required data. - Call setFields for Call
setFields
for the "Medicare card" data source with the data supplied by the person. The result indicates the person requires further verification, and includes a list of sources that will help the person complete their verification. The person selects "NSW drivers' licence" as the next data source they wish to attempt. - Call getFields for Call
getFields
for the "NSW driver's licence" data source (source ID "nswrego"), and present the person with input fields for the required data. - Call setFields for Call
setFields
for the "NSW driver's licence" data source with the data supplied by the person. The result indicates the person has completed their verification, so the process ends here.
...
The sequence of calls below illustrates a streamlined scenario, where the customer decides which data sources are offered, and uses their prior knowledge of the required fields in order to collect data from the person. The scenario is the same as the one above, but with some calls removed.
- Call registerVerification with Call
registerVerification
with the person's basic details. Some background sources may pass, but the person requires further verification. - Call setFields for Call
setFields
for the "Medicare card" data source with the data supplied by the person. The result indicates the person requires further verification, and includes a list of sources that will help the person complete their verification. The person selects "NSW drivers' licence" as the next data source they wish to attempt. - Call setFields for Call
setFields
for the "NSW driver's licence" data source with the data supplied by the person. The result indicates the person has completed their verification, so the process ends here.