Global Users

Global user refers to a user account or profile that has access to all functionalities, features, or resources within the system.

In Su, Global users:

  1. Are defined as users who can access all the properties and can view details of properties as per their convenience.

  2. Allow partner to create multiple users for a property to access Su extranet.

  3. Assign specific properties to the user.

Endpoint

POST


Attributes

Name string (Required)

This field specifies the name of the user.


Email email (Required)

This field specifies the email id of the user.

circle-info

Valid email address required as reset link is triggered to registered email address.


Phone array (Required)

This field is an array which has multiple fields such as CountryCode and PhoneNumber.


CountryCode string (Required)

Country code of the user’s phone number.


PhoneNumber string (Required)

Phone number of user.


Status string (Required)

Status of the user whether it’s active or inactive.

circle-info

Active status indicates user can access extranet. Inactive remove user's access to SU extranet.


Type string (Required)

Type of the user.

circle-info

There are two types of users:

  • Global

  • Chain


Properties string (Required)

Specifies property(s) to be assigned/linked to global user.

circle-info

Add the property id as the value in the request.

Sample Request


Response

Sample Success Response

Error

This error will occur when 'type' of user is not specified in the request.

Sample Error Response (990)

Error

This error will occur when 'property name' field does not contain any valid property name or is empty in the request.

Sample Error Response (992)

Error

This error will occur when valid Email-ID is not passed in the request.

Sample Error Response (989)

Error

This error will occur when valid country code is not passed or if the field is empty in the request.

Sample Error Response (991)

Error

This error will occur when valid phone/contact number is not passed or if the field is empty in the request.

Sample Error Response (988)

Last updated

Was this helpful?