Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleResult
collapsetrue
{
"data":{
"available":false,
"takenBy":"podb"
},
"statusFact":{
"success":true
}
}

 

Create User Name

Current Implementation

This API method can be used to create user name from first name first letter and last name. If created user name already exists in users table then add number to user name.

eg. psmith, psmith1

Parameters

Base URL: /createUserName
Parameters:

NameTypeMandatoryDescription
 firstNameString Yes First Name of user. 
lastNameStringYesLast Name of user.

 

API Sample

url 'http://localhost:8080/PresentationServices/createUserName?firstName=paul&lastName=paul

Code Block
languagejs
titleResult
collapsetrue
 {"data":{"lastName":"Poda","userName":"vPoda1","firstName":"vidant"},"statusFact":{"success":true}}