Get user details
get
/scim/{trialname}/2.0/users/{username}
Get user details from the username.
Request
Supported Media Types
- application/json
- text/json
- application/xml
- text/xml
- application/x-www-form-urlencoded
Path Parameters
-
trialname(required): string
Name of the InForm study.
-
username(required): string
username of the user.
Response
Supported Media Types
- application/json
- text/json
- application/xml
- text/xml
200 Response
user details
Root Schema : User
Type:
Show Source
object
-
active:
boolean
Default value is true. Use PATCH with value true to reinstate. All other actions ignore this attribute.
-
addresses(required):
object addresses
A physical mailing address for this user.
-
displayName(required):
string
Maximum Length:
200
Pattern:.*
The name of the User, suitable for display to end users. -
emails(required):
array emails
Email address for the user. Local-part of the email address has a 63 character size limit.
-
groups:
array groups
A list of groups to which the user belongs.
-
locale(required):
locale
-
name(required):
object FullName
-
phoneNumbers:
array phoneNumbers
Contact numbers for the user. The specific format for the contact number is user determined.
-
preferredLanguage(required):
preferredLanguage
-
profileUrl:
string
Maximum Length:
255
Pattern:.*
A fully qualified URL pointing to a page representing the user's online picture. -
roles(required):
string
The rights group for the user.
-
urn:umt:extension:schema:user(required):
object umtUser
-
userName(required):
string
Maximum Length:
63
Pattern:([A-Z]|[a-z]|[0-9]|-|_|[.]|[@]|)+
Unique identifier for the User. Each User must include a non-empty userName value. This identifier must also be unique for a given study. -
userType(required):
string
Allowed Values:
[ "Site", "Sponsor" ]
Should be a sponsor or a site user.
Nested Schema : addresses
Type:
object
A physical mailing address for this user.
Match All
Show Source
Nested Schema : emails
Type:
array
Email address for the user. Local-part of the email address has a 63 character size limit.
Show Source
Nested Schema : locale
Match All
Show Source
-
string
Allowed Values:
[ "English (United States)", "Japanese (Japan)" ]
-
product locale for the user.
Nested Schema : FullName
Type:
Show Source
object
-
familyName(required):
string
Maximum Length:
127
Pattern:([^~`!@#$%^&*()_\\+=\\{\\}\\[\\]\\|\\\\\\:\\;\"\'\\<\\,\\>\\.\\?\\/0-9\\t])+
The family name of the user, or last name in most Western languages. -
formatted:
string
Maximum Length:
200
Pattern:.*
Description for the user. -
givenName(required):
string
Maximum Length:
127
Pattern:([^~`!@#$%^&*()_\\+=\\{\\}\\[\\]\\|\\\\\\:\\;\"\'\\<\\,\\>\\.\\?\\/0-9\\t])+
The given name of the user, or first name in most Western languages. -
honorificPrefix:
string
Maximum Length:
127
Pattern:([A-Z]|[a-z]| |_|[.]|[,]|)*
The honorific prefix or prefixes of the user, or title in most Western languages (for example, 'Ms.').
Nested Schema : phoneNumbers
Type:
array
Contact numbers for the user. The specific format for the contact number is user determined.
Show Source
Nested Schema : preferredLanguage
Match All
Show Source
-
string
Allowed Values:
[ "English (United States)", "Japanese (Japan)" ]
-
preferred study locale for the user.
Nested Schema : umtUser
Type:
Show Source
object
-
DateFormat(required):
DateFormat
-
DoTechnicalAssessment:
boolean
True if the user assessment needs to be enabled. Defaults to false.
-
Reason(required):
string
Maximum Length:
255
Reason for the change. -
SiteMnemonic(required):
array SiteMnemonic
Sites the user is assigned to. Use the keyword ALL to include all the sites. This field is required when re-activating the user.
-
TrainedDate:
string(date dd-MMM-yyyy)
Date the user was trained on.
-
TrainingStatus:
string
Allowed Values:
[ "TRAINED", "ENROLLED", "NOT TRAINED" ]
Determines if the user should be marked as trained or not.
Nested Schema : address
Type:
Show Source
object
-
country(required):
string
Maximum Length:
255
Pattern:([a-zA-Z0-9]| | )+
The country name component. -
formatted:
string
Maximum Length:
255
Pattern:([A-Z]|[a-z]|[0-9]|[,]|-|_|[.]| |)+
Any additional line for the address after 'streetAddress'. This is labeled as 'Address2' in the Oracle User Management Tool application. -
locality:
string
Maximum Length:
255
Pattern:([a-zA-Z0-9]| | )+
The city or locality component of the address. -
postalCode:
string
Maximum Length:
16
The zip code or postal code component. -
region:
string
Maximum Length:
255
Pattern:([A-Z]|[a-z]| | )*
The state or region component. -
streetAddress(required):
string
Maximum Length:
255
Pattern:([A-Z]|[a-z]|[0-9]|[,]|-|_|[.]| |)+
The full street address component, which may include building number, street name, and P.O. box.
Nested Schema : email
Type:
Show Source
object
-
value(required):
string
Maximum Length:
255
Pattern:^['a-zA-Z0-9_-]+(?:\.['a-zA-Z0-9_-]+)*@((?!-)[A-Za-z0-9-]*[A-Za-z0-9])+(\.(?!-)[A-Za-z0-9-]*[A-Za-z0-9])*(\.[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$
Nested Schema : groups
Type:
Show Source
object
-
type(required):
string
Allowed Values:
[ "query", "signature", "manageruser", "reportgroup" ]
-
value(required):
string
The identifier of the User's group.
Nested Schema : ContactNumber
Type:
Show Source
object
-
type(required):
string
Allowed Values:
[ "primary", "fax", "alternate", "pager" ]
-
value(required):
string
Maximum Length:
25
Pattern:([A-Z]|[a-z]|[0-9]|[,]|-|_|[.]| |)+
Nested Schema : DateFormat
Match All
Show Source
-
string
Allowed Values:
[ "Day / Month / Year", "Month / Day / Year", "Year / Month / Day" ]
DateFormat to be used.
Nested Schema : SiteMnemonic
Type:
array
Sites the user is assigned to. Use the keyword ALL to include all the sites. This field is required when re-activating the user.
Show Source
401 Response
Unauthorized. An invalid token or study name was provided
Root Schema : schema
Type:
object
500 Response
Root Schema : schema
Type:
Show Source
object
-
Message:
string
Default Value:
Error messages defined in the model.
- Unauthorized - An invalid token or study name was provided.
- Username not found - username is incorrect.
- Unknown error - Internal processing error. Please contact support.