Get facilities

get

/ec-site-svc/rest/v1.0/facilities/{InstitutionId}

Retrieves facilities or departments for an institution.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation.
Body ()
Root Schema : FacilityModelResponseList
Type: object
Show Source
Nested Schema : facilityModels
Type: array
Show Source
Nested Schema : FacilityModelResponse
Type: object
Show Source
Nested Schema : FacilityDto
Type: object
Show Source
Nested Schema : properties
Type: array
Unique Items Required: true
Show Source
Nested Schema : PropertyDto
Type: object
CTMS Property DTO
Show Source
  • Minimum Length: 0
    Maximum Length: 2048
  • Unique identifier (UUID, 32-character uppercase hexadecimal string) of the entity for which the property applies.
    Example: 2A5E92F1C2D54DDA9F1C0A9E7B3C2D1A
  • Minimum Length: 0
    Maximum Length: 50
    Type of the entity for which the property applies. Type can have value Organization,Contact,Facility,Institution,Investigator,Lab or Depot
  • Minimum Length: 0
    Maximum Length: 100
    Unique key name of the property.
    Example: LabId
  • Minimum Length: 0
    Maximum Length: 500
    Value of the property.
    Example: 2A5E92F1C2D54DDA9F1C0A9E7B3C2D1A
  • Minimum Length: 0
    Maximum Length: 255

400 Response

Bad request.
Body ()
Root Schema : FacilityModelResponseList
Type: object
Show Source
Nested Schema : facilityModels
Type: array
Show Source
Nested Schema : FacilityModelResponse
Type: object
Show Source
Nested Schema : FacilityDto
Type: object
Show Source
Nested Schema : properties
Type: array
Unique Items Required: true
Show Source
Nested Schema : PropertyDto
Type: object
CTMS Property DTO
Show Source
  • Minimum Length: 0
    Maximum Length: 2048
  • Unique identifier (UUID, 32-character uppercase hexadecimal string) of the entity for which the property applies.
    Example: 2A5E92F1C2D54DDA9F1C0A9E7B3C2D1A
  • Minimum Length: 0
    Maximum Length: 50
    Type of the entity for which the property applies. Type can have value Organization,Contact,Facility,Institution,Investigator,Lab or Depot
  • Minimum Length: 0
    Maximum Length: 100
    Unique key name of the property.
    Example: LabId
  • Minimum Length: 0
    Maximum Length: 500
    Value of the property.
    Example: 2A5E92F1C2D54DDA9F1C0A9E7B3C2D1A
  • Minimum Length: 0
    Maximum Length: 255
Back to Top