Get all valid associations by Association Type
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 of entities in request. Allowed values are INVESTIGATOR_INSTITUTION, DEPOT_INSTITUTION, LAB_INSTITUTION
Query Parameters
-
limit: integer(int32)
Number of rows to return.
-
offset: integer(int32)
Row number to start from.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation.
Root Schema : ValidTenantSitesDetailsResponse
Type:
Show Source
object-
associationId: string
(uuid)
-
institutionTimezone: string
-
modes: array
modes
-
tenantFirstEntityId: string
(uuid)
-
tenantFirstEntityName: string
-
tenantFirstEntityPrimaryCity: string
-
tenantFirstEntityPrimaryCountry: string
(uuid)
-
tenantFirstEntityPrimaryState: string
(uuid)
-
tenantSecondEntityId: string
(uuid)
-
tenantSecondEntityName: string
400 Response
Bad request.
Root Schema : SDFResponse
Type:
Show Source
object-
errorData: object
ErrorResponseData
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
-
result: object
result
-
status: string
Nested Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: string
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.Example:
User role is missing required permission REPORTING_VIEW. Field: userId -
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type:
object