Preferred language of the user (will be set in the portal)
teams
will be ignored
array
Team list of the user
team
will be ignored
object
Information about an user's team (See the team service)
projects
will be ignored
array
Project list of the user
project
will be ignored
object
Information about an user's project (See the project service)
PUT
Update information about a specified user. Please remember that this service can be used only by the shop/portal (secured using the application_id of portal)
URL: https://api-stage.bimplus.net/v2/user/photo OR https://api-stage.bimplus.net/v2/user/photo?api-token=token (If the client cannot use the token in the header request)
Example: https://api-stage.bimplus.net/v2/user/photo OR https://api-stage.bimplus.net/v2/user/photo?api-token=9c1874a62c974dcfa75e0132c423a088
The photo could also be downloaded by using the the property of "photo"(which is a url) in the v2/user json response.
GET
Download the photo of the user. The token can be also provided as the query string for downloading the attachment( If the client cannot use the token in the header request)
Recipient user_id (i.e the user who has triggered the forgot password action or the user who will be re-invited to join the team)
creator_user_id
optional
string(guid)
This will be used only for the re-send invitation case to identify the user who has sent the invitation.
POST
This API is used for two purposes. It can be used if the user has forgot the password(in this case, the creator_user_id parameter will be ignored) This API is also used for re-inviting an user to join his team/project where "creator_user_id" is the id of the user who sent the invitation. In both the cases, the recipient will get an email with the link(eg: <url>#/forgot_password?email=<email>&cross_token=xxx&forgot_password) which will take the user to "Forgot Password" page or to the "User Activation/Registration"(eg: <url>#/activate?email=<email>&cross_token=xxx&accept_invitation) page. The validity of the cross-token is different on each case. For forgot password, the token is 1 day valid & for the invitation it is 1 week valid. Please note that, if the user has not confirmed the invitation then subsequent invitations will be sent (1 per week). After a month, unaccepted user invitation will expire.