Creating a WebLogin using REST - can password be set?

Our organisation is building a mobile app where users will be able to log in or create a new account.  We want to manage these accounts with Tessitura WebLogins to maintain single-sign-on ability with our main website that is integrated with Tessitura.

As the REST API is the way of the future, I am looking at the /CRM/WebLogins/  POST endpoint for the creation of a new WebLogin.  

(Sample request from the docs for reference:) 

<WebLogin>
  <Constituent>
    <Id>2147483647</Id>
  </Constituent>
  <ConstituentUpdateDate>1999-05-31T11:20:00</ConstituentUpdateDate>
  <CreateLocation>String content</CreateLocation>
  <CreatedBy>String content</CreatedBy>
  <CreatedDateTime>1999-05-31T11:20:00</CreatedDateTime>
  <EditIndicator>true</EditIndicator>
  <Email>
    <Id>2147483647</Id>
  </Email>
  <FailedAttempts>2147483647</FailedAttempts>
  <Id>2147483647</Id>
  <Inactive>true</Inactive>
  <LastLoginDate>1999-05-31T11:20:00</LastLoginDate>
  <LockedDate>1999-05-31T11:20:00</LockedDate>
  <Login>String content</Login>
  <LoginType>
    <Description>String content</Description>
    <Id>2147483647</Id>
    <Inactive>true</Inactive>
  </LoginType>
  <PrimaryIndicator>true</PrimaryIndicator>
  <TemporaryIndicator>true</TemporaryIndicator>
  <UpdatedBy>String content</UpdatedBy>
  <UpdatedDateTime>1999-05-31T11:20:00</UpdatedDateTime>
</WebLogin>

My understanding is that I will have to first create a Constituent and an Electronic Address to populate those Id fields with those of the created records, but my main confusion is that there is no field to provide a password. 

Can somebody please:

1. Advise whether there is the ability to set the password for a new WebLogin, or if we should be using a different API endpoint.

2. Or offer more general advice as to how to allow our end-users the ability to register on our web-app and have a WebLogin record created with their chosen password.

3. We also use the user's email address for their username, so would the 'Login' field also be their email address?

  • As of v12.5, this resource/URI (POST to CRM/WebLogins) is only used for creation of logins with a temporary password (system generated). 

     

    Until this capability is brought to the REST API in a later version, look to either CreateLogin or UpdateLogin methods in the existing SOAP/Tessitura.asmx.

     

    -Ryan Creps

     

    From: Tessitura Web Forum [mailto:forums-tessitura-web@tessituranetwork.com] On Behalf Of Rowan McNaught
    Sent: Monday, October 26, 2015 9:28 PM
    To: Ryan Creps <rcreps@tessituranetwork.com>
    Subject: [Tessitura Web Forum] Creating a WebLogin using REST - can password be set?

     

    Our organisation is building a mobile app where users will be able to log in or create a new account.  We want to manage these accounts with Tessitura WebLogins to maintain single-sign-on ability with our main website that is integrated with Tessitura.

    As the REST API is the way of the future, I am looking at the /CRM/WebLogins/  POST endpoint for the creation of a new WebLogin.  

    (Sample request from the docs for reference:) 

    <WebLogin>
       <Constituent>
         <Id>2147483647</Id>
       </Constituent>
       <ConstituentUpdateDate>1999-05-31T11:20:00</ConstituentUpdateDate>
       <CreateLocation>String content</CreateLocation>
       <CreatedBy>String content</CreatedBy>
       <CreatedDateTime>1999-05-31T11:20:00</CreatedDateTime>
       <EditIndicator>true</EditIndicator>
       <Email>
         <Id>2147483647</Id>
       </Email>
       <FailedAttempts>2147483647</FailedAttempts>
       <Id>2147483647</Id>
       <Inactive>true</Inactive>
       <LastLoginDate>1999-05-31T11:20:00</LastLoginDate>
       <LockedDate>1999-05-31T11:20:00</LockedDate>
       <Login>String content</Login>
       <LoginType>
         <Description>String content</Description>
         <Id>2147483647</Id>
         <Inactive>true</Inactive>
       </LoginType>
       <PrimaryIndicator>true</PrimaryIndicator>
       <TemporaryIndicator>true</TemporaryIndicator>
       <UpdatedBy>String content</UpdatedBy>
       <UpdatedDateTime>1999-05-31T11:20:00</UpdatedDateTime>
     </WebLogin>

    My understanding is that I will have to first create a Constituent and an Electronic Address to populate those Id fields with those of the created records, but my main confusion is that there is no field to provide a password. 

    Can somebody please:

    1. Advise whether there is the ability to set the password for a new WebLogin, or if we should be using a different API endpoint.

    2. Or offer more general advice as to how to allow our end-users the ability to register on our web-app and have a WebLogin record created with their chosen password.

    3. We also use the user's email address for their username, so would the 'Login' field also be their email address?




    You were sent this email automatically because you subscribed to the Tessitura Web forum. You may reply to this message to post to the Web forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!

  • Thanks Ryan.  It is reassuring to know that the ability to create a WebLogin with a set password will remain, and will eventually be a part of the REST API.

    I will set that portion of our app to use the SOAP endpoint in the meantime.