v1.0
get
/ec-site-svc/rest/v1.0/tenantsite/{associationType}/associations
Get all valid associations by Association Type. Associations are marked valid. if both associated entities are in active status and have at least one common mode between them.
Request
Path Parameters
-
associationType(required): string
Association type in the request. Allowed values: INVESTIGATOR_INSTITUTION (investigator linked to institution), DEPOT_INSTITUTION (depot linked to institution), LAB_INSTITUTION (lab linked to institution).Example:
INVESTIGATOR_INSTITUTION
Query Parameters
-
limit: integer(int32)
Maximum number of rows to return. Only non-negative integers are accepted.
-
offset: integer(int32)
Zero-based row index to start pagination. Only non-negative integers are accepted.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation.
Root Schema : SDFsPaginatedResponse v2.0
Type:
objectTitle:
SDFsPaginatedResponse v2.0Paginated response wrapper used by CTMS/SDF endpoints.
Show Source
-
count: integer
(int32)
Title:
SDFsPaginatedResponse v2.0Number of rows returned in this page.Example:25 -
hasMore: boolean
Title:
SDFsPaginatedResponse v2.0Flag indicating whether more pages of data are available.Example:true -
limit: integer
(int32)
Title:
SDFsPaginatedResponse v2.0Maximum number of entries requested per page.Example:100 -
offset: integer
(int32)
Title:
SDFsPaginatedResponse v2.0Pagination offset used to compute the returned subset.Example:0 -
resultData: object
SDFsPaginatedResponse v2.0
Title:
SDFsPaginatedResponse v2.0Payload of the paginated response. -
totalResults: integer
(int32)
Title:
SDFsPaginatedResponse v2.0Total number of rows matching the paginated request.Example:250
Nested Schema : SDFsPaginatedResponse v2.0
Type:
objectTitle:
SDFsPaginatedResponse v2.0Payload of the paginated response.
Example:
{
}Examples
400 Response
Returned when one or more path parameters, query parameters, or request-body values fail endpoint validation.
Root Schema : SDFResponse
Type:
objectTitle:
SDFResponseWrapper for service responses containing result or error data.
Show Source
-
errorData: object
ErrorResponseData
Title:
ErrorResponseDataError Response Details Information -
result: object
result
The result object for successful requests. Type depends on the API operation.
-
status: string
Status of the response, either 'success' or an error indication.Example:
success
Nested Schema : ErrorResponseData
Type:
objectTitle:
ErrorResponseDataError Response Details Information
Show Source
-
details: object
Object
Title:
ObjectObject with error details information. -
errorCode: string
Error code which is stored in ErrorCode enum. Example : C1-003Example:
C1-003 -
errorMessage: string
Error message which is stored in service property file. Example : Cannot modify object after a study version has been approvedExample:
Cannot modify object after a study version has been approved
Nested Schema : result
Type:
objectThe result object for successful requests. Type depends on the API operation.
Example:
{
"hasMore":"true",
"totalResults":5,
"count":5,
"data":[
]
}Nested Schema : Object
Type:
objectTitle:
ObjectObject with error details information.
Example:
{
"field":"studyId",
"reason":"Invalid value"
}Examples