GeneratePIN

Generates 4 digits PIN that acts as a substitute to SQL credentials – PIN will be valid for the same INSTALLGUID subsequent LoginWithPIN calls, until the PIN is updated either by GeneratePIN or UpdatePIN.

InputObject (XML)

Element

SQL Data Type

Mandatory

Description

VendorTokenGUID

GUID

Yes

Specific GUID that Synergetic will give the third party app to validate them upon every web service request.

VendorPassword

Varchar(100)

Yes

Password provided to the vendor by CDA.

USERNAME

Varchar

Yes

Windows or SQL login (depending on how the web service is set)

PASSWORD

Varchar

Yes

Windows or SQL login (depending on how the web service is set)

INSTALLGUID

Varchar

Yes

Device's unique identifier.


Sample Input


<InputXML>
<VendorTokenGUID>3FC2ABA9-8F37-4CC9-934C-6ABCCA9F44B7</VendorTokenGUID>
<VendorPassword>s3cr3t</VendorPassword>
<USERNAME>domain\johndoe</USERNAME>
<PASSWORD>j0hnd0e</PASSWORD>
<INSTALLGUID>AFFC64BD-43CA-4CDB-A1C0-52AF70021493</INSTALLGUID>
</InputXML>

OutputObject (XML)

<XMLOutput><DocumentElement> <result PIN="4908" /> </DocumentElement></XMLOutput>

See Also

  • LoginUser
  • LoginWithPIN
  • UpdatePIN