Service: ContactAuthenticationPublicService

Version: 2_21 (other versions, change log) Latest stable version. Please base all your developments on this one.

SOAP Demo endpoint: https://secutix.ws.secutix.com/tnco/external-remoting/com.secutix.service.contact.v2_21.ContactAuthenticationPublicService.webservice?wsdl

REST Demo endpoint (only POST): https://secutix.ws.secutix.com/tnco/backend-apis/contactAuthenticationPublicService/v2_21/{methodName} Replace {methodName} for the desired method name as shown below.

To get the endpoint for your own institution, replace "secutix" (just after https://) in the url by your own institution code.

For further documentation and examples, please check in Platform Website.

Methods:

authenticate

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method is used to authenticate a contact or an operator (if attributes operatorLogin = true) based on his login and password and more attributes available from ContactAuthenticationData.

Authentication can be based either on login+password, either on a anterior authentication having generated a unique identifier rememberMe.

During a login/password authentication, boolean remmemberMe allows to decide wether such a token must be generated. A rememberMe token is valid during one month max.

If authentication is done through a token, a NEW token + identifier are generated, invalidating the other ones.

This method takes into account parametrization of point of sales. In case of B2B sales, it checks wether the contact is authorized to log on the given point of sales.

Parameters

contactAuthenticationDataContactAuthenticationData     

ContactAuthenticationData
contactNumberString (20)     
contactTypeScope(INDIVIDUAL|STRUCTURE|
ANY)
     
guestLoginboolean     
identificationString     
identityProviderString     
ignoreGuestLoginCheckboolean     
loginString     
operatorLoginboolean     
passwordString     
pointOfSalesIdLong     
providerUserReferenceString     
rememberMeboolean     
socialLoginboolean     
structureContactNumberString (20)     
targetContactNumberString (20)     
uniqueTokenString     

Return value

ContactAuthenticationResult
contactNumberString (20)     
identificationString     
uniqueTokenString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

changePassword

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method allows to modify the current password of a contact identified by its contact number.

Parameters

contactNumberString (20)number of the contact to alter its password; mandatory.
currentPasswordStringcurrent contact password; mandatory;
newPasswordStringnew password if the existing password match; mandatory.

Return value

WebMethodResult
requestIdInteger     
statusCodeString (8)     
statusDetailString     

listAuthorizedPOS

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method can accept two different kind of values for the parameter contactNumber:

If a contact number is passed (case 1.), it must be the one of a relay contact or the public contact number of a structure. In that case, the method will return the list of point of sales explicitly associated to those contacts.
If an email address is passed (case 2.), the method will implicitly list all contacts having this email address, and it will list all point of sales associated to those contacts in case of relays and structures, and all public point of sales if the contact is a public individual.

Parameters

contactNumberString (20)- a contatc number or an email address. *

Return value

ListAuthorizedPOSResult
pointOfSalesList of PosSummary     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

PosSummary
pointOfSalesIdLong     
urlString (255)     

recoverPassword

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method allows a contact identified by the given email address to request a new randomly generated password for authentication. The old password is automatically invalidated.

Parameters

emailStringMandatory, email of the contact
contactNumberString (20)Only mandatory and to be considered for relay contacts.(STX-5744) Since the email is not unique and this function can used for individual contact and structure contact, we add a new parameter contactNumber to help identify the right contact to modify.
contactTypeScope(INDIVIDUAL|STRUCTURE|
ANY)
     

Return value

PasswordRecoveryResult
emailString     
requestIdInteger     
statusCodeString (8)     
statusDetailString