Create a study role group for a study
post
/ec-auth-svc/rest/v1.0/studyroles/{studyId}
Creates a new study role group for a study.
Request
Path Parameters
Query Parameters
-
localize: boolean
Localize auth entitiesDefault Value:
false
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
reason: string
Minimum Length:
0
Maximum Length:255
-
roleList(required): array
roleList
-
studyRoleCreationType: string
-
studyRoleDesc: string
Minimum Length:
0
Maximum Length:500
-
studyRoleName(required): string
Minimum Length:
0
Maximum Length:100
-
studyRoleStatus: string
-
studyRoleType(required): string
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : schema
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
reason: string
Minimum Length:
0
Maximum Length:255
-
roleList(required): array
roleList
-
studyRoleCreationType: string
-
studyRoleDesc: string
Minimum Length:
0
Maximum Length:500
-
studyRoleId(required): string
(uuid)
-
studyRoleName(required): string
Minimum Length:
0
Maximum Length:100
-
studyRoleType(required): string
400 Response
Bad request
Root Schema : schema
Type:
Show Source
object
-
allowedMethods: array
allowedMethods
Unique Items Required:
true
-
cookies: object
cookies
Additional Properties Allowed: additionalProperties
-
date: string
(date-time)
-
entity: object
entity
-
entityTag: object
entityTag
-
headers: object
headers
Additional Properties Allowed: additionalProperties
-
language: object
language
-
lastModified: string
(date-time)
-
length: integer
(int32)
-
links: array
links
Unique Items Required:
true
-
location: string
(uri)
-
mediaType: object
mediaType
-
metadata: object
metadata
Additional Properties Allowed: additionalProperties
-
status: integer
(int32)
-
statusInfo: object
statusInfo
-
stringHeaders: object
stringHeaders
Additional Properties Allowed: additionalProperties
Nested Schema : entity
Type:
object
Nested Schema : language
Type:
Show Source
object
-
country: string
-
displayCountry: string
-
displayLanguage: string
-
displayName: string
-
displayScript: string
-
displayVariant: string
-
extensionKeys: array
extensionKeys
Unique Items Required:
true
-
iso3Country: string
-
iso3Language: string
-
language: string
-
script: string
-
unicodeLocaleAttributes: array
unicodeLocaleAttributes
Unique Items Required:
true
-
unicodeLocaleKeys: array
unicodeLocaleKeys
Unique Items Required:
true
-
variant: string
Nested Schema : mediaType
Type:
Show Source
object
-
parameters: object
parameters
Additional Properties Allowed: additionalProperties
-
subtype: string
-
type: string
-
wildcardSubtype: boolean
-
wildcardType: boolean
Nested Schema : statusInfo
Type:
Show Source
object
-
family: string
Allowed Values:
[ "INFORMATIONAL", "SUCCESSFUL", "REDIRECTION", "CLIENT_ERROR", "SERVER_ERROR", "OTHER" ]
-
reasonPhrase: string
-
statusCode: integer
(int32)
Nested Schema : items
Type:
object
Nested Schema : items
Type:
Show Source
object
-
params: object
params
Additional Properties Allowed: additionalProperties
-
rel: string
-
rels: array
rels
-
title: string
-
type: string
-
uri: string
(uri)
-
uriBuilder: object
uriBuilder
Nested Schema : uriBuilder
Type:
object
Nested Schema : items
Type:
object