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 atleast 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
Title:
ErrorResponseData
Error Response Details Information -
result: object
result
-
status: string
Nested Schema : ErrorResponseData
Type:
object
Title:
ErrorResponseData
Error Response Details Information
Show Source
-
details: object
Object
Title:
Object
Object 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:
object
Nested Schema : Object
Type:
object
Title:
Object
Object with error details information.