Skip to main content

Test an invalid transaction:

Out:

<transaction>
    <type>9</type>
    <data>
<value> INVALID
</value>
 </data> </transaction>

In:

<transaction>
    <type>9</type>
    <data>
<value>INVALID
</value>
</data>
</transaction>

Pre-register a user:

Out:

<transaction> 
<type>10</type>
<data>
<token-registration-code>wer09211</token-registration-code>
<pre-registration-code>1234asdf</pre-registration-code>
<domaincode>192168001095</domaincode>
<error-code>null</error-code>
<result>null</result>
</data>
</transaction>

In:

<transaction>
  <type>10</type>
<data>
<token-registration-code>null</token-registration-code>
<pre-registration-code>null</pre-registration-code>
<domaincode>null</domaincode>
<error-code>2</error-code>
<result>FAILED</result>
</data>
</transaction>

Add pre-registration:

Out:

<transaction>
 <type>11</type>
 <data>
<add-preregistration-set override="false">
<add-preregistration>
<user-id>test</user-id>
 <preregistration-code>1234zxcvb</preregistration-code>
 <domaincode>192168001095</domaincode>
<result>false</result>
<result-message>null</result-message>
</add-preregistration>
</add-preregistration-set>
</data>
</transaction>

In:

<transaction>
 <type>11</type>
<data>
<add-preregistration-set override="false">
<add-preregistration>
<user-id>test</user-id>
<preregistration-code>1234zxcvb</preregistration-code>
<domaincode>192168001095</domaincode>
<result>true</result>
<result-message>Pre-Registration added.</result-message>
</add-preregistration>
</add-preregistration-set>
</data>
</transaction>



 

Copyright © WiKID Systems, Inc. 2024 | Two-factor Authentication