v1.0

get

/ec-site-svc/rest/v1.0/tenantsite/{entityType}/{entityId}/{associationType}/associations

Retrieves a list of contacts and organization associations by Association ID.

Request

Path Parameters
  • 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
  • Institution, Investigator, Lab or Depot ID.
    Example:
    C36A3197FDEE433FB5547EE83DE99E4B
  • Entity type. Allowed values: INSTITUTION (organization entity), INVESTIGATOR (investigator entity), LAB (study lab entity), DEPOT (study depot entity).
    Example:
    INSTITUTION
Query Parameters
  • Maximum number of rows to return. Only non-negative integers are accepted.
  • Mode identifier (UUID) for contact or organization mode mapping.
  • Filters contact, institution, lab and depots based on name.
  • Zero-based row index to start pagination. Only non-negative integers are accepted.
  • Optional query parameter. Sort direction for returned rows. Allowed values: asc, desc, ASC, DESC.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation.
Body ()
Root Schema : TENANT_SITES_DETAILS_RESPONSE_TITLE
Type: object
Title: TENANT_SITES_DETAILS_RESPONSE_TITLE
TENANT_SITES_DETAILS_RESPONSE_DESC
Show Source
Nested Schema : modes
Type: array
Show Source
Example:
[
    "B1B8327AFAA6412287106192AB5984EF"
]
Nested Schema : REASON_FOR_INVALID_ASSOCIATION_TITLE
Type: object
Title: REASON_FOR_INVALID_ASSOCIATION_TITLE
REASON_FOR_INVALID_ASSOCIATION_DESC
Show Source
  • Title: REASON_FOR_INVALID_ASSOCIATION_CONTEXT_TITLE
    REASON_FOR_INVALID_ASSOCIATION_CONTEXT_DESC
    Example: entityType
  • Title: REASON_FOR_INVALID_ASSOCIATION_MESSAGE_TITLE
    REASON_FOR_INVALID_ASSOCIATION_MESSAGE_DESC
    Example: Entity not valid for transfer
Example:
Invalid association for selected entities.
Examples

400 Response

Returned when one or more path parameters, query parameters, or request-body values fail endpoint validation.
Body ()
Root Schema : SDFResponse
Type: object
Title: SDFResponse
Wrapper for service responses containing result or error data.
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
The result object for successful requests. Type depends on the API operation.
Example:
{
    "hasMore":"true",
    "totalResults":5,
    "count":5,
    "data":[
    ]
}
Nested Schema : details
Type: object
Examples

Back to Top