Create a User Account
post
/api/user
Create a new Lobby user account. Additionally, you can create and link Aconex accounts to the new Lobby account.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
aconexUsers: array
aconexUsers
The fields required to create an Aconex user account.
-
lobbyUser: object
CreateLobbyUserRequest
The fields required to create a Lobby user account.
Nested Schema : aconexUsers
Type:
array
The fields required to create an Aconex user account.
Show Source
-
Array of:
object CreateAconexUserRequest
The fields required to create an Aconex user account.
Nested Schema : CreateLobbyUserRequest
Type:
object
The fields required to create a Lobby user account.
Show Source
-
emailAddress(required): string
(String)
The email address for the Lobby and Aconex user. This will also server as the Lobby username.
-
firstName(required): string
(String)
The first name for the new Lobby user.
-
language(required): string
(String)
The language to use when sending emails from Lobby and Aconex.
-
lastName(required): string
(String)
The last name for the new Lobby user.
-
lobbyOrganizationId(required): integer
(int64)
The organization id where the Lobby user will be created. Known as the user's Home Organization.
-
middleName: string
(String)
The middle name for the new Lobby user.
-
setPassword(required): boolean
(boolean)
Determines if the new Lobby user should get an email to set a password. True to send an email. False to not send an email.
Nested Schema : CreateAconexUserRequest
Type:
object
The fields required to create an Aconex user account.
Show Source
-
aconexOrganizationId(required): integer
(int64)
The Aconex organization id where the new user needs to be created.
-
appInstanceId(required): integer
(int64)
The Lobby application instance id where the Aconex user will be created.
-
projectIds: array
projectIds
The list of Aconex project ids that the new Aconex user should be invited to.
Nested Schema : projectIds
Type:
array
The list of Aconex project ids that the new Aconex user should be invited to.
Show Source
-
Array of:
string(Array)
The list of Aconex project ids that the new Aconex user should be invited to.
Response
Supported Media Types
- application/json
200 Response
Successful operation.
Root Schema : CreateUserResponse
Type:
Show Source
object
-
aconexUser: array
aconexUser
The fields for the newly created Aconex user account.
-
lobbyUser: object
CreateLobbyUserResponse
The fields for the newly created Lobby user account.
Nested Schema : aconexUser
Type:
array
The fields for the newly created Aconex user account.
Show Source
-
Array of:
object CreateAconexUserResponse
The fields for the newly created Aconex user account.
Nested Schema : CreateLobbyUserResponse
Type:
object
The fields for the newly created Lobby user account.
Show Source
-
displayName: string
(String)
The first, middle, and last name for the newly created Lobby user account.
-
emailAddress: string
(String)
The email address for the newly created Lobby user account. This is also the Lobby username.
-
firstName: string
(String)
The first name for the newly created Lobby user account.
-
lastName: string
(String)
The last name for the newly created Lobby user account.
-
middleName: string
(String)
The middle name for the newly created Lobby user account.
-
organizationId: integer
(int64)
The Lobby organization where the newly created Lobby user account exists. Known as the user's Home Organization.
Nested Schema : CreateAconexUserResponse
Type:
object
The fields for the newly created Aconex user account.
Show Source
-
accountLinked: boolean
(boolean)
Denotes if the Aconex account was linked to the Lobby account.
-
aconexOrganizationId: integer
(int64)
The organization id of the Aconex organization.
-
appInstanceId: integer
(int64)
The application instance where the linked Aconex account resides.
-
errorDescription: string
(string)
Will display any issues that occurred during the user creation process.
-
hasLinkedAccounts: boolean
(boolean)
Denotes if there are any linked accounts from the organization for the requested user.
-
location: string
(String)
The city, state, and country of the lobby organization.
-
projectId: array
projectId
The list of Aconex projects each new aconex user account is invited to.
-
region: string
(String)
The name of the region the application instance belongs.
-
userId: string
(string)
The unique identifier for the Aconex user account.
-
userName: string
(string)
The username for the newly create Aconex user account.
Nested Schema : projectId
Type:
array
The list of Aconex projects each new aconex user account is invited to.
Show Source
-
Array of:
string(Array)
The list of Aconex projects each new aconex user account is invited to.
400 Response
One or more required fields are missing.
401 Response
You do not have privileges to perform this action.
500 Response
Unable to create user account.